31 #include "SteppingAction.hh"
33 #include "DetectorConstruction.hh"
34 #include "EventAction.hh"
44 lvol_world = lvol_module = lvol_layer = lvol_fiber = 0;
80 if (lvol == lvol_world)
return;
81 else if (lvol == lvol_module) { iModule = touch1->
GetCopyNumber(0);}
82 else if (lvol == lvol_layer) { iLayer = touch1->
GetCopyNumber(0);
84 else if (lvol == lvol_fiber) { iFiber = touch1->
GetCopyNumber(0);
90 eventAct->
SumDeStep(iModule, iLayer, iFiber, edep);
107 if (birk1*destep*stepl*charge != 0.)
109 response = destep/(1. + birk1*destep/stepl);
G4LogicalVolume * GetLvolModule()
G4ParticleDefinition * GetDefinition() const
G4IonisParamMat * GetIonisation() const
G4double GetStepLength() const
void SumDeStep(G4int, G4int, G4int, G4double)
G4LogicalVolume * GetLvolLayer()
G4LogicalVolume * GetLvolFiber()
G4int GetCopyNumber(G4int depth=0) const
void UserSteppingAction(const G4Step *)
G4double GetBirksConstant() const
G4StepPoint * GetPreStepPoint() const
G4double GetTotalEnergyDeposit() const
G4Material * GetMaterial() const
G4double BirksAttenuation(const G4Step *)
G4LogicalVolume * GetLogicalVolume() const
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
Detector construction class to define materials and geometry.
G4Track * GetTrack() const
G4double GetPDGCharge() const
const G4TouchableHandle & GetTouchableHandle() const
G4LogicalVolume * GetLvolWorld()