Message: Re: the method to collect OpticalPhotons Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: the method to collect OpticalPhotons 

Forum: Processes Involving Optical Photons
Re: None the method to collect OpticalPhotons (ylzhang)
Date: 21 Aug, 2009
From: Gumplinger Peter <Gumplinger Peter>

Are you sure that:

detector->GetBGO() and detector->GetCalorimeter() return the same volume

also that:

detector->GetPMT() and detector->GetBottom() return the same volume

I also don't know the reason for:

aTrack->GetTrackID()>1

BTW, you can get the physical volume from the StepPoints with GetPhysicalVolume(). No need to go via GetTouchableHandle() although there is nothing wrong if you do.

As for G4 tracking/stepping updates, I have no explanation for what you find. However, it should be very easy for you to debug this by using both codes in your SteppingAction and just print out the names of the volumes when one 'if' is entered while the other is not.

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

1 None: Re: the method to collect OpticalPhotons   (ylzhang - 22 Aug, 2009)
2 None: Re: the method to collect OpticalPhotons   (ylzhang - 23 Aug, 2009)
1 Feedback: Re: the method to collect OpticalPhotons   (Gumplinger Peter - 25 Aug, 2009)
(_ More: Re: the method to collect OpticalPhotons   (Gumplinger Peter - 27 Aug, 2009)
 Add Message Add Message
to: "Re: the method to collect OpticalPhotons"

 Subscribe Subscribe

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