Go to the documentation of this file.
17 #include "CbmTofHit.h"
22 #include "NicaTrackClones.h"
23 #include <FairRootManager.h>
24 #include <RtypesCore.h>
25 #include <TClonesArray.h>
28 : fMode(mode), fMuchTracks(NULL), fRichRings(NULL) {
29 fStsTracks =
new NicaTrackClones(
"CbmStsTrack",
"StsTrack",
"STS");
30 fTofHits =
new NicaTrackClones(
"CbmTofHit",
"TofHit",
"TOF");
31 fTrdTracks =
new NicaTrackClones(
"CbmTrdTrack",
"TrdTrack",
"TRD");
34 fRichRings =
new NicaTrackClones(
"CbmRichRing",
"RichRing",
"");
40 fMuchTracks =
new NicaTrackClones(
"CbmMuchTrack",
"MuchTrack",
"MUCH");
119 cbm_track->SetRawTrack(
fTracks->UncheckedAt(index));
145 if (CanDeleteEvent()) {
virtual void ConnectToTree()
void SetTrdTrack(CbmTrdTrack *tr)
virtual void FillTrackInterface(NicaTrackInterface *track, Int_t index)
virtual void CopyData(NicaEventInterface *s)
Int_t GetMuchTrackIndex() const
virtual void Compress(Int_t *map, Int_t map_size)
void Register(Bool_t write)
NicaTrackClones * fTofHits
Int_t GetRichRingIndex() const
void Register(Bool_t write)
virtual void CopyAndCompress(NicaEventInterface *s, Int_t *map, Int_t map_size)
void SetStsTrack(CbmStsTrack *tr)
void SetTofHit(CbmTofHit *tr)
NicaCbmEventInterface(NicaCbmSetup mode=kSis100Electron)
NicaTrackClones * fStsTracks
virtual void Compress(Int_t *map, Int_t map_size)
virtual void ConnectToTree()
Data class for STS tracks.
Int_t GetStsTrackIndex() const
void SetMuchTrack(CbmMuchTrack *tr)
void SetRichRing(CbmRichRing *tr)
Int_t GetTrdTrackIndex() const
virtual TObject * GetRawTrackPointer(Int_t index) const
NicaTrackClones * fTrdTracks
virtual ~NicaCbmEventInterface()
NicaTrackClones * fRichRings
virtual void CopyAndCompress(NicaEventInterface *s, Int_t *map, Int_t map_size)
Int_t GetTofHitIndex() const
virtual TObject * GetRawTrackPointer(Int_t index) const
NicaTrackClones * fMuchTracks
NicaTrackClones * fTracks
virtual void CopyData(NicaEventInterface *s)