34 #include "SteppingAction.hh"
36 #include "DetectorConstruction.hh"
38 #include "EventAction.hh"
39 #include "HistoManager.hh"
79 Run* run =
static_cast<Run*
>(
99 G4AnalysisManager::Instance()->FillH1(
kMaxAbsor+absorNum,
115 if((std::abs(position.
y()) >= sizeYZ) || (std::abs(position.
z()) >= sizeYZ))
117 else if (direction.
x() >= 0.) run->
SumEnergyFlow(plane=Idnow+1, Eflow);
142 if (birk1*destep*stepl*charge != 0.)
144 response = destep/(1. + birk1*destep/stepl);
static G4RunManager * GetRunManager()
const DetectorConstruction * fDetector
G4LogicalVolume * GetLogicalVolume() const
void SumEnergy(G4int k, G4double de, G4double dl)
G4StepPoint * GetPreStepPoint() const
G4double GetPDGCharge() const
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
G4ParticleDefinition * GetDefinition() const
const G4TouchableHandle & GetTouchableHandle() const
G4Material * GetMaterial() const
G4double GetWeight() const
G4StepStatus GetStepStatus() const
void SumEnergyFlow(G4int plane, G4double Eflow)
G4Material * GetWorldMaterial()
G4double GetStepLength() const
static constexpr double electron_mass_c2
const G4ThreeVector & GetPosition() const
G4Track * GetTrack() const
const G4ThreeVector & GetMomentumDirection() const
G4double GetTotalEnergyDeposit() const
static G4Positron * Positron()
G4StepPoint * GetPostStepPoint() const
G4double GetBirksConstant() const
void UserSteppingAction(const G4Step *)
G4Material * GetMaterial() const
G4double GetKineticEnergy() const
G4int GetCopyNumber(G4int depth=0) const
G4double BirksAttenuation(const G4Step *)
G4Run * GetNonConstCurrentRun() const
void SumLateralEleak(G4int cell, G4double Eflow)
G4IonisParamMat * GetIonisation() const
G4double GetCalorSizeYZ()
Simple detector construction with a box volume placed in a world.