67 G4double Theta,Thetaback,Ttrans,Tback,Tsec,Egamma,yend,zend,rend;
81 IDnow = evno+10000*trackID+100000000*parentID;
89 if(preVol->
GetName()==
"Absorber") {
107 if(preVol->
GetName()==
"Absorber") {
122 eventaction->
SetTr();
126 runaction->
FillTt(Ttrans);
129 rend = std::sqrt(yend*yend+zend*zend);
130 runaction->
FillR(rend);
void Fillvertexz(G4double z)
G4int GetParentID() const
Definition of the Em10EventAction class.
Definition of the Em10RunAction class.
const G4DynamicParticle * GetDynamicParticle() const
G4StepStatus GetStepStatus() const
const G4ThreeVector & GetPosition() const
G4ParticleDefinition * GetDefinition() const
void FillThBack(G4double Th)
G4StepPoint * GetPreStepPoint() const
G4double GetKineticEnergy() const
G4VPhysicalVolume * GetPhysicalVolume() const
const G4String & GetName() const
const G4ThreeVector & GetVertexPosition() const
G4double GetTotalEnergyDeposit() const
Em10SteppingAction(Em10EventAction *, Em10RunAction *)
void UserSteppingAction(const G4Step *)
static G4Positron * Positron()
const G4ThreeVector & GetMomentumDirection() const
Definition of the Em10SteppingAction class.
G4StepPoint * GetPostStepPoint() const
Definition of the Em10DetectorConstruction class.
void FillTsec(G4double T)
void FillGammaSpectrum(G4double E)
static G4Electron * Electron()
G4Track * GetTrack() const
virtual ~Em10SteppingAction()