Message: Re: Energy Desposited Not scientifically Ok !!! Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Energy Desposited Not scientifically Ok !!! 

Forum: Event and Track Management
Re: Sad Energy Desposited Not scientifically Ok !!! (Medoo Saudi)
Re: None Re: Energy Desposited Not scientifically Ok !!! (Artem Zontikov)
Re: None Re: Energy Desposited Not scientifically Ok !!! (Medoo Saudi)
Date: 16 Nov, 2015
From: Artem Zontikov <Artem Zontikov>

// collect energy deposited in this step
G4double edep = step->GetTotalEnergyDeposit();
fEventAction->AddEdep(edep);

G4ThreeVector position = step->GetPreStepPoint()->GetPosition();
G4String pname = step->GetTrack()->GetParticleDefinition()->GetParticleName();
G4String proc = step->GetTrack()->GetCreatorProcess()->GetProcessName();

G4cout << " Energy = " << edep << " Mev" << " Position(mm) " << position << " Particle is a " << pname << " created in " << proc << G4endl;

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Energy Desposited Not scientifically Ok !!!   (Medoo Saudi - 16 Nov, 2015)
(_ None: Re: Energy Desposited Not scientifically Ok !!!   (Dmytro - 17 Nov, 2015)
(_ None: Re: Energy Desposited Not scientifically Ok !!!   (Medoo Saudi - 17 Nov, 2015)
 Add Message Add Message
to: "Re: Energy Desposited Not scientifically Ok !!!"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]