Message: Re: total number of Cherenkov photons which are produced by a primary particle Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: total number of Cherenkov photons which are produced by a primary particle 

Keywords: number of Cherenkov Photons
Forum: Particles
Re: Question total number of Cherenkov photons which are produced by a primary particle (adnan)
Re: Feedback Re: total number of Cherenkov photons which are produced by a primary particle (Gumplinger Peter)
Re: Idea total number of Cherenkov photons which are produced by a primary particle (adnan)
Date: 15 Nov, 2006
From: Gumplinger Peter <Gumplinger Peter>

Please, take a look at:

http://www-geant4.kek.jp/lxr/source//examples/advanced/underground_physics/src/DMXSteppingAction.cc#L106

for how to get the number of steps taken and

http://www-geant4.kek.jp/lxr/source/examples/advanced/raredecay_calorimetry/src/PhotInStackingAction.cc#L74

for how to get the volume name and copy number.

Actually, I was wrong in my previous posting! Secondary tracks which are to be put on the stack come with G4TouchableHistory pointers you can use, in ClassifyNewTrack, to inquire about the geometry as this example shows. So, no need to code this in UserSteppingAction. With other words, you can follow the advanced raredecay_calorimeter example StackingAction.

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

 Add Message Add Message
to: "Re: total number of Cherenkov photons which are produced by a primary particle"

 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 ]