GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » EMC » emc cluster summary information (rev.2147)
Re: emc cluster summary information (rev.2147) [message #5918 is a reply to message #5917] Tue, 19 February 2008 17:27 Go to previous messageGo to previous message
Dima Melnychuk is currently offline  Dima Melnychuk
Messages: 213
Registered: April 2004
Location: National Centre for Nucle...
first-grade participant
From: *fuw.edu.pl
Hi Mohammad,

2 remarks:

1) update the code to the rev. 2198, I made the correction in PndEmcXClMoments.cxx

2) You should instantiate PndEmcStructure before accessing PndEmcXClMoments.


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

TGeoManager *geoMan = (TGeoManager*) gROOT->FindObject("CBMGeom");
PndEmcStructure::Instance(geoMan);


Dima
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: EMC small updates
Next Topic: Bug correction in EmcMapper (rev. 2199)
Goto Forum:
  


Current Time: Thu Jan 27 22:14:43 CET 2022

Total time taken to generate the page: 0.01227 seconds