6 #include <phparameter/PHParameters.h>
20 #include <Geant4/G4ParticleDefinition.hh>
21 #include <Geant4/G4ReferenceCountedHandle.hh>
22 #include <Geant4/G4Step.hh>
23 #include <Geant4/G4StepPoint.hh>
24 #include <Geant4/G4StepStatus.hh>
25 #include <Geant4/G4String.hh>
26 #include <Geant4/G4SystemOfUnits.hh>
27 #include <Geant4/G4ThreeVector.hh>
28 #include <Geant4/G4TouchableHandle.hh>
29 #include <Geant4/G4Track.hh>
30 #include <Geant4/G4TrackStatus.hh>
31 #include <Geant4/G4Types.hh>
32 #include <Geant4/G4VPhysicalVolume.hh>
33 #include <Geant4/G4VTouchable.hh>
34 #include <Geant4/G4VUserTrackInformation.hh>
46 , m_Detector(detector)
47 , m_Params(parameters)
48 , m_IsBlackHoleFlag(m_Params->get_int_param(
"blackhole"))
84 unsigned int layer_id = 99;
98 bool geantino =
false;
124 std::cout <<
GetName() <<
": New Hit for " << std::endl;
130 <<
", current trackid: " << aTrack->
GetTrackID() << std::endl;
131 std::cout <<
"phys pre vol: " << volume->
GetName()
183 std::cout <<
GetName() <<
": hit was not created" << std::endl;
189 <<
", current trackid: " << aTrack->
GetTrackID() << std::endl;
190 std::cout <<
"phys pre vol: " << volume->
GetName()
199 std::cout <<
GetName() <<
": hits do not belong to the same track" << std::endl;
201 <<
", current trackid: " << aTrack->
GetTrackID()
276 if ((rin > 69.0 && rin < 70.125) || (rout > 69.0 && rout < 70.125))
278 std::cout <<
"Added Tpc g4hit with rin, rout = " << rin <<
" " << rout
293 <<
" rav " << (rout + rin) / 2.0
327 std::cout <<
"PHG4TpcSteppingAction::SetTopNode - unable to find " <<
m_HitNodeName << std::endl;
329 if (!m_AbsorberHitContainer)
333 std::cout <<
"PHG4HcalSteppingAction::SetTopNode - unable to find " <<
m_AbsorberNodeName << std::endl;
345 else if (type ==
"G4HIT_ABSORBER")
350 std::cout <<
"Invalid output hit node type " << type << std::endl;