6 #include <phparameter/PHParameters.h>
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>
44 , m_Detector(detector)
45 , m_Params(parameters)
46 , m_HitContainer(nullptr)
48 , m_SaveShower(nullptr)
49 , m_SaveVolPre(nullptr)
50 , m_SaveVolPost(nullptr)
52 , m_SavePreStepStatus(-1)
53 , m_SavePostStepStatus(-1)
54 , m_ActiveFlag(m_Params->get_int_param(
"active"))
55 , m_BlackHoleFlag(m_Params->get_int_param(
"blackhole"))
56 , m_UseG4StepsFlag(m_Params->get_int_param(
"use_g4steps"))
99 bool geantino =
false;
121 cout <<
GetName() <<
": New Hit for " << endl;
127 <<
", current trackid: " << aTrack->
GetTrackID() << endl;
128 cout <<
"phys pre vol: " << volume->
GetName()
169 cout <<
GetName() <<
": hit was not created" << endl;
175 <<
", current trackid: " << aTrack->
GetTrackID() << endl;
176 cout <<
"phys pre vol: " << volume->
GetName()
186 cout <<
"hits do not belong to the same track" << endl;
188 <<
", current trackid: " << aTrack->
GetTrackID()
285 m_HitContainer = findNode::getClass<PHG4HitContainer>(topNode, hitnodename.c_str());
290 std::cout <<
"PHG4BlockSteppingAction::SetTopNode - unable to find " << hitnodename << std::endl;