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"
5
#include "
EventModel/EventModel.h
"
6
7
using namespace
EventModel
;
8
9
extern
const
CLID &
CLID_EvtRecEvent
;
10
11
class
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
EventModel.h
CLID_EvtRecEvent
const CLID & CLID_EvtRecEvent
Definition
EventModel.cxx:445
EvtRecEvent
Definition
EvtRecEvent.h:11
EvtRecEvent::setTotalTracks
void setTotalTracks(const int tottks)
Definition
EvtRecEvent.h:22
EvtRecEvent::classID
static const CLID & classID()
Definition
EvtRecEvent.h:19
EvtRecEvent::setNumberOfPi0
void setNumberOfPi0(const int npi0)
Definition
EvtRecEvent.h:34
EvtRecEvent::clID
virtual const CLID & clID() const
Definition
EvtRecEvent.h:18
EvtRecEvent::~EvtRecEvent
virtual ~EvtRecEvent()
Definition
EvtRecEvent.h:16
EvtRecEvent::numberOfVee
int numberOfVee() const
Definition
EvtRecEvent.h:30
EvtRecEvent::setNumberOfVee
void setNumberOfVee(const int nvee)
Definition
EvtRecEvent.h:31
EvtRecEvent::numberOfDTag
int numberOfDTag() const
Definition
EvtRecEvent.h:36
EvtRecEvent::EvtRecEvent
EvtRecEvent()
Definition
EvtRecEvent.h:15
EvtRecEvent::setTotalNeutral
void setTotalNeutral(const int nneu)
Definition
EvtRecEvent.h:28
EvtRecEvent::numberOfPi0
int numberOfPi0() const
Definition
EvtRecEvent.h:33
EvtRecEvent::totalTracks
int totalTracks() const
Definition
EvtRecEvent.h:21
EvtRecEvent::setTotalCharged
void setTotalCharged(const int nchrg)
Definition
EvtRecEvent.h:25
EvtRecEvent::setNumberOfDTag
void setNumberOfDTag(const int ndtag)
Definition
EvtRecEvent.h:37
EvtRecEvent::totalNeutral
int totalNeutral() const
Definition
EvtRecEvent.h:27
EvtRecEvent::totalCharged
int totalCharged() const
Definition
EvtRecEvent.h:24
EventModel
Definition
EventModel.h:29
6.6.5.i
Event
EvtRecEvent
EvtRecEvent-00-02-03
EvtRecEvent
EvtRecEvent.h
Generated by
1.12.0