#include <TrigData.h>
Definition at line 12 of file TrigData.h.
◆ TrigData() [1/2]
◆ TrigData() [2/2]
TrigData::TrigData |
( |
int |
window, |
|
|
int |
timing, |
|
|
const int * |
trigCond, |
|
|
const int * |
trigChan, |
|
|
bool |
preScale |
|
) |
| |
Definition at line 55 of file TrigData.cxx.
56{
57 m_timeWindow = window;
58 m_Timing = timing;
59 m_preScale = preScale;
60 for(int i = 0; i < 48; i++) {
61 if(i<16) {
62 m_trigChan[i] = trigChan[i];
63 }
64 m_trigcond[i] = trigCond[i];
65 }
66}
◆ ~TrigData()
virtual TrigData::~TrigData |
( |
| ) |
|
|
inlinevirtual |
◆ classID()
static const CLID & TrigData::classID |
( |
| ) |
|
|
inlinestatic |
Definition at line 22 of file TrigData.h.
const CLID & CLID_TrigData
Referenced by clID().
◆ clID()
virtual const CLID & TrigData::clID |
( |
| ) |
const |
|
inlinevirtual |
Definition at line 21 of file TrigData.h.
static const CLID & classID()
◆ getPreScale()
const bool TrigData::getPreScale |
( |
| ) |
const |
|
inline |
◆ getTimeWindow()
const int TrigData::getTimeWindow |
( |
| ) |
const |
|
inline |
◆ getTimingType()
const int TrigData::getTimingType |
( |
| ) |
const |
|
inline |
◆ getTrigChannel() [1/2]
const int * TrigData::getTrigChannel |
( |
| ) |
const |
|
inline |
◆ getTrigChannel() [2/2]
const int TrigData::getTrigChannel |
( |
int |
i | ) |
const |
|
inline |
◆ getTrigCondition() [1/2]
const int * TrigData::getTrigCondition |
( |
| ) |
const |
|
inline |
◆ getTrigCondition() [2/2]
const int TrigData::getTrigCondition |
( |
int |
i | ) |
const |
|
inline |
◆ getTrigCondName()
const std::string TrigData::getTrigCondName |
( |
int |
i | ) |
const |
|
inline |
Definition at line 32 of file TrigData.h.
32{ return s_CONDITIONS[i]; }
◆ print()
void TrigData::print |
( |
| ) |
const |
Definition at line 68 of file TrigData.cxx.
68 {
69 std::cout << "TrigData contains the following effective conditions:" << std::endl;
70 for (int i = 0; i < 48; i++) {
71 if(m_trigcond[i] == 1) std::cout << '\t' << s_CONDITIONS[i] << std::endl;
72 }
73}
◆ setPreScale()
void TrigData::setPreScale |
( |
bool |
i | ) |
|
|
inline |
◆ setTimeWindow()
void TrigData::setTimeWindow |
( |
int |
i | ) |
|
|
inline |
◆ setTimingType()
void TrigData::setTimingType |
( |
int |
i | ) |
|
|
inline |
◆ setTrigChannel() [1/2]
void TrigData::setTrigChannel |
( |
const int * |
chan | ) |
|
|
inline |
Definition at line 27 of file TrigData.h.
27{ for(int i = 0; i < 16; i++) m_trigChan[i] = chan[i]; }
◆ setTrigChannel() [2/2]
void TrigData::setTrigChannel |
( |
int |
i, |
|
|
int |
j |
|
) |
| |
|
inline |
◆ setTrigCondition() [1/2]
void TrigData::setTrigCondition |
( |
const int * |
cond | ) |
|
|
inline |
Definition at line 25 of file TrigData.h.
25{ for(int i = 0; i < 48; i++) m_trigcond[i] = cond[i]; }
◆ setTrigCondition() [2/2]
void TrigData::setTrigCondition |
( |
int |
i, |
|
|
int |
j |
|
) |
| |
|
inline |
The documentation for this class was generated from the following files: