CbmRoot
NicaCbmEventInterface.h
Go to the documentation of this file.
1 /*
2  * NicaCbmMatchedEventInterface.h
3  *
4  * Created on: 11 lip 2019
5  * Author: Daniel Wielanek
6  * E-mail: daniel.wielanek@gmail.com
7  * Warsaw University of Technology, Faculty of Physics
8  */
9 #ifndef NICACBMEVENTINTERFACE_H_
10 #define NICACBMEVENTINTERFACE_H_
11 
12 #include "CbmDefs.h"
13 #include "CbmDetectorID.h"
14 #include "NicaCbmGlobalEvent.h"
16 #include "NicaCbmTrackInterface.h"
17 #include "NicaTrackClones.h"
18 
19 class NicaCbmEvent;
21 public:
22  friend class NicaCbmEvent;
23 
24 protected:
26  NicaTrackClones* fStsTracks;
27  NicaTrackClones* fTrdTracks;
28  NicaTrackClones* fMuchTracks;
29  NicaTrackClones* fTofHits;
30  NicaTrackClones* fRichRings;
31  virtual void ConnectToTree();
32  void Register(Bool_t write);
33 
34 public:
36  NicaTrackClones* GetStsTracks() const { return fStsTracks; }
37  NicaTrackClones* GetTrdTracks() const { return fTrdTracks; }
38  NicaTrackClones* GetMuchTracks() const { return fMuchTracks; }
39  NicaTrackClones* GetTofHits() const { return fTofHits; }
40  NicaTrackClones* GetRichRings() const { return fRichRings; }
41  NicaCbmSetup GetMode() const { return fMode; };
42  virtual void CopyData(NicaEventInterface* s);
43  virtual void Compress(Int_t* map, Int_t map_size);
44  virtual void
45  CopyAndCompress(NicaEventInterface* s, Int_t* map, Int_t map_size);
46  virtual void FillTrackInterface(NicaTrackInterface* track, Int_t index);
47  virtual NicaTrackInterface* GetTrackInterface() const {
48  return new NicaCbmTrackInterface();
49  }
50  virtual TObject* GetRawTrackPointer(Int_t index) const;
52  virtual ~NicaCbmEventInterface();
53  ClassDef(NicaCbmEventInterface, 1)
54 };
55 
56 
57 #endif /* NICACBMEVENTINTERFACE_H_ */
NicaCbmEventInterface::GetMode
NicaCbmSetup GetMode() const
Definition: NicaCbmEventInterface.h:41
NicaCbmEventInterface::FillTrackInterface
virtual void FillTrackInterface(NicaTrackInterface *track, Int_t index)
Definition: NicaCbmEventInterface.cxx:116
NicaCbmEventInterface::CopyData
virtual void CopyData(NicaEventInterface *s)
Definition: NicaCbmEventInterface.cxx:79
NicaCbmTrackInterface.h
NicaCbmEventInterface::Compress
virtual void Compress(Int_t *map, Int_t map_size)
Definition: NicaCbmEventInterface.cxx:96
NicaCbmGlobalEvent.h
CbmDetectorID.h
NicaCbmGlobalEventInterface.h
NicaCbmEventInterface::fTofHits
NicaTrackClones * fTofHits
Definition: NicaCbmEventInterface.h:29
NicaCbmEventInterface::Register
void Register(Bool_t write)
Definition: NicaCbmEventInterface.cxx:63
NicaCbmEventInterface::GetTofHits
NicaTrackClones * GetTofHits() const
Definition: NicaCbmEventInterface.h:39
kSis100Electron
@ kSis100Electron
Definition: CbmDetectorID.h:25
NicaCbmEventInterface::GetStsTracks
NicaTrackClones * GetStsTracks() const
Definition: NicaCbmEventInterface.h:36
NicaCbmEventInterface
Definition: NicaCbmEventInterface.h:20
NicaCbmTrackInterface
Definition: NicaCbmTrackInterface.h:22
NicaCbmEvent
Definition: NicaCbmEvent.h:15
NicaCbmEventInterface::NicaCbmEventInterface
NicaCbmEventInterface(NicaCbmSetup mode=kSis100Electron)
Definition: NicaCbmEventInterface.cxx:27
NicaCbmGlobalEventInterface
Definition: NicaCbmGlobalEventInterface.h:19
NicaCbmEventInterface::GetTrackInterface
virtual NicaTrackInterface * GetTrackInterface() const
Definition: NicaCbmEventInterface.h:47
NicaCbmEventInterface::fStsTracks
NicaTrackClones * fStsTracks
Definition: NicaCbmEventInterface.h:26
NicaCbmEventInterface::ConnectToTree
virtual void ConnectToTree()
Definition: NicaCbmEventInterface.cxx:45
NicaCbmEventInterface::fMode
const NicaCbmSetup fMode
Definition: NicaCbmEventInterface.h:25
NicaCbmSetup
NicaCbmSetup
Definition: CbmDetectorID.h:25
NicaCbmEventInterface::GetRawTrackPointer
virtual TObject * GetRawTrackPointer(Int_t index) const
Definition: NicaCbmEventInterface.cxx:140
NicaCbmEventInterface::fTrdTracks
NicaTrackClones * fTrdTracks
Definition: NicaCbmEventInterface.h:27
NicaCbmEventInterface::GetTrdTracks
NicaTrackClones * GetTrdTracks() const
Definition: NicaCbmEventInterface.h:37
NicaCbmEventInterface::~NicaCbmEventInterface
virtual ~NicaCbmEventInterface()
Definition: NicaCbmEventInterface.cxx:144
NicaCbmEventInterface::GetRichRings
NicaTrackClones * GetRichRings() const
Definition: NicaCbmEventInterface.h:40
NicaCbmEventInterface::GetMuchTracks
NicaTrackClones * GetMuchTracks() const
Definition: NicaCbmEventInterface.h:38
NicaCbmEventInterface::fRichRings
NicaTrackClones * fRichRings
Definition: NicaCbmEventInterface.h:30
NicaCbmEventInterface::CopyAndCompress
virtual void CopyAndCompress(NicaEventInterface *s, Int_t *map, Int_t map_size)
Definition: NicaCbmEventInterface.cxx:101
NicaCbmEventInterface::fMuchTracks
NicaTrackClones * fMuchTracks
Definition: NicaCbmEventInterface.h:28
CbmDefs.h