GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » EmcCluster: Map version 0 does not exist
Re: EmcCluster: Map version 0 does not exist [message #7427 is a reply to message #7426] Fri, 17 October 2008 09:38 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *dip.t-dialin.net
Aleksandra Biegun wrote on Fri, 17 October 2008 09:28


TFile* fsim = new TFile("simfile.root");
TTree *tsim=(TTree *) fsim->Get("cbmsim");
PndEmcMapper *emcMap=PndEmcMapper::Instance(2);



Instead of the previous lines, you can use the much more compact form:
PndEmcMapper *emcMap=PndEmcMapper::Instance(2,"simfile.root");

which is doing exactly the same thing.
 
Read Message icon4.gif
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
Read Message
Previous Topic: simpleEvtGen for fast simulation limited (?)
Next Topic: Fix in lhetrack
Goto Forum:
  


Current Time: Sat Nov 09 08:55:39 CET 2024

Total time taken to generate the page: 0.00602 seconds