23 #include <phparameter/PHParameters.h>
38 #include <Geant4/G4ParticleDefinition.hh>
39 #include <Geant4/G4ReferenceCountedHandle.hh>
40 #include <Geant4/G4Step.hh>
41 #include <Geant4/G4StepPoint.hh>
42 #include <Geant4/G4StepStatus.hh>
43 #include <Geant4/G4String.hh>
44 #include <Geant4/G4SystemOfUnits.hh>
45 #include <Geant4/G4ThreeVector.hh>
46 #include <Geant4/G4TouchableHandle.hh>
47 #include <Geant4/G4Track.hh>
48 #include <Geant4/G4TrackStatus.hh>
49 #include <Geant4/G4Types.hh>
50 #include <Geant4/G4VPhysicalVolume.hh>
51 #include <Geant4/G4VTouchable.hh>
52 #include <Geant4/G4VUserTrackInformation.hh>
65 , m_Detector(detector)
66 , m_Params(parameters)
67 , m_HitContainer(nullptr)
69 , m_SaveHitContainer(nullptr)
70 , m_SaveVolPre(nullptr)
71 , m_SaveVolPost(nullptr)
73 , m_SavePreStepStatus(-1)
74 , m_SavePostStepStatus(-1)
75 , m_ActiveFlag(m_Params->get_int_param(
"active"))
76 , m_BlackHoleFlag(m_Params->get_int_param(
"blackhole"))
125 bool geantino =
false;
163 cout <<
GetName() <<
": New Hit for " << endl;
164 cout <<
"prestep status: "
166 <<
", poststep status: "
168 <<
", last pre step status: "
170 <<
", last post step status: "
173 <<
", current trackid: " << aTrack->
GetTrackID() << endl;
174 cout <<
"phys pre vol: " << volume->
GetName()
212 cout <<
"implement stuff for whichactive < 0 (inactive volumes)" << endl;
234 cout <<
GetName() <<
": hit was not created" << endl;
235 cout <<
"prestep status: "
237 <<
", poststep status: "
239 <<
", last pre step status: "
241 <<
", last post step status: "
244 <<
", current trackid: " << aTrack->
GetTrackID() << endl;
245 cout <<
"phys pre vol: " << volume->
GetName()
255 cout <<
GetName() <<
": hits do not belong to the same track" << endl;
257 <<
", current trackid: " << aTrack->
GetTrackID()
351 m_HitContainer = findNode::getClass<PHG4HitContainer>(topNode, hitnodename);
355 std::cout <<
"AllSi_Al_support_SteppingAction::SetTopNode - unable to find "
356 << hitnodename << std::endl;