Message: Re: How to get information of the Primary which produces a Secondary? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: How to get information of the Primary which produces a Secondary?  

Forum: Particles
Re: Question How to get information of the Primary which produces a Secondary? (Cristina Consolandi)
Date: 25 Sep, 2008
From: Gumplinger Peter <Gumplinger Peter>

G4int tN2ndariesTot = fpSteppingManager->GetfN2ndariesAtRestDoIt()
  + fpSteppingManager->GetfN2ndariesAlongStepDoIt()
  + fpSteppingManager->GetfN2ndariesPostStepDoIt();

if (tN2ndariesTot > 0) G4double kinE = fTrack->GetKineticEnergy();

see:

http://www-geant4.kek.jp/lxr/source/examples/extended/optical/LXe/src/LXeSteppingAction.cc
http://www-geant4.kek.jp/lxr/source/examples/extended/optical/LXe/src/LXeSteppingVerbose.cc

for more 'goodies' what can be inquired at the stepping level.

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

1 None: Re: How to get information of the Primary which produces a Secondary?   (Cristina Consolandi - 26 Sep, 2008)
 Add Message Add Message
to: "Re: How to get information of the Primary which produces a Secondary? "

 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 ]