CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
TrigGTDProvider.cxx
Go to the documentation of this file.
1#include "TrigEvent/TrigGTDProvider.h"
2TrigGTDProvider::TrigGTDProvider(const unsigned int boardIndex, const unsigned int dataType, const unsigned int timeWindow, const unsigned int GTDProviderTiming, const bool preScale,
3 const std::map<unsigned int, std::vector<unsigned int> > GTDProviderData, const std::vector<unsigned int> GTDProviderEvtType,
4 const std::map<unsigned int, std::vector<unsigned int> > Num_One,
5 const std::map<unsigned int, std::vector<unsigned int> > Num_Zero)
6{
7 m_dataType = dataType;
8 m_timeWindow = timeWindow;
9 m_boardIndex = boardIndex;
10 m_GTDProviderTiming = GTDProviderTiming;
11 m_preScale = preScale;
12 m_GTDProviderData = GTDProviderData;
13 m_GTDProviderEvtType = GTDProviderEvtType;
14 m_Num_One = Num_One;
15 m_Num_Zero = Num_Zero;
16}
17
18void TrigGTDProvider::setDataType(const unsigned int dataType) {
19 m_dataType = dataType;
20}
21
22void TrigGTDProvider::setTimeWindow(const unsigned int timeWindow) {
23 m_timeWindow = timeWindow;
24}
25
26void TrigGTDProvider::setBoardIndex(const unsigned int boardIndex) {
27 m_boardIndex = boardIndex;
28}
29
30void TrigGTDProvider::setTrigCondList(const std::map<unsigned int, std::vector<unsigned int> > GTDProviderData) {
31 m_GTDProviderData = GTDProviderData;
32}
33
34void TrigGTDProvider::setTrigEvtType(const std::vector<unsigned int> GTDProviderEvtType) {
35 m_GTDProviderEvtType = GTDProviderEvtType;
36}
37
38void TrigGTDProvider::setTrigTiming(const unsigned int GTDProviderTiming) {
39 m_GTDProviderTiming = GTDProviderTiming;
40}
41
42void TrigGTDProvider::setPreScale(const bool preScale) {
43 m_preScale = preScale;
44}
45
46void TrigGTDProvider::setNumOne(const std::map<unsigned int, std::vector<unsigned int> > Num_One) {
47 m_Num_One = Num_One;
48}
49
50void TrigGTDProvider::setNumZero(const std::map<unsigned int, std::vector<unsigned int> > Num_Zero) {
51 m_Num_Zero = Num_Zero;
52}
53
54unsigned int TrigGTDProvider::getDataType() const {
55 return m_dataType;
56}
57
58unsigned int TrigGTDProvider::getTimeWindow() const {
59 return m_timeWindow;
60}
61
62unsigned int TrigGTDProvider::getBoardIndex() const {
63 return m_boardIndex;
64}
65
66const std::map<unsigned int, std::vector<unsigned int> >& TrigGTDProvider::getTrigCondList() const {
67 return m_GTDProviderData;
68}
69
70const std::vector<unsigned int>& TrigGTDProvider::getTrigEvtType() const {
72}
73
74unsigned int TrigGTDProvider::getTrigTiming() const {
76}
77
79 return m_preScale;
80}
81
82const std::map<unsigned int, std::vector<unsigned int> >& TrigGTDProvider::getNumOne() const {
83 return m_Num_One;
84}
85
86const std::map<unsigned int, std::vector<unsigned int> >& TrigGTDProvider::getNumZero() const {
87 return m_Num_Zero;
88}
const std::vector< unsigned int > & getTrigEvtType() const
void setTrigTiming(const unsigned int GTDProviderTiming)
unsigned int getTrigTiming() const
const std::map< unsigned int, std::vector< unsigned int > > & getNumOne() const
void setDataType(const unsigned int dataType)
unsigned int getTimeWindow() const
void setBoardIndex(const unsigned int boardIndex)
std::map< unsigned int, std::vector< unsigned int > > m_Num_Zero
std::map< unsigned int, std::vector< unsigned int > > m_Num_One
void setTrigCondList(const std::map< unsigned int, std::vector< unsigned int > > GTDProviderData)
std::map< unsigned int, std::vector< unsigned int > > m_GTDProviderData
void setTimeWindow(const unsigned int timeWindow)
unsigned int getBoardIndex() const
const std::map< unsigned int, std::vector< unsigned int > > & getNumZero() const
const std::map< unsigned int, std::vector< unsigned int > > & getTrigCondList() const
void setNumOne(const std::map< unsigned int, std::vector< unsigned int > > Num_One)
bool getPreScale() const
unsigned int getDataType() const
void setTrigEvtType(const std::vector< unsigned int > GTDProviderEvtType)
void setPreScale(const bool preScale)
void setNumZero(const std::map< unsigned int, std::vector< unsigned int > > Num_Zero)