GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » CbmRootManager
CbmRootManager [message #5493] Tue, 27 November 2007 16:13 Go to previous message
Klaus Götzen is currently offline  Klaus Götzen
Messages: 293
Registered: June 2006
Location: GSI
first-grade participant
From: *ikf.physik.uni-frankfurt.de
Hi!

Within my CbmFastSim task I try to dump out two TClonesArrays of type TParticle like this

fCandidates = new TClonesArray("TParticle");
CbmRootManager::Instance()->Register("PndCandidates","FastSim", fCandidates, kTRUE);

fMcCandidates = new TClonesArray("TParticle");
CbmRootManager::Instance()->Register("PndMcCandidates","FastSim", fMcCandidates, kTRUE);

one with the smeared candidates and one with the original copy of the MCStack basically.

My task runs and in principle everything is fine, but in the root-file later there is a folder structure:

cbmroot/FastSim/PndCandidates
cbmroot/FastSim/PndMcCandidates

(in fact in the TBrowser you see 2 FastSim folders, either containing one subfolder!), where both folders are empty, and twice

cbmsim/PndCandidates

with exactly the same contents (apparently from that TClonesArray which was registered first...)

Anybody an idea, what I'm doing wrong?

Thanks and regards,
Klaus
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New external packages and major update of FairRoot
Next Topic: Happy new year and best wishes for 2008!!!
Goto Forum:
  


Current Time: Tue Oct 15 23:55:25 CEST 2024

Total time taken to generate the page: 0.00803 seconds