GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » CbmRootManager
Re: CbmRootManager [message #5495 is a reply to message #5494] Tue, 27 November 2007 16:31 Go to previous messageGo 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
I fill them in the Exec method with

TClonesArray &tracks = *fCandidates;
...
Int_t size = tracks.GetEntriesFast();
....
TParticle *p=new (tracks[size]) TParticle(ft->pdt(),0,0,0,0,0,ft->p4(),TLorentzVector(ft->startVtx(),t- >T()));

I think I copied this structure from some other module. Is there a better way?

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 Dec 07 03:27:40 CET 2021

Total time taken to generate the page: 0.02569 seconds