6 #include <phparameter/PHParameters.h>
19 #include <Geant4/G4ParticleDefinition.hh>
20 #include <Geant4/G4ReferenceCountedHandle.hh>
21 #include <Geant4/G4Step.hh>
22 #include <Geant4/G4StepPoint.hh>
23 #include <Geant4/G4StepStatus.hh>
24 #include <Geant4/G4String.hh>
25 #include <Geant4/G4SystemOfUnits.hh>
26 #include <Geant4/G4ThreeVector.hh>
27 #include <Geant4/G4TouchableHandle.hh>
28 #include <Geant4/G4Track.hh>
29 #include <Geant4/G4TrackStatus.hh>
30 #include <Geant4/G4Types.hh>
31 #include <Geant4/G4VPhysicalVolume.hh>
32 #include <Geant4/G4VTouchable.hh>
33 #include <Geant4/G4VUserTrackInformation.hh>
46 , m_Detector(detector)
48 , m_AbsorberHits(nullptr)
50 , m_Params(parameters)
51 , m_SaveHitContainer(nullptr)
52 , m_SaveShower(nullptr)
53 , m_SaveVolPre(nullptr)
54 , m_SaveVolPost(nullptr)
56 , m_SavePreStepStatus(-1)
57 , m_SavePostStepStatus(-1)
58 , m_IsActive(m_Params->get_int_param(
"active"))
59 , m_IsBlackHole(m_Params->get_int_param(
"blackhole"))
60 , m_LightScintModel(m_Params->get_int_param(
"light_scint_model"))
101 layer_id = layer_tower.first;
102 tower_id = layer_tower.second;
127 bool geantino =
false;
151 cout <<
GetName() <<
": New Hit for " << endl;
157 <<
", current trackid: " << aTrack->
GetTrackID() << endl;
158 cout <<
"phys pre vol: " << volume->
GetName()
212 cout <<
GetName() <<
": hit was not created" << endl;
218 <<
", current trackid: " << aTrack->
GetTrackID() << endl;
219 cout <<
"phys pre vol: " << volume->
GetName()
228 cout <<
GetName() <<
": hits do not belong to the same track" << endl;
230 <<
", current trackid: " << aTrack->
GetTrackID()
325 string absorbernodename;
338 m_Hits = findNode::getClass<PHG4HitContainer>(topNode, hitnodename.c_str());
339 m_AbsorberHits = findNode::getClass<PHG4HitContainer>(topNode, absorbernodename.c_str());
344 std::cout <<
"PHG4InnerHcalSteppingAction::SetTopNode - unable to find " << hitnodename << std::endl;
350 cout <<
"PHG4HcalSteppingAction::SetTopNode - unable to find " << absorbernodename << endl;