CbmRoot
NicaCbmMatchedEvent.h
Go to the documentation of this file.
1 /*
2  * NicaCbmMatchedEvent.h
3  *
4  * Created on: 12 lip 2019
5  * Author: Daniel Wielanek
6  * E-mail: daniel.wielanek@gmail.com
7  * Warsaw University of Technology, Faculty of Physics
8  */
9 #ifndef NICACBMMATCHEDEVENT_H_
10 #define NICACBMMATCHEDEVENT_H_
11 
12 #include "CbmDefs.h"
13 #include "NicaCbmEvent.h"
14 
16 protected:
17  virtual void CreateSource();
18  NicaCbmMatchedEvent(TString classname, NicaCbmSetup mode = kSis100Hadron);
19 
20 public:
22  virtual Bool_t ExistInTree() const;
23  virtual NicaEvent* GetNewEvent() const {
24  return new NicaCbmMatchedEvent(fMode);
25  };
26  virtual TString GetFormatName() const { return "CbmMatchedEvent"; };
27  virtual ~NicaCbmMatchedEvent();
28  ClassDef(NicaCbmMatchedEvent, 1)
29 };
30 
31 #endif /* NICACBMMATCHEDEVENT_H_ */
NicaCbmMatchedEvent::ExistInTree
virtual Bool_t ExistInTree() const
Definition: NicaCbmMatchedEvent.cxx:20
NicaCbmEvent.h
NicaCbmMatchedEvent::NicaCbmMatchedEvent
NicaCbmMatchedEvent(TString classname, NicaCbmSetup mode=kSis100Hadron)
Definition: NicaCbmMatchedEvent.cxx:50
NicaCbmEvent
Definition: NicaCbmEvent.h:15
NicaCbmMatchedEvent::GetNewEvent
virtual NicaEvent * GetNewEvent() const
Definition: NicaCbmMatchedEvent.h:23
NicaCbmMatchedEvent::CreateSource
virtual void CreateSource()
Definition: NicaCbmMatchedEvent.cxx:13
kSis100Hadron
@ kSis100Hadron
Definition: CbmDetectorID.h:25
NicaCbmSetup
NicaCbmSetup
Definition: CbmDetectorID.h:25
NicaCbmMatchedEvent::GetFormatName
virtual TString GetFormatName() const
Definition: NicaCbmMatchedEvent.h:26
NicaCbmMatchedEvent
Definition: NicaCbmMatchedEvent.h:15
NicaCbmMatchedEvent::~NicaCbmMatchedEvent
virtual ~NicaCbmMatchedEvent()
Definition: NicaCbmMatchedEvent.cxx:46
NicaCbmEvent::fMode
NicaCbmSetup fMode
Definition: NicaCbmEvent.h:18
CbmDefs.h