GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Monte Carlo Engines » Group velocity for Cherenkov photon propagation in G3/G4
Re: Group velocity for Cherenkov photon propagation in G3/G4 [message #11461 is a reply to message #11460] Wed, 26 January 2011 14:53 Go to previous messageGo to previous message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hallo Jochen,

in your ProcessHit you can use:

gMC->TrackLength() this will give you the track length from the vertex to the point where you are now (usually border of a step or material)

The VMC do not have any own methods, what ever you can do with native G4 you can do it through the VMC, the question which stay is this also available in G3? if yes then either it is already implemented or can be implemented. If Not one can still use it in G4 and give a warning or what ever in case of G3.


best regards

Mohammad
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: future of GEANT
Next Topic: [Solved]Problem with PndEvtGenDirect
Goto Forum:
  


Current Time: Sat Nov 09 21:48:15 CET 2024

Total time taken to generate the page: 0.00902 seconds