GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Monte Carlo Engines » First step in VMC
icon5.gif  First step in VMC [message #6479] Wed, 16 April 2008 17:36 Go to next message
Annalisa Cecchi is currently offline  Annalisa Cecchi
Messages: 17
Registered: June 2006
Location: Ferrara
occasional visitor

From: *fe.infn.it

Hello everybody,
we need to register an information only for the first step of a track entering in a volume. In particular, we need to calculate the angle of a particle entering in a bar of the DIRC.We already can calculate this angle, but at the moment we have as many angles as the steps inside the volume for each event. Instead we need of the angle of the first step only, so only one for each event.

Do you know how I can select with VMC the first step of a strack entering in a volume?

Thanks

Annalisa and Elisa
Re: First step in VMC [message #6499 is a reply to message #6479] Thu, 17 April 2008 10:31 Go to previous message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: 141.30.85*
Hi Analisa,

You might want to have a look into the Mvd ProcessHits function pandaroot/mvd/MvdMC/PndMvdDetector.cxx:119.
There you have
if( gMC->IsTrackEntering() )
This is processed only at the first step, as you need it.

I hope this helps.

Ralf.
Previous Topic: Fluka training course
Next Topic: Energy loss in this silicon layer
Goto Forum:
  


Current Time: Fri Jun 14 19:01:47 CEST 2024

Total time taken to generate the page: 0.00792 seconds