#include <EcalDCCHeaderBlock.h>
Classes | |
struct | EcalDCCEventSettings |
Public Types | |
enum | EcalBasicTriggerType { PHYSICS_TRIGGER = 1, CALIBRATION_TRIGGER = 2, TEST_TRIGGER = 3, TECHNICAL_EXTERNAL_TRIGGER = 4 } |
enum | EcalDCCRuntype { COSMIC = 0, BEAMH4 = 1, BEAMH2 = 2, MTCC = 3, LASER_STD = 4, LASER_POWER_SCAN = 5, LASER_DELAY_SCAN = 6, TESTPULSE_SCAN_MEM = 7, TESTPULSE_MGPA = 8, PEDESTAL_STD = 9, PEDESTAL_OFFSET_SCAN = 10, PEDESTAL_25NS_SCAN = 11, LED_STD = 12, PHYSICS_GLOBAL = 13, COSMICS_GLOBAL = 14, HALO_GLOBAL = 15, LASER_GAP = 16, TESTPULSE_GAP = 17, PEDESTAL_GAP = 18, LED_GAP = 19, PHYSICS_LOCAL = 20, COSMICS_LOCAL = 21, HALO_LOCAL = 22, CALIB_LOCAL = 23 } |
typedef int | key_type |
For the sorted collection. More... | |
enum | TTC_DTT_TYPE { TTC_LASER = 4, TTC_LED = 5, TTC_TESTPULSE = 6, TTC_PEDESTAL = 7 } |
Public Member Functions | |
EcalDCCHeaderBlock () | |
EcalDCCHeaderBlock (const int &dccId) | |
const int | fedId () const |
short | getBasicTriggerType () const |
int | getBX () const |
int | getDCCErrors () const |
int | getDccInTCCCommand () const |
EcalDCCEventSettings | getEventSettings () const |
const std::vector< short > & | getFEBxs () const |
const std::vector< short > & | getFELv1 () const |
const std::vector< short > & | getFEStatus () const |
int | getLV1 () const |
short | getMemGain () const |
short | getMgpaGain () const |
int | getOrbit () const |
short | getRtHalf () const |
int | getRunNumber () const |
short | getRunType () const |
short | getSelectiveReadout () const |
short | getSRPBx () const |
short | getSRPLv1 () const |
short | getSrpStatus () const |
const std::vector< short > & | getTCCBx () const |
const std::vector< short > & | getTCCLv1 () const |
const std::vector< short > & | getTccStatus () const |
bool | getTestZeroSuppression () const |
const std::vector< short > & | getTriggerTowerFlag () const |
bool | getZeroSuppression () const |
short | getZs () const |
const int & | id () const |
void | setBasicTriggerType (const short &triggerType) |
void | setBX (const int &BX) |
void | setDccInTTCCommand (const int &dccInTTCCommand) |
void | setErrors (const int &dccErrors) |
void | setEventSettings (const EcalDCCEventSettings &EventSettings) |
void | setFEBx (const std::vector< short > &feBx) |
void | setFedId (const int &fedId) |
void | setFELv1 (const std::vector< short > &feLv1) |
void | setFEStatus (const std::vector< short > &feStatus) |
void | setId (const int &dccId) |
void | setLV1 (const int &LV1) |
void | setMemGain (const short &memGain) |
void | setMgpaGain (const short &mgpaGain) |
void | setOrbit (const int &orbit) |
void | setRtHalf (const short &rtHalf) |
void | setRunNumber (const int &run) |
void | setRunType (const short &runType) |
void | setSelectiveReadout (const bool &selectiveReadout) |
void | setSRPBx (const short &srpBx) |
void | setSRPLv1 (const short &srpLv1) |
void | setSrpStatus (const short &srpStatus) |
void | setTCCBx (const std::vector< short > &tccBx) |
void | setTCCLv1 (const std::vector< short > &tccLv1) |
void | setTccStatus (const std::vector< short > &tccStatus) |
void | setTestZeroSuppression (const bool &testZeroSuppression) |
void | setTriggerTowerFlags (const std::vector< short > &triggerTowerFlag) |
void | setZeroSuppression (const bool &zeroSuppression) |
void | setZs (const short &zs) |
Private Attributes | |
short | basic_trigger_type_ |
int | BX_ |
int | dccErrors_ |
int | dccId_ |
int | dccInTTCCommand_ |
EcalDCCEventSettings | EventSettings_ |
std::vector< short > | feBx_ |
int | fedId_ |
std::vector< short > | feLv1_ |
std::vector< short > | feStatus_ |
int | LV1event_ |
short | memGain_ |
short | mgpaGain_ |
int | orbitNumber_ |
short | rtHalf_ |
int | runNumber_ |
short | runType_ |
bool | selectiveReadout_ |
short | srpBx_ |
short | srpLv1_ |
short | srpStatus_ |
std::vector< short > | tccBx_ |
std::vector< short > | tccLv1_ |
std::vector< short > | tccStatus_ |
bool | testZeroSuppression_ |
std::vector< short > | triggerTowerFlag_ |
bool | zeroSuppression_ |
short | zs_ |
Container for ECAL specific DCC Header information
Definition at line 17 of file EcalDCCHeaderBlock.h.
typedef int EcalDCCHeaderBlock::key_type |
For the sorted collection.
Definition at line 19 of file EcalDCCHeaderBlock.h.
Enumerator | |
---|---|
PHYSICS_TRIGGER | |
CALIBRATION_TRIGGER | |
TEST_TRIGGER | |
TECHNICAL_EXTERNAL_TRIGGER |
Definition at line 57 of file EcalDCCHeaderBlock.h.
Definition at line 21 of file EcalDCCHeaderBlock.h.
Enumerator | |
---|---|
TTC_LASER | |
TTC_LED | |
TTC_TESTPULSE | |
TTC_PEDESTAL |
Definition at line 64 of file EcalDCCHeaderBlock.h.
EcalDCCHeaderBlock::EcalDCCHeaderBlock | ( | ) |
Definition at line 3 of file EcalDCCHeaderBlock.cc.
References basic_trigger_type_, BX_, dccErrors_, dccId_, dccInTTCCommand_, EcalDCCHeaderBlock::EcalDCCEventSettings::delay, EventSettings_, feBx_, fedId_, feLv1_, feStatus_, EcalDCCHeaderBlock::EcalDCCEventSettings::LaserFilter, EcalDCCHeaderBlock::EcalDCCEventSettings::LaserPower, LV1event_, MAX_TCC_SIZE, MAX_TT_SIZE, memGain_, EcalDCCHeaderBlock::EcalDCCEventSettings::MEMVinj, EcalDCCHeaderBlock::EcalDCCEventSettings::mgpa_content, mgpaGain_, orbitNumber_, EcalDCCHeaderBlock::EcalDCCEventSettings::ped_offset, rtHalf_, runNumber_, runType_, selectiveReadout_, srpBx_, srpLv1_, srpStatus_, tccBx_, tccLv1_, tccStatus_, testZeroSuppression_, triggerTowerFlag_, EcalDCCHeaderBlock::EcalDCCEventSettings::wavelength, zeroSuppression_, and zs_.
EcalDCCHeaderBlock::EcalDCCHeaderBlock | ( | const int & | dccId | ) |
Definition at line 48 of file EcalDCCHeaderBlock.cc.
References basic_trigger_type_, BX_, dccErrors_, ecaldqm::dccId(), dccId_, EcalDCCHeaderBlock::EcalDCCEventSettings::delay, EventSettings_, feBx_, fedId_, feLv1_, feStatus_, EcalDCCHeaderBlock::EcalDCCEventSettings::LaserFilter, EcalDCCHeaderBlock::EcalDCCEventSettings::LaserPower, LV1event_, MAX_TCC_SIZE, MAX_TT_SIZE, memGain_, EcalDCCHeaderBlock::EcalDCCEventSettings::MEMVinj, EcalDCCHeaderBlock::EcalDCCEventSettings::mgpa_content, mgpaGain_, orbitNumber_, EcalDCCHeaderBlock::EcalDCCEventSettings::ped_offset, rtHalf_, runNumber_, runType_, selectiveReadout_, srpBx_, srpLv1_, srpStatus_, tccBx_, tccLv1_, tccStatus_, testZeroSuppression_, triggerTowerFlag_, EcalDCCHeaderBlock::EcalDCCEventSettings::wavelength, and zeroSuppression_.
|
inline |
|
inline |
Definition at line 132 of file EcalDCCHeaderBlock.h.
References basic_trigger_type_.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 129 of file EcalDCCHeaderBlock.h.
References EventSettings_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 130 of file EcalDCCHeaderBlock.h.
References runType_.
Referenced by EcalDCCTBHeaderRuntypeDecoder::DecodeSetting(), EcalDCCHeaderRuntypeDecoder::DecodeSetting(), and EcalDCCHeaderRuntypeDecoder::DecodeSettingGlobal().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 139 of file EcalDCCHeaderBlock.h.
References testZeroSuppression_.
|
inline |
Definition at line 142 of file EcalDCCHeaderBlock.h.
References triggerTowerFlag_.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 100 of file EcalDCCHeaderBlock.h.
References basic_trigger_type_.
Referenced by DCCEventBlock::addHeaderToCollection(), EcalTBDaqFormatter::interpretRawData(), and EcalTB07DaqFormatter::interpretRawData().
|
inline |
Definition at line 95 of file EcalDCCHeaderBlock.h.
References rpcdqm::BX, and BX_.
Referenced by DCCEventBlock::addHeaderToCollection(), EcalTBDaqFormatter::interpretRawData(), and EcalTB07DaqFormatter::interpretRawData().
|
inline |
|
inline |
Definition at line 91 of file EcalDCCHeaderBlock.h.
References dccErrors_.
Referenced by DCCEventBlock::addHeaderToCollection(), EcalTBDaqFormatter::interpretRawData(), and EcalTB07DaqFormatter::interpretRawData().
|
inline |
Definition at line 97 of file EcalDCCHeaderBlock.h.
References EventSettings_.
Referenced by EcalDCCTBHeaderRuntypeDecoder::DecodeSetting(), EcalDCCHeaderRuntypeDecoder::DecodeSetting(), and EcalDCCHeaderRuntypeDecoder::DecodeSettingGlobal().
|
inline |
Definition at line 113 of file EcalDCCHeaderBlock.h.
References feBx_.
Referenced by DCCEventBlock::addHeaderToCollection().
|
inline |
Definition at line 89 of file EcalDCCHeaderBlock.h.
References fedId(), and fedId_.
Referenced by DCCEventBlock::addHeaderToCollection(), EcalTBDaqFormatter::interpretRawData(), and EcalTB07DaqFormatter::interpretRawData().
|
inline |
Definition at line 117 of file EcalDCCHeaderBlock.h.
References feLv1_.
Referenced by DCCEventBlock::addHeaderToCollection().
|
inline |
Definition at line 111 of file EcalDCCHeaderBlock.h.
References feStatus_.
Referenced by DCCEventBlock::addHeaderToCollection(), EcalTBDaqFormatter::interpretRawData(), and EcalTB07DaqFormatter::interpretRawData().
|
inline |
Definition at line 88 of file EcalDCCHeaderBlock.h.
References ecaldqm::dccId(), and dccId_.
Referenced by DCCEventBlock::addHeaderToCollection(), EcalTBDaqFormatter::interpretRawData(), and EcalTB07DaqFormatter::interpretRawData().
|
inline |
Definition at line 94 of file EcalDCCHeaderBlock.h.
References LV1event_.
Referenced by DCCEventBlock::addHeaderToCollection(), EcalTBDaqFormatter::interpretRawData(), and EcalTB07DaqFormatter::interpretRawData().
|
inline |
Definition at line 104 of file EcalDCCHeaderBlock.h.
References memGain_.
Referenced by EcalDCCTBHeaderRuntypeDecoder::Decode(), and EcalDCCHeaderRuntypeDecoder::Decode().
|
inline |
Definition at line 103 of file EcalDCCHeaderBlock.h.
References mgpaGain_.
Referenced by EcalDCCTBHeaderRuntypeDecoder::Decode(), and EcalDCCHeaderRuntypeDecoder::Decode().
|
inline |
Definition at line 96 of file EcalDCCHeaderBlock.h.
References orbitNumber_.
Referenced by DCCEventBlock::addHeaderToCollection(), EcalTBDaqFormatter::interpretRawData(), and EcalTB07DaqFormatter::interpretRawData().
|
inline |
|
inline |
Definition at line 93 of file EcalDCCHeaderBlock.h.
References writedatasetfile::run, and runNumber_.
Referenced by DCCEventBlock::addHeaderToCollection(), EcalTBDaqFormatter::interpretRawData(), and EcalTB07DaqFormatter::interpretRawData().
|
inline |
Definition at line 98 of file EcalDCCHeaderBlock.h.
References runType_.
Referenced by EcalDCCTBHeaderRuntypeDecoder::Decode(), EcalDCCHeaderRuntypeDecoder::Decode(), and EcalDCCHeaderRuntypeDecoder::DecodeSettingGlobal().
|
inline |
Definition at line 105 of file EcalDCCHeaderBlock.h.
References selectiveReadout_.
Referenced by DCCEventBlock::addHeaderToCollection(), EcalTBDaqFormatter::interpretRawData(), and EcalTB07DaqFormatter::interpretRawData().
|
inline |
Definition at line 115 of file EcalDCCHeaderBlock.h.
References srpBx_.
Referenced by DCCEventBlock::addHeaderToCollection().
|
inline |
Definition at line 119 of file EcalDCCHeaderBlock.h.
References srpLv1_.
Referenced by DCCEventBlock::addHeaderToCollection().
|
inline |
Definition at line 108 of file EcalDCCHeaderBlock.h.
References srpStatus_.
Referenced by DCCEventBlock::addHeaderToCollection(), EcalTBDaqFormatter::interpretRawData(), and EcalTB07DaqFormatter::interpretRawData().
|
inline |
Definition at line 114 of file EcalDCCHeaderBlock.h.
References tccBx_.
Referenced by DCCEventBlock::addHeaderToCollection().
|
inline |
Definition at line 118 of file EcalDCCHeaderBlock.h.
References tccLv1_.
Referenced by DCCEventBlock::addHeaderToCollection().
|
inline |
Definition at line 109 of file EcalDCCHeaderBlock.h.
References tccStatus_.
Referenced by DCCEventBlock::addHeaderToCollection(), EcalTBDaqFormatter::interpretRawData(), and EcalTB07DaqFormatter::interpretRawData().
|
inline |
Definition at line 107 of file EcalDCCHeaderBlock.h.
References testZeroSuppression_.
Referenced by DCCEventBlock::addHeaderToCollection(), EcalTBDaqFormatter::interpretRawData(), and EcalTB07DaqFormatter::interpretRawData().
|
inline |
Definition at line 110 of file EcalDCCHeaderBlock.h.
References triggerTowerFlag_.
|
inline |
Definition at line 106 of file EcalDCCHeaderBlock.h.
References zeroSuppression_.
Referenced by DCCEventBlock::addHeaderToCollection(), EcalTBDaqFormatter::interpretRawData(), and EcalTB07DaqFormatter::interpretRawData().
|
inline |
|
private |
Definition at line 162 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getBasicTriggerType(), and setBasicTriggerType().
|
private |
Definition at line 166 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getBX(), and setBX().
|
private |
Definition at line 156 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getDCCErrors(), and setErrors().
|
private |
Definition at line 154 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), id(), and setId().
|
private |
Definition at line 157 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getDccInTCCCommand(), and setDccInTTCCommand().
|
private |
Definition at line 167 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getEventSettings(), and setEventSettings().
|
private |
Definition at line 181 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getFEBxs(), and setFEBx().
|
private |
Definition at line 155 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), fedId(), and setFedId().
|
private |
Definition at line 185 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getFELv1(), and setFELv1().
|
private |
Definition at line 179 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getFEStatus(), and setFEStatus().
|
private |
Definition at line 164 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getLV1(), and setLV1().
|
private |
Definition at line 171 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getMemGain(), and setMemGain().
|
private |
Definition at line 170 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getMgpaGain(), and setMgpaGain().
|
private |
Definition at line 158 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getOrbit(), and setOrbit().
|
private |
Definition at line 169 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getRtHalf(), and setRtHalf().
|
private |
Definition at line 165 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getRunNumber(), and setRunNumber().
|
private |
Definition at line 159 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getRunType(), and setRunType().
|
private |
Definition at line 172 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getSelectiveReadout(), and setSelectiveReadout().
|
private |
Definition at line 183 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getSRPBx(), and setSRPBx().
|
private |
Definition at line 187 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getSRPLv1(), and setSRPLv1().
|
private |
Definition at line 176 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getSrpStatus(), and setSrpStatus().
|
private |
Definition at line 182 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getTCCBx(), and setTCCBx().
|
private |
Definition at line 186 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getTCCLv1(), and setTCCLv1().
|
private |
Definition at line 177 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getTccStatus(), and setTccStatus().
|
private |
Definition at line 173 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getTestZeroSuppression(), and setTestZeroSuppression().
|
private |
Definition at line 178 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getTriggerTowerFlag(), and setTriggerTowerFlags().
|
private |
Definition at line 174 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getZeroSuppression(), and setZeroSuppression().
|
private |
Definition at line 160 of file EcalDCCHeaderBlock.h.
Referenced by EcalDCCHeaderBlock(), getZs(), and setZs().