BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/EvtRecEvent/EvtRecEvent-00-02-02/EvtRecEvent/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"
5#include "EventModel/EventModel.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
Definition: EventModel.cxx:372
const CLID & CLID_EvtRecEvent
Definition: EventModel.cxx:372