BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TrigGTDProvider.cxx
Go to the documentation of this file.
1#include "TrigEvent/TrigGTDProvider.h"
3 const unsigned int boardIndex, const unsigned int dataType, const unsigned int timeWindow,
4 const unsigned int GTDProviderTiming, const bool preScale,
5 const std::map<unsigned int, std::vector<unsigned int>> GTDProviderData,
6 const std::vector<unsigned int> GTDProviderEvtType,
7 const std::map<unsigned int, std::vector<unsigned int>> Num_One,
8 const std::map<unsigned int, std::vector<unsigned int>> Num_Zero ) {
9 m_dataType = dataType;
10 m_timeWindow = timeWindow;
11 m_boardIndex = boardIndex;
12 m_GTDProviderTiming = GTDProviderTiming;
13 m_preScale = preScale;
14 m_GTDProviderData = GTDProviderData;
15 m_GTDProviderEvtType = GTDProviderEvtType;
16 m_Num_One = Num_One;
17 m_Num_Zero = Num_Zero;
18}
19
20void TrigGTDProvider::setDataType( const unsigned int dataType ) { m_dataType = dataType; }
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
31 const std::map<unsigned int, std::vector<unsigned int>> GTDProviderData ) {
32 m_GTDProviderData = GTDProviderData;
33}
34
35void TrigGTDProvider::setTrigEvtType( const std::vector<unsigned int> GTDProviderEvtType ) {
36 m_GTDProviderEvtType = GTDProviderEvtType;
37}
38
39void TrigGTDProvider::setTrigTiming( const unsigned int GTDProviderTiming ) {
40 m_GTDProviderTiming = GTDProviderTiming;
41}
42
43void TrigGTDProvider::setPreScale( const bool preScale ) { m_preScale = preScale; }
44
46 const std::map<unsigned int, std::vector<unsigned int>> Num_One ) {
47 m_Num_One = Num_One;
48}
49
51 const std::map<unsigned int, std::vector<unsigned int>> Num_Zero ) {
52 m_Num_Zero = Num_Zero;
53}
54
55unsigned int TrigGTDProvider::getDataType() const { return m_dataType; }
56
57unsigned int TrigGTDProvider::getTimeWindow() const { return m_timeWindow; }
58
59unsigned int TrigGTDProvider::getBoardIndex() const { return m_boardIndex; }
60
61const std::map<unsigned int, std::vector<unsigned int>>&
65
66const std::vector<unsigned int>& TrigGTDProvider::getTrigEvtType() const {
68}
69
71
73
74const std::map<unsigned int, std::vector<unsigned int>>& TrigGTDProvider::getNumOne() const {
75 return m_Num_One;
76}
77
78const std::map<unsigned int, std::vector<unsigned int>>& TrigGTDProvider::getNumZero() const {
79 return m_Num_Zero;
80}
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)