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>
46 , savehitcontainer(nullptr)
48 , savevolpost(nullptr)
50 , saveprestepstatus(-1)
51 , savepoststepstatus(-1)
88 bool geantino =
false;
104 if (layer_id != whichactive)
106 cout <<
PHWHERE <<
" inconsistency between G4 copy number: "
107 << layer_id <<
" and module id from detector: "
108 << whichactive << endl;
121 cout <<
GetName() <<
": New Hit for " << endl;
127 <<
", current trackid: " << aTrack->
GetTrackID() << endl;
128 cout <<
"phys pre vol: " << volume->
GetName()
167 cout <<
"implement stuff for whichactive < 0" << endl;
188 cout <<
GetName() <<
": hit was not created" << endl;
194 <<
", current trackid: " << aTrack->
GetTrackID() << endl;
195 cout <<
"phys pre vol: " << volume->
GetName()
204 cout <<
GetName() <<
": hits do not belong to the same track" << endl;
206 <<
", current trackid: " << aTrack->
GetTrackID()
304 hits_ = findNode::getClass<PHG4HitContainer>(topNode, hitnodename.c_str());
309 std::cout <<
"PHG4PSTOFSteppingAction::SetTopNode - unable to find " << hitnodename << std::endl;