CbmRoot
NicaCbmEvent.h
Go to the documentation of this file.
1 /*
2  * NicaCbmMatcheEvent.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 NICACBMMATCHEEVENT_H_
10 #define NICACBMMATCHEEVENT_H_
11 
12 #include "CbmDetectorID.h"
13 #include "NicaCbmGlobalEvent.h"
14 #include "NicaTrackClones.h"
16 public:
17 protected:
19  NicaTrackClones* fStsTracks;
20  NicaTrackClones* fTrdTracks;
21  NicaTrackClones* fTofHits;
22  NicaTrackClones* fRichRings;
23  NicaTrackClones* fMuchTracks;
24  virtual void ShallowCopyTracks(NicaEvent* event);
25  virtual void ShallowCopyEvent(NicaEvent* event);
26  virtual void CreateSource();
27  NicaCbmEvent(TString classname, NicaCbmSetup mode);
28 
29 public:
31  NicaCbmSetup GetMode() const { return fMode; }
32  virtual Bool_t ExistInTree() const;
33  NicaTrackClones* GetStsTracks() const { return fStsTracks; }
34  NicaTrackClones* GetTofHits() const { return fTofHits; }
35  NicaTrackClones* GetTrdTracks() const { return fTrdTracks; }
36  NicaTrackClones* GetRichRings() const { return fRichRings; };
37  NicaTrackClones* GetMuchTracks() const { return fMuchTracks; };
38  virtual void Update();
39  virtual TString GetFormatName() const;
40  virtual NicaEvent* GetNewEvent() const { return new NicaCbmEvent(fMode); };
41  virtual ~NicaCbmEvent();
42  ClassDef(NicaCbmEvent, 1)
43 };
44 
45 #endif /* NICACBMMATCHEEVENT_H_ */
NicaCbmEvent::ExistInTree
virtual Bool_t ExistInTree() const
Definition: NicaCbmEvent.cxx:99
NicaCbmGlobalEvent.h
CbmDetectorID.h
NicaCbmEvent::GetMode
NicaCbmSetup GetMode() const
Definition: NicaCbmEvent.h:31
NicaCbmEvent::GetStsTracks
NicaTrackClones * GetStsTracks() const
Definition: NicaCbmEvent.h:33
NicaCbmEvent::GetFormatName
virtual TString GetFormatName() const
Definition: NicaCbmEvent.cxx:78
NicaCbmEvent::fRichRings
NicaTrackClones * fRichRings
Definition: NicaCbmEvent.h:22
NicaCbmEvent
Definition: NicaCbmEvent.h:15
NicaCbmEvent::fTofHits
NicaTrackClones * fTofHits
Definition: NicaCbmEvent.h:21
NicaCbmEvent::~NicaCbmEvent
virtual ~NicaCbmEvent()
Definition: NicaCbmEvent.cxx:116
kSis100Hadron
@ kSis100Hadron
Definition: CbmDetectorID.h:25
NicaCbmSetup
NicaCbmSetup
Definition: CbmDetectorID.h:25
NicaCbmEvent::fStsTracks
NicaTrackClones * fStsTracks
Definition: NicaCbmEvent.h:19
NicaCbmEvent::GetTrdTracks
NicaTrackClones * GetTrdTracks() const
Definition: NicaCbmEvent.h:35
NicaCbmEvent::ShallowCopyEvent
virtual void ShallowCopyEvent(NicaEvent *event)
Definition: NicaCbmEvent.cxx:53
NicaCbmEvent::GetTofHits
NicaTrackClones * GetTofHits() const
Definition: NicaCbmEvent.h:34
NicaCbmEvent::GetNewEvent
virtual NicaEvent * GetNewEvent() const
Definition: NicaCbmEvent.h:40
NicaCbmEvent::Update
virtual void Update()
Definition: NicaCbmEvent.cxx:61
NicaCbmEvent::CreateSource
virtual void CreateSource()
Definition: NicaCbmEvent.cxx:57
NicaCbmEvent::NicaCbmEvent
NicaCbmEvent(TString classname, NicaCbmSetup mode)
Definition: NicaCbmEvent.cxx:80
NicaCbmGlobalEvent
Definition: NicaCbmGlobalEvent.h:14
NicaCbmEvent::fMuchTracks
NicaTrackClones * fMuchTracks
Definition: NicaCbmEvent.h:23
NicaCbmEvent::fTrdTracks
NicaTrackClones * fTrdTracks
Definition: NicaCbmEvent.h:20
NicaCbmEvent::GetRichRings
NicaTrackClones * GetRichRings() const
Definition: NicaCbmEvent.h:36
NicaCbmEvent::ShallowCopyTracks
virtual void ShallowCopyTracks(NicaEvent *event)
Definition: NicaCbmEvent.cxx:36
NicaCbmEvent::GetMuchTracks
NicaTrackClones * GetMuchTracks() const
Definition: NicaCbmEvent.h:37
NicaCbmEvent::fMode
NicaCbmSetup fMode
Definition: NicaCbmEvent.h:18