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>
44 , m_Detector(detector)
45 , m_Params(parameters)
46 , m_ActiveFlag(m_Params->get_int_param(
"active"))
47 , m_BlackHoleFlag(m_Params->get_int_param(
"blackhole"))
48 , m_SupportFlag(m_Params->get_int_param(
"supportactive"))
112 bool geantino =
false;
149 std::cout <<
GetName() <<
": New Hit for " << std::endl;
155 <<
", current trackid: " << aTrack->
GetTrackID() << std::endl;
156 std::cout <<
"phys pre vol: " << volume->
GetName()
218 std::cout <<
GetName() <<
": hit was not created" << std::endl;
224 <<
", current trackid: " << aTrack->
GetTrackID() << std::endl;
225 std::cout <<
"phys pre vol: " << volume->
GetName()
235 std::cout <<
GetName() <<
": hits do not belong to the same track" << std::endl;
237 <<
", current trackid: " << aTrack->
GetTrackID()
339 std::cout <<
"PHG4BbcSteppingAction::SetTopNode - unable to find " <<
m_HitNodeName << std::endl;
344 if (!m_SupportHitContainer)
348 std::cout <<
"PHG4BbcSteppingAction::SetTopNode - unable to find " <<
m_SupportNodeName << std::endl;
360 else if (type ==
"G4HIT_SUPPORT")
365 std::cout <<
"Invalid output hit node type " << type << std::endl;