CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtRecEvent.h
Go to the documentation of this file.
1#ifndef Event_EvtRecEvent_H
2#define Event_EvtRecEvent_H
3
4#include "GaudiKernel/DataObject.h"
6
7using namespace EventModel;
8
9extern const CLID &CLID_EvtRecEvent;
10
11class EvtRecEvent : public DataObject {
12
13 public:
14
15 EvtRecEvent(): m_tottks(0), m_nchrg(0), m_nneu(0), m_nvee(0), m_ndtag(0) {}
16 virtual ~EvtRecEvent() {}
17
18 virtual const CLID& clID() const { return EvtRecEvent::classID();}
19 static const CLID& classID() { return CLID_EvtRecEvent; }
20 // Global event info: number of track, vertex, fill after reconstruction
21 int totalTracks() const {return m_tottks;}
22 void setTotalTracks(const int tottks) {m_tottks = tottks;}
23
24 int totalCharged() const {return m_nchrg;}
25 void setTotalCharged(const int nchrg) {m_nchrg = nchrg;}
26
27 int totalNeutral() const {return m_nneu;}
28 void setTotalNeutral(const int nneu) {m_nneu = nneu;}
29
30 int numberOfVee() const {return m_nvee;}
31 void setNumberOfVee(const int nvee) {m_nvee = nvee;}
32
33 int numberOfPi0() const {return m_npi0;}
34 void setNumberOfPi0(const int npi0) {m_npi0 = npi0;}
35
36 int numberOfDTag() const {return m_ndtag;}
37 void setNumberOfDTag(const int ndtag) {m_ndtag = ndtag;}
38
39 private:
40 // Global event info: number of track, vertex in events
41 int m_tottks; // total tracks
42 int m_nchrg; // total charged tracks
43 int m_nneu; // total neutral tracks
44 int m_nvee; // number of VEEs: Ks, Lambda, gamma conversion
45 int m_npi0; // number of Pi0
46 int m_ndtag; // number of DTags
47
48};
49#endif
50
const CLID & CLID_EvtRecEvent
void setTotalTracks(const int tottks)
Definition EvtRecEvent.h:22
static const CLID & classID()
Definition EvtRecEvent.h:19
void setNumberOfPi0(const int npi0)
Definition EvtRecEvent.h:34
virtual const CLID & clID() const
Definition EvtRecEvent.h:18
virtual ~EvtRecEvent()
Definition EvtRecEvent.h:16
int numberOfVee() const
Definition EvtRecEvent.h:30
void setNumberOfVee(const int nvee)
Definition EvtRecEvent.h:31
int numberOfDTag() const
Definition EvtRecEvent.h:36
void setTotalNeutral(const int nneu)
Definition EvtRecEvent.h:28
int numberOfPi0() const
Definition EvtRecEvent.h:33
int totalTracks() const
Definition EvtRecEvent.h:21
void setTotalCharged(const int nchrg)
Definition EvtRecEvent.h:25
void setNumberOfDTag(const int ndtag)
Definition EvtRecEvent.h:37
int totalNeutral() const
Definition EvtRecEvent.h:27
int totalCharged() const
Definition EvtRecEvent.h:24