14 #include <Geant4/G4ParticleDefinition.hh>
15 #include <Geant4/G4ReferenceCountedHandle.hh>
16 #include <Geant4/G4Step.hh>
17 #include <Geant4/G4StepPoint.hh>
18 #include <Geant4/G4StepStatus.hh>
19 #include <Geant4/G4String.hh>
20 #include <Geant4/G4SystemOfUnits.hh>
21 #include <Geant4/G4ThreeVector.hh>
22 #include <Geant4/G4TouchableHandle.hh>
23 #include <Geant4/G4Track.hh>
24 #include <Geant4/G4TrackStatus.hh>
25 #include <Geant4/G4Types.hh>
26 #include <Geant4/G4VTouchable.hh>
27 #include <Geant4/G4VUserTrackInformation.hh>
39 detector_( detector ),
41 absorberhits_(nullptr),
78 bool geantino =
false;
125 hitcontainer =
hits_;
189 string absorbernodename;
202 hits_ = findNode::getClass<PHG4HitContainer>( topNode , hitnodename.c_str() );
203 absorberhits_ = findNode::getClass<PHG4HitContainer>( topNode , absorbernodename.c_str() );
208 std::cout <<
"PHG4CEmcTestBeamSteppingAction::SetTopNode - unable to find " << hitnodename << std::endl;
210 if ( ! absorberhits_)
214 cout <<
"PHG4HcalSteppingAction::SetTopNode - unable to find " << absorbernodename << endl;