BOSS 7.1.1
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
Int_t totalNeutral() const
void Print(Option_t *option="") const
void setNumberOfVee(const int nvee)
void setTotalCharged(const int nchrg)
Int_t totalCharged() const
void setNumberOfPi0(const int npi0)
void setNumberOfEtaToGG(const int neta)
Int_t totalTracks() const
Int_t numberOfEtaToGG() const
void setTotalNeutral(const int nneu)
void setTotalTracks(const int tottks)
void setNumberOfDTag(const int ndtag)
void Clear(Option_t *option="")
Int_t numberOfDTag() const
virtual ~TEvtRecEvent()
Int_t numberOfVee() const