#include <TrigData.h>
Public Member Functions | |
virtual const CLID & | clID () const |
virtual const CLID & | clID () const |
const bool | getPreScale () const |
const bool | getPreScale () const |
const int | getTimeWindow () const |
const int | getTimeWindow () const |
const int | getTimingType () const |
const int | getTimingType () const |
const int * | getTrigChannel () const |
const int | getTrigChannel (int i) const |
const int * | getTrigChannel () const |
const int | getTrigChannel (int i) const |
const int * | getTrigCondition () const |
const int | getTrigCondition (int i) const |
const int * | getTrigCondition () const |
const int | getTrigCondition (int i) const |
const std::string | getTrigCondName (int i) const |
const std::string | getTrigCondName (int i) const |
void | print () const |
void | print () const |
void | setPreScale (bool i) |
void | setPreScale (bool i) |
void | setTimeWindow (int i) |
void | setTimeWindow (int i) |
void | setTimingType (int i) |
void | setTimingType (int i) |
void | setTrigChannel (const int *chan) |
void | setTrigChannel (int i, int j) |
void | setTrigChannel (const int *chan) |
void | setTrigChannel (int i, int j) |
void | setTrigCondition (const int *cond) |
void | setTrigCondition (int i, int j) |
void | setTrigCondition (const int *cond) |
void | setTrigCondition (int i, int j) |
TrigData (int window, int timing, const int *trigCond, const int *trigChan, bool preScale) | |
TrigData () | |
TrigData (int window, int timing, const int *trigCond, const int *trigChan, bool preScale) | |
TrigData () | |
virtual | ~TrigData () |
virtual | ~TrigData () |
Static Public Member Functions | |
const CLID & | classID () |
const CLID & | classID () |
Private Attributes | |
bool | m_preScale |
int | m_timeWindow |
int | m_Timing |
int | m_trigChan [16] |
int | m_trigcond [48] |
Static Private Attributes | |
const std::string | s_CONDITIONS [48] |
|
00015 {}
|
|
00056 { 00057 m_timeWindow = window; 00058 m_Timing = timing; 00059 m_preScale = preScale; 00060 for(int i = 0; i < 48; i++) { 00061 if(i<16) { 00062 m_trigChan[i] = trigChan[i]; 00063 } 00064 m_trigcond[i] = trigCond[i]; 00065 } 00066 }
|
|
00019 {}
|
|
00015 {}
|
|
|
|
00019 {}
|
|
00022 { return CLID_TrigData; }
|
|
00022 { return CLID_TrigData; }
|
|
00021 { return TrigData::classID(); }
|
|
00021 { return TrigData::classID(); }
|
|
00039 { return m_preScale; }
|
|
00039 { return m_preScale; }
|
|
00037 { return m_timeWindow; }
|
|
00037 { return m_timeWindow; }
|
|
00038 { return m_Timing; }
|
|
00038 { return m_Timing; }
|
|
00036 { return m_trigChan; }
|
|
00035 { return m_trigChan[i]; }
|
|
00036 { return m_trigChan; }
|
|
00035 { return m_trigChan[i]; }
|
|
00034 { return m_trigcond; }
|
|
00033 { return m_trigcond[i]; }
|
|
00034 { return m_trigcond; }
|
|
00033 { return m_trigcond[i]; }
|
|
00032 { return s_CONDITIONS[i]; }
|
|
00032 { return s_CONDITIONS[i]; }
|
|
|
|
00068 { 00069 std::cout << "TrigData contains the following effective conditions:" << std::endl; 00070 for (int i = 0; i < 48; i++) { 00071 if(m_trigcond[i] == 1) std::cout << '\t' << s_CONDITIONS[i] << std::endl; 00072 } 00073 }
|
|
00030 { m_preScale = i; }
|
|
00030 { m_preScale = i; }
|
|
00028 { m_timeWindow = i; }
|
|
00028 { m_timeWindow = i; }
|
|
00029 { m_Timing = i; }
|
|
00029 { m_Timing = i; }
|
|
00027 { for(int i = 0; i < 16; i++) m_trigChan[i] = chan[i]; }
|
|
00026 { m_trigChan[i] = j; }
|
|
00027 { for(int i = 0; i < 16; i++) m_trigChan[i] = chan[i]; }
|
|
00026 { m_trigChan[i] = j; }
|
|
00025 { for(int i = 0; i < 48; i++) m_trigcond[i] = cond[i]; }
|
|
00024 { m_trigcond[i] = j; }
|
|
00025 { for(int i = 0; i < 48; i++) m_trigcond[i] = cond[i]; }
|
|
00024 { m_trigcond[i] = j; }
|
|
|
|
|
|
|
|
|
|
|
|
|