GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Simulation For a particular branch
Re: Simulation For a particular branch [message #14164 is a reply to message #14163] Tue, 23 October 2012 12:43 Go to previous messageGo to previous message
Simone Bianco is currently offline  Simone Bianco
Messages: 29
Registered: January 2009
continuous participant
From: *cb.uni-bonn.de
Hi,

in your simulation macro add the line:

fRun->SetRadLenRegister(kTRUE);

before the Init();

This will enable the creation of the branch and the storing of the rad length info.

If I remember correctly in the past you had to set to kFALSE also the second parameter passed to the ctor of the detector you wanted to map in order to take into account active volumes as well.
For example to map the MVD rad length we were using

FairDetector *Mvd = new PndMvdDetector("MVD", kFALSE);

but this might have changed in the meanwhile.

Cheers,

Simone
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Question about DSK PID detector at PANDAroot
Next Topic: [SOLVED] subclipse in eclipse (ubuntu 12.04 64 bit)
Goto Forum:
  


Current Time: Mon Apr 29 14:22:01 CEST 2024

Total time taken to generate the page: 0.01072 seconds