CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
TEvtRecEvent.h
Go to the documentation of this file.
1#ifndef RootEventData_TEvtRecEvent_H
2#define RootEventData_TEvtRecEvent_H
3
4#include "TObject.h"
5#include "TObjArray.h"
6
7class TEvtRecEvent : public TObject {
8
9public:
10
12 virtual ~TEvtRecEvent();
13
14 void initialize();
15
16 void Clear(Option_t* option = "");
17
18 void Print(Option_t* option = "") const;
19
20 Int_t totalTracks() const { return m_tottks; }
21 Int_t totalCharged() const { return m_nchrg; }
22 Int_t totalNeutral() const { return m_nneu; }
23 Int_t numberOfVee() const { return m_nvee; }
24 Int_t numberOfPi0() const { return m_npi0; }
25 Int_t numberOfEtaToGG() const { return m_neta; }
26 Int_t numberOfDTag() const{ return m_ndtag; }
27
28 void setTotalTracks (const int tottks) { m_tottks = tottks; }
29 void setTotalCharged(const int nchrg) { m_nchrg = nchrg; }
30 void setTotalNeutral(const int nneu) { m_nneu = nneu; }
31 void setNumberOfVee (const int nvee) { m_nvee = nvee; }
32 void setNumberOfPi0 (const int npi0) { m_npi0 = npi0; }
33 void setNumberOfEtaToGG (const int neta) { m_neta = neta; }
34 void setNumberOfDTag(const int ndtag) { m_ndtag = ndtag; }
35
36private:
37
38 // Global event info: number of track, vertex in events
39 Int_t m_tottks; // total tracks
40 Int_t m_nchrg; // total charged tracks
41 Int_t m_nneu; // total neutral tracks
42 Int_t m_nvee; // number of VEEs: Ks, Lambda, gamma conversion
43 Int_t m_npi0; // number of pi0'
44 Int_t m_neta; // number of eta'
45 Int_t m_ndtag; // number of dtags'
46
47 ClassDef(TEvtRecEvent, 4)
48};
49
50#endif
Int_t numberOfPi0() const
Definition: TEvtRecEvent.h:24
Int_t totalNeutral() const
Definition: TEvtRecEvent.h:22
void Print(Option_t *option="") const
void setNumberOfVee(const int nvee)
Definition: TEvtRecEvent.h:31
void setTotalCharged(const int nchrg)
Definition: TEvtRecEvent.h:29
Int_t totalCharged() const
Definition: TEvtRecEvent.h:21
void setNumberOfPi0(const int npi0)
Definition: TEvtRecEvent.h:32
void setNumberOfEtaToGG(const int neta)
Definition: TEvtRecEvent.h:33
Int_t totalTracks() const
Definition: TEvtRecEvent.h:20
Int_t numberOfEtaToGG() const
Definition: TEvtRecEvent.h:25
void setTotalNeutral(const int nneu)
Definition: TEvtRecEvent.h:30
void initialize()
void setTotalTracks(const int tottks)
Definition: TEvtRecEvent.h:28
void setNumberOfDTag(const int ndtag)
Definition: TEvtRecEvent.h:34
void Clear(Option_t *option="")
Int_t numberOfDTag() const
Definition: TEvtRecEvent.h:26
virtual ~TEvtRecEvent()
Int_t numberOfVee() const
Definition: TEvtRecEvent.h:23