6 #include <phparameter/PHParameters.h>
18 #include <Geant4/G4ParticleDefinition.hh>
19 #include <Geant4/G4ReferenceCountedHandle.hh>
20 #include <Geant4/G4Step.hh>
21 #include <Geant4/G4StepPoint.hh>
22 #include <Geant4/G4StepStatus.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>
43 , m_Detector(detector)
44 , m_ActiveFlag(parameters->get_int_param(
"active"))
45 , m_BlackHoleFlag(parameters->get_int_param(
"blackhole"))
89 for (
int i = 0; i < 3; i++)
93 k[i] = icopy & 0xFFFF;
95 idx_j = j[0] + j[1] * 2 + j[2] * 4;
96 idx_k = k[0] + k[1] * 2 + k[2] * 4;
102 idx_k = icopy & 0xFFFF;
126 bool geantino =
false;
268 std::string hitnodename;
269 std::string absorbernodename;
283 m_HitContainer = findNode::getClass<PHG4HitContainer>(topNode, hitnodename);
289 std::cout <<
"PHG4CrystalCalorimeterSteppingAction::SetInterfacePointers - unable to find " << hitnodename << std::endl;
292 if (!m_AbsorberHitContainer)
296 std::cout <<
"PHG4CrystalCalorimeterSteppingAction::SetInterfacePointers - unable to find " << absorbernodename << std::endl;