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 #7425 is a reply to message #6917] Thu, 16 October 2008 18:11 Go to previous messageGo to previous message
Vishwajeet Jha is currently offline  Vishwajeet Jha
Messages: 9
Registered: August 2008
occasional visitor
From: *ikp.kfa-juelich.de
Hi.....

When I run the macro

/macro/fsim/writeMicro.C with the simulation and reconstruction file generated through runMC.C and runReco.C I get the following error

Map version 0 doesn't exist

(For the EMC clusters)

The solution provided earlier for the similar problem as quoted
doesn't help.

What is wrong??

Vishwajeet Jha



Jens Soeren Lange wrote on Sat, 14 June 2008 15:37

Hi all,

another problem.

I have a root file and I can see that in the cbmsim there is EmcCluster and I can even click in the TBrowser on EmcCluster.fEnergy and see that there are entries.

However, when I try to access them in a macro:

TClonesArray* cluster_array=new TClonesArray("PndEmcCluster");
chain->SetBranchAddress("EmcCluster",&cluster_array);

for (Int_t i5=0; i5<cluster_array->GetEntriesFast(); i5++) {
PndEmcCluster *cluster=(PndEmcCluster*)cluster_array->At(i5);
cout << "cluster energy " << cluster.energy() << "\n";
}

I get for every event:

Map version 0 does not exist

and I cannot access any of the clusters.

(I remember roughly that Stefano already saw this, but I don't know if there was a solution to it).

Any idea?

Soeren

































 
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: Sun Nov 10 00:30:21 CET 2024

Total time taken to generate the page: 0.00809 seconds