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
7
using namespace
EventModel
;
8
9
extern
const
CLID&
CLID_EvtRecEvent
;
10
11
class
EvtRecEvent
:
public
DataObject {
12
13
public
:
14
EvtRecEvent
() {}
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
38
private
:
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
CLID_EvtRecEvent
const CLID & CLID_EvtRecEvent
Definition
EventModel.cxx:367
CLID_EvtRecEvent
const CLID & CLID_EvtRecEvent
Definition
EventModel.cxx:367
EvtRecEvent::setTotalTracks
void setTotalTracks(const int tottks)
Definition
Event/EvtRecEvent/include/EvtRecEvent/EvtRecEvent.h:21
EvtRecEvent::classID
static const CLID & classID()
Definition
Event/EvtRecEvent/include/EvtRecEvent/EvtRecEvent.h:18
EvtRecEvent::setNumberOfPi0
void setNumberOfPi0(const int npi0)
Definition
Event/EvtRecEvent/include/EvtRecEvent/EvtRecEvent.h:33
EvtRecEvent::clID
virtual const CLID & clID() const
Definition
Event/EvtRecEvent/include/EvtRecEvent/EvtRecEvent.h:17
EvtRecEvent::~EvtRecEvent
virtual ~EvtRecEvent()
Definition
Event/EvtRecEvent/include/EvtRecEvent/EvtRecEvent.h:15
EvtRecEvent::numberOfVee
int numberOfVee() const
Definition
Event/EvtRecEvent/include/EvtRecEvent/EvtRecEvent.h:29
EvtRecEvent::setNumberOfVee
void setNumberOfVee(const int nvee)
Definition
Event/EvtRecEvent/include/EvtRecEvent/EvtRecEvent.h:30
EvtRecEvent::numberOfDTag
int numberOfDTag() const
Definition
Event/EvtRecEvent/include/EvtRecEvent/EvtRecEvent.h:35
EvtRecEvent::EvtRecEvent
EvtRecEvent()
Definition
Event/EvtRecEvent/include/EvtRecEvent/EvtRecEvent.h:14
EvtRecEvent::setTotalNeutral
void setTotalNeutral(const int nneu)
Definition
Event/EvtRecEvent/include/EvtRecEvent/EvtRecEvent.h:27
EvtRecEvent::numberOfPi0
int numberOfPi0() const
Definition
Event/EvtRecEvent/include/EvtRecEvent/EvtRecEvent.h:32
EvtRecEvent::totalTracks
int totalTracks() const
Definition
Event/EvtRecEvent/include/EvtRecEvent/EvtRecEvent.h:20
EvtRecEvent::setTotalCharged
void setTotalCharged(const int nchrg)
Definition
Event/EvtRecEvent/include/EvtRecEvent/EvtRecEvent.h:24
EvtRecEvent::setNumberOfDTag
void setNumberOfDTag(const int ndtag)
Definition
Event/EvtRecEvent/include/EvtRecEvent/EvtRecEvent.h:36
EvtRecEvent::totalNeutral
int totalNeutral() const
Definition
Event/EvtRecEvent/include/EvtRecEvent/EvtRecEvent.h:26
EvtRecEvent::totalCharged
int totalCharged() const
Definition
Event/EvtRecEvent/include/EvtRecEvent/EvtRecEvent.h:23
EventModel
Definition
Event/EventModel/include/EventModel/EventModel.h:29
8.0.0
BOSS_Source
Event
EvtRecEvent
include
EvtRecEvent
EvtRecEvent.h
Generated by
1.16.1