17 #include <Geant4/G4ParticleDefinition.hh>
18 #include <Geant4/G4ReferenceCountedHandle.hh>
19 #include <Geant4/G4Step.hh>
20 #include <Geant4/G4StepPoint.hh>
21 #include <Geant4/G4StepStatus.hh>
22 #include <Geant4/G4String.hh>
23 #include <Geant4/G4SystemOfUnits.hh>
24 #include <Geant4/G4ThreeVector.hh>
25 #include <Geant4/G4TouchableHandle.hh>
26 #include <Geant4/G4Track.hh>
27 #include <Geant4/G4TrackStatus.hh>
28 #include <Geant4/G4Types.hh>
29 #include <Geant4/G4VPhysicalVolume.hh>
30 #include <Geant4/G4VTouchable.hh>
31 #include <Geant4/G4VUserTrackInformation.hh>
43 , m_Detector(detector)
44 , m_HitContainer(nullptr)
46 , m_SaveHitContainer(nullptr)
47 , m_SaveVolPre(nullptr)
48 , m_SaveVolPost(nullptr)
50 , m_SavePreStepStatus(-1)
51 , m_SavePostStepStatus(-1)
88 int layer_id = whichactive - 1;
89 bool geantino =
false;
113 cout <<
GetName() <<
": New Hit for " << endl;
119 <<
", current trackid: " << aTrack->
GetTrackID() << endl;
120 cout <<
"phys pre vol: " << volume->
GetName()
158 cout <<
"implement stuff for whichactive < 0" << endl;
179 cout <<
GetName() <<
": hit was not created" << endl;
185 <<
", current trackid: " << aTrack->
GetTrackID() << endl;
186 cout <<
"phys pre vol: " << volume->
GetName()
195 cout <<
GetName() <<
": hits do not belong to the same track" << endl;
197 <<
", current trackid: " << aTrack->
GetTrackID()
295 m_HitContainer = findNode::getClass<PHG4HitContainer>(topNode, hitnodename);
300 std::cout <<
"G4JLeicVTXSteppingAction::SetTopNode - unable to find " << hitnodename << std::endl;