On Mon, 10 Oct 2005, Scott Zelakiewicz wrote:
> *** Discussion title: Fast Simulation, Transportation & Others
> Email replies to PublicHyperNews@slac.stanford.edu must include:
> In-Reply-To: <"/fastsim/8"@geant4-hn.slac.stanford.edu>
> Subject: ...change this to be about your reply.
>
> Hi,
>
> While examining the output of some code, I noticed that a
> "Transportation" process is depositing energy in my sensitive detector
> which seemed a little strange to me. I then modified examples/novice/N02
> where I define the stepping action to be:
>
> void ExN02SteppingAction::UserSteppingAction(const G4Step* aStep)
> {
> G4String process = aStep->GetPostStepPoint()->GetProcessDefinedStep()
> ->GetProcessName();
> if(process == "Transportation"){
> G4cout << "In transport step action, energy dep = "
> << "\t" << aStep->GetTotalEnergyDeposit() << G4endl;
> }
> }
>
> and then run the run1.mac macro with no other changes. Here is a snippet
> of the output:
>
> ### Run 1 start.
> Start Run processing.
> In transport step action, energy dep = 0.022127794
> In transport step action, energy dep = 9.6219292
> In transport step action, energy dep = 0.014266496
> In transport step action, energy dep = 0.090739375
> In transport step action, energy dep = 0.0048101879
> In transport step action, energy dep = 0.10046924
> In transport step action, energy dep = 0.0018481132
> In transport step action, energy dep = 0.11301416
> In transport step action, energy dep = 0.040421597
> In transport step action, energy dep = 0.11809491
> In transport step action, energy dep = 0.0043232425
> In transport step action, energy dep = 0.040039835
> In transport step action, energy dep = 0.092960496
> In transport step action, energy dep = 0.034912215
> In transport step action, energy dep = 0.11443206
> In transport step action, energy dep = 0
> In transport step action, energy dep = 0.016303982
> >>> Event 0
>
> This has been seen in both Geant4 6.2.p01 and 7.1. Can someone help me
> understand what is going on?
>
> Thanks, Scott.
>
Hello,
When you start any SteppingAction all continious processes already make
its contribution to energy loss and you see the sum of all. Likely energy
were lost because of ionisation. Transportation only limits the step.
VI
|