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