GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Accessing EMC class in ver. 5476
Accessing EMC class in ver. 5476 [message #8490] Mon, 11 May 2009 15:46 Go to previous message
donghee is currently offline  donghee
Messages: 385
Registered: January 2009
Location: Germnay
first-grade participant
From: *kph.uni-mainz.de
Dear all,

When I run a root macro to analyze EMC cluster in the digi.root file. I have following error from ROOT at the end of this article.
Simply, I try to read digiFile, whih is produced without error message from simulation file. I wrote in my macro, like this:

TFile* f2 = new TFile(digiFile.Data()); //
TTree *t2=(TTree *) f2->Get("cbmsim") ;
TClonesArray* cluster_array=new TClonesArray("PndEmcCluster");
t2->SetBranchAddress("EmcCluster",&cluster_array);

PndEmcMapper *emcMap=PndEmcMapper::Instance(2,simFile);



Could you give me some hint for this error message?
I produced digi and sim file with v5476 without any problem.
Thank you!




Error in <TBufferFile::CheckByteCount>: object of class TGeoShape read too few bytes: 24 instead of 32
Error in <TBufferFile::CheckByteCount>: object of class TGeoShape read too few bytes: 1319 instead of 1327

-----------------------

Error in <TBufferFile::CheckByteCount>: object of class TGeoShape read too few bytes: 20 instead of 28
Info in <TGeoManager::CloseGeometry>: Geometry loaded from file...
Info in <TGeoManager::SetTopVolume>: Top volume is cave. Master volume is cave
Info in <TGeoManager::Voxelize>: Voxelizing...
Info in <TGeoNavigator::BuildCache>: --- Maximum geometry depth set to 100
Info in <TGeoManager::CloseGeometry>: 464302 nodes/ 1259 volume UID's in FAIR geometry
Info in <TGeoManager::CloseGeometry>: ----------------modeler ready----------------

*** Break *** floating point exception



[Updated on: Mon, 11 May 2009 16:02]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: Question for EMC, photon and electron separation
Next Topic: Problems with MVD geometries
Goto Forum:
  


Current Time: Fri Mar 29 14:58:16 CET 2024

Total time taken to generate the page: 0.00855 seconds