12 #include <FairRootManager.h>
13 #include <RtypesCore.h>
14 #include <TObjArray.h>
22 : fVertex(NULL), fTracks(NULL) {
24 fTracks =
new NicaTrackClones(
"CbmGlobalTrack",
"GlobalTrack",
"");
28 FairRootManager* manager = FairRootManager::Instance();
29 if (CanDeleteEvent()) {
38 FairRootManager* manager = FairRootManager::Instance();
39 manager->Register(
"PrimaryVertex.",
"PrimaryVertex.",
fVertex, write);
50 fTracks->Compress(map, map_size);
64 cbm_track->SetRawTrack(
fTracks->UncheckedAt(index));
68 return fTracks->GetEntriesFast();
72 return fTracks->UncheckedAt(index);
76 return TLorentzVector(0, 0, 0, 0);
84 if (CanDeleteEvent()) {