#include <ESDCCHeaderBlock.h>
Public Types | |
enum | ESDCCRunType { PEDESTAL_RUN = 1, TESTPULSE_RUN = 2, COSMIC_RUN = 3, BEAM_RUN = 4, PHYSICS_RUN = 5, TEST_RUN = 6, GLOBAL_COSMIC_RUN = 7 } |
enum | ESSeqType { STD_SEQ = 0, DELTASCAN_SEQ = 1, DELAYSCAN_SEQ = 2, PULSESHAPE_SEQ = 3 } |
enum | ESTriggerType { PHYSICS_TRIGGER = 1, CALIBRATION_TRIGGER = 2, TEST_TRIGGER = 3, TECHNICAL_EXTERNAL_TRIGGER = 4 } |
typedef int | key_type |
Public Member Functions | |
ESDCCHeaderBlock () | |
ESDCCHeaderBlock (const int &dccId) | |
const int | fedId () const |
const std::vector< int > & | getADCChannel () const |
const std::vector< int > & | getADCChannelStatus () const |
int | getBC () const |
int | getBeginOfSpillLV1 () const |
int | getBeginOfSpillMiliSec () const |
int | getBeginOfSpillSec () const |
int | getBMMeasurements () const |
int | getBX () const |
int | getCAMACError () const |
int | getCompressionFlag () const |
int | getDAC () const |
int | getDCCErrors () const |
int | getEndOfSpillLV1 () const |
int | getEndOfSpillMiliSec () const |
int | getEndOfSpillSec () const |
int | getEV () const |
int | getEventInSpill () const |
int | getEventLength () const |
const std::vector< int > & | getFEChannelStatus () const |
int | getGain () const |
int | getLV1 () const |
int | getMajorVersion () const |
int | getMinorVersion () const |
int | getOptoBC0 () const |
int | getOptoBC1 () const |
int | getOptoBC2 () const |
int | getOptoRX0 () const |
int | getOptoRX1 () const |
int | getOptoRX2 () const |
int | getOrbitNumber () const |
int | getPacketLength () const |
int | getPrecision () const |
int | getRunNumber () const |
int | getRunType () const |
int | getSeqType () const |
int | getSpillNumber () const |
const std::vector< int > & | getTDCChannel () const |
const std::vector< int > & | getTDCChannelStatus () const |
int | getTimeStampSec () const |
int | getTimeStampUSec () const |
int | getTriggerType () const |
int | getVMEError () const |
const int & | id () const |
void | setADCChannel (const std::vector< int > &ADCch) |
void | setADCChannelStatus (const std::vector< int > &ADCch_status) |
void | setBC (const int &bc) |
void | setBeginOfSpillLV1 (const int &beginOfSpillLV1) |
void | setBeginOfSpillMilliSec (const int &beginOfSpillMilliSec) |
void | setBeginOfSpillSec (const int &beginOfSpillSec) |
void | setBMMeasurements (const int &BMMeasurements) |
void | setBX (const int &BX) |
void | setCAMACError (const int &camacErr) |
void | setCompressionFlag (const int &compFlag) |
void | setDAC (const int &dac) |
void | setDCCErrors (const int &dccErrs) |
void | setEndOfSpillLV1 (const int &endOfSpillLV1) |
void | setEndOfSpillMilliSec (const int &endOfSpillMilliSec) |
void | setEndOfSpillSec (const int &endOfSpillSec) |
void | setEV (const int &ev) |
void | setEventInSpill (const int &evtInSpill) |
void | setEventLength (const int &evtLen) |
void | setFEChannelStatus (const std::vector< int > &FEch) |
void | setFedId (const int &fedId) |
void | setGain (const int &gain) |
void | setId (const int &dccId) |
void | setLV1 (const int &LV1) |
void | setMajorVersion (const int &vmajor) |
void | setMinorVersion (const int &vminor) |
void | setOptoBC0 (const int &optoBC0) |
void | setOptoBC1 (const int &optoBC1) |
void | setOptoBC2 (const int &optoBC2) |
void | setOptoRX0 (const int &optoRX0) |
void | setOptoRX1 (const int &optoRX1) |
void | setOptoRX2 (const int &optoRX2) |
void | setOrbitNumber (const int &orbit) |
void | setPacketLength (const int &packetLen) |
void | setPrecision (const int &precision) |
void | setRunNumber (const int &runNum) |
void | setRunType (const int &runType) |
void | setSeqType (const int &seqType) |
void | setSpillNumber (const int &spillNum) |
void | setTDCChannel (const std::vector< int > &TDCch) |
void | setTDCChannelStatus (const std::vector< int > &TDCch_status) |
void | setTimeStampSec (const int ×tamp_sec) |
void | setTimeStampUSec (const int ×tamp_usec) |
void | setTriggerType (const int &trgType) |
void | setVMEError (const int &vmeErr) |
Private Attributes | |
std::vector< int > | ADCch_ |
std::vector< int > | ADCch_status_ |
int | bc_ |
int | beginOfSpillLV1_ |
int | beginOfSpillMilliSec_ |
int | beginOfSpillSec_ |
int | BMMeasurements_ |
int | BX_ |
int | camacErr_ |
int | compFlag_ |
int | dac_ |
int | dccErrs_ |
int | dccId_ |
int | endOfSpillLV1_ |
int | endOfSpillMilliSec_ |
int | endOfSpillSec_ |
int | ev_ |
int | evtInSpill_ |
int | evtLen_ |
std::vector< int > | FEch_ |
int | fedId_ |
int | gain_ |
int | LV1_ |
int | optoBC0_ |
int | optoBC1_ |
int | optoBC2_ |
int | optoRX0_ |
int | optoRX1_ |
int | optoRX2_ |
int | orbit_ |
int | packetLen_ |
int | precision_ |
int | runNum_ |
int | runType_ |
int | seqType_ |
int | spillNum_ |
std::vector< int > | TDCch_ |
std::vector< int > | TDCch_status_ |
int | timestamp_sec_ |
int | timestamp_usec_ |
int | trgType_ |
int | vmajor_ |
int | vmeErr_ |
int | vminor_ |
Definition at line 6 of file ESDCCHeaderBlock.h.
typedef int ESDCCHeaderBlock::key_type |
Definition at line 10 of file ESDCCHeaderBlock.h.
Enumerator | |
---|---|
PEDESTAL_RUN | |
TESTPULSE_RUN | |
COSMIC_RUN | |
BEAM_RUN | |
PHYSICS_RUN | |
TEST_RUN | |
GLOBAL_COSMIC_RUN |
Definition at line 12 of file ESDCCHeaderBlock.h.
Enumerator | |
---|---|
STD_SEQ | |
DELTASCAN_SEQ | |
DELAYSCAN_SEQ | |
PULSESHAPE_SEQ |
Definition at line 22 of file ESDCCHeaderBlock.h.
Enumerator | |
---|---|
PHYSICS_TRIGGER | |
CALIBRATION_TRIGGER | |
TEST_TRIGGER | |
TECHNICAL_EXTERNAL_TRIGGER |
Definition at line 29 of file ESDCCHeaderBlock.h.
ESDCCHeaderBlock::ESDCCHeaderBlock | ( | ) |
Definition at line 3 of file ESDCCHeaderBlock.cc.
References ADCch_, ADCch_status_, bc_, beginOfSpillLV1_, beginOfSpillMilliSec_, beginOfSpillSec_, BMMeasurements_, BX_, camacErr_, compFlag_, dac_, dccErrs_, dccId_, endOfSpillLV1_, endOfSpillMilliSec_, endOfSpillSec_, ev_, evtInSpill_, evtLen_, FEch_, fedId_, gain_, LV1_, optoBC0_, optoBC1_, optoBC2_, optoRX0_, optoRX1_, optoRX2_, orbit_, packetLen_, precision_, runNum_, runType_, seqType_, spillNum_, TDCch_, TDCch_status_, timestamp_sec_, timestamp_usec_, trgType_, vmajor_, vmeErr_, and vminor_.
ESDCCHeaderBlock::ESDCCHeaderBlock | ( | const int & | dccId | ) |
Definition at line 53 of file ESDCCHeaderBlock.cc.
References ADCch_, ADCch_status_, bc_, beginOfSpillLV1_, beginOfSpillMilliSec_, beginOfSpillSec_, BMMeasurements_, BX_, camacErr_, compFlag_, dac_, dccErrs_, ecaldqm::dccId(), dccId_, endOfSpillLV1_, endOfSpillMilliSec_, endOfSpillSec_, ev_, evtInSpill_, evtLen_, FEch_, fedId_, gain_, LV1_, optoBC0_, optoBC1_, optoBC2_, optoRX0_, optoRX1_, optoRX2_, orbit_, packetLen_, precision_, runNum_, runType_, seqType_, spillNum_, TDCch_, TDCch_status_, timestamp_sec_, timestamp_usec_, trgType_, vmajor_, vmeErr_, and vminor_.
|
inline |
Definition at line 42 of file ESDCCHeaderBlock.h.
References fedId_.
Referenced by ESIntegrityTask::analyze(), ESRawDataTask::analyze(), ESFEDIntegrityTask::analyze(), and setFedId().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 92 of file ESDCCHeaderBlock.h.
References BX_.
Referenced by ESIntegrityTask::analyze(), ESRawDataTask::analyze(), and ESFEDIntegrityTask::analyze().
|
inline |
|
inline |
|
inline |
Definition at line 95 of file ESDCCHeaderBlock.h.
References dac_.
Referenced by ESIntegrityTask::analyze().
|
inline |
Definition at line 97 of file ESDCCHeaderBlock.h.
References dccErrs_.
Referenced by ESIntegrityTask::analyze(), ESFEDIntegrityTask::analyze(), and ESTrendTask::analyze().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 112 of file ESDCCHeaderBlock.h.
References FEch_.
Referenced by ESIntegrityTask::analyze(), ESFEDIntegrityTask::analyze(), and ESTrendTask::analyze().
|
inline |
Definition at line 93 of file ESDCCHeaderBlock.h.
References gain_.
Referenced by ESIntegrityTask::analyze().
|
inline |
Definition at line 91 of file ESDCCHeaderBlock.h.
References LV1_.
Referenced by ESRawDataTask::analyze(), and ESFEDIntegrityTask::analyze().
|
inline |
|
inline |
|
inline |
Definition at line 109 of file ESDCCHeaderBlock.h.
References optoBC0_.
Referenced by ESIntegrityTask::analyze().
|
inline |
Definition at line 110 of file ESDCCHeaderBlock.h.
References optoBC1_.
Referenced by ESIntegrityTask::analyze().
|
inline |
Definition at line 111 of file ESDCCHeaderBlock.h.
References optoBC2_.
Referenced by ESIntegrityTask::analyze().
|
inline |
Definition at line 106 of file ESDCCHeaderBlock.h.
References optoRX0_.
Referenced by ESIntegrityTask::analyze(), ESFEDIntegrityTask::analyze(), and ESUnpacker::interpretRawData().
|
inline |
Definition at line 107 of file ESDCCHeaderBlock.h.
References optoRX1_.
Referenced by ESIntegrityTask::analyze(), ESFEDIntegrityTask::analyze(), and ESUnpacker::interpretRawData().
|
inline |
Definition at line 108 of file ESDCCHeaderBlock.h.
References optoRX2_.
Referenced by ESIntegrityTask::analyze(), ESFEDIntegrityTask::analyze(), and ESUnpacker::interpretRawData().
|
inline |
Definition at line 103 of file ESDCCHeaderBlock.h.
References orbit_.
Referenced by ESRawDataTask::analyze(), and ESFEDIntegrityTask::analyze().
|
inline |
|
inline |
Definition at line 94 of file ESDCCHeaderBlock.h.
References precision_.
Referenced by ESIntegrityTask::analyze().
|
inline |
|
inline |
Definition at line 99 of file ESDCCHeaderBlock.h.
References runType_.
Referenced by ESIntegrityTask::analyze().
|
inline |
Definition at line 100 of file ESDCCHeaderBlock.h.
References seqType_.
Referenced by ESIntegrityTask::analyze().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 46 of file ESDCCHeaderBlock.h.
References rpcdqm::BX, and BX_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
|
inline |
|
inline |
Definition at line 49 of file ESDCCHeaderBlock.h.
References dac_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
Definition at line 51 of file ESDCCHeaderBlock.h.
References dccErrs_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 70 of file ESDCCHeaderBlock.h.
|
inline |
|
inline |
|
inline |
Definition at line 66 of file ESDCCHeaderBlock.h.
References FEch_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
Definition at line 43 of file ESDCCHeaderBlock.h.
References fedId(), and fedId_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
Definition at line 47 of file ESDCCHeaderBlock.h.
References gain_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
|
inline |
Definition at line 45 of file ESDCCHeaderBlock.h.
References LV1_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
Definition at line 58 of file ESDCCHeaderBlock.h.
References vmajor_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
Definition at line 59 of file ESDCCHeaderBlock.h.
References vminor_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
Definition at line 63 of file ESDCCHeaderBlock.h.
References optoBC0_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
Definition at line 64 of file ESDCCHeaderBlock.h.
References optoBC1_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
Definition at line 65 of file ESDCCHeaderBlock.h.
References optoBC2_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
Definition at line 60 of file ESDCCHeaderBlock.h.
References optoRX0_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
Definition at line 61 of file ESDCCHeaderBlock.h.
References optoRX1_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
Definition at line 62 of file ESDCCHeaderBlock.h.
References optoRX2_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
Definition at line 57 of file ESDCCHeaderBlock.h.
References orbit_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
|
inline |
Definition at line 48 of file ESDCCHeaderBlock.h.
References precision_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
|
inline |
Definition at line 53 of file ESDCCHeaderBlock.h.
References runPedHist::runType, and runType_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
Definition at line 54 of file ESDCCHeaderBlock.h.
References seqType_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 55 of file ESDCCHeaderBlock.h.
References trgType_.
Referenced by ESUnpacker::interpretRawData().
|
inline |
|
private |
Definition at line 177 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getADCChannel(), and setADCChannel().
|
private |
Definition at line 176 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getADCChannelStatus(), and setADCChannelStatus().
|
private |
Definition at line 161 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getBC(), and setBC().
|
private |
Definition at line 168 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getBeginOfSpillLV1(), and setBeginOfSpillLV1().
|
private |
Definition at line 165 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getBeginOfSpillMiliSec(), and setBeginOfSpillMilliSec().
|
private |
Definition at line 164 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getBeginOfSpillSec(), and setBeginOfSpillSec().
|
private |
Definition at line 163 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getBMMeasurements(), and setBMMeasurements().
|
private |
Definition at line 139 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getBX(), and setBX().
|
private |
Definition at line 174 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getCAMACError(), and setCAMACError().
|
private |
Definition at line 149 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getCompressionFlag(), and setCompressionFlag().
|
private |
Definition at line 142 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getDAC(), and setDAC().
|
private |
Definition at line 144 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getDCCErrors(), and setDCCErrors().
|
private |
Definition at line 136 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), id(), and setId().
|
private |
Definition at line 169 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getEndOfSpillLV1(), and setEndOfSpillLV1().
|
private |
Definition at line 167 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getEndOfSpillMiliSec(), and setEndOfSpillMilliSec().
|
private |
Definition at line 166 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getEndOfSpillSec(), and setEndOfSpillSec().
|
private |
Definition at line 162 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getEV(), and setEV().
|
private |
Definition at line 173 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getEventInSpill(), and setEventInSpill().
|
private |
Definition at line 143 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getEventLength(), and setEventLength().
|
private |
Definition at line 159 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getFEChannelStatus(), and setFEChannelStatus().
|
private |
Definition at line 137 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), fedId(), and setFedId().
|
private |
Definition at line 140 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getGain(), and setGain().
|
private |
Definition at line 138 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getLV1(), and setLV1().
|
private |
Definition at line 156 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getOptoBC0(), and setOptoBC0().
|
private |
Definition at line 157 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getOptoBC1(), and setOptoBC1().
|
private |
Definition at line 158 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getOptoBC2(), and setOptoBC2().
|
private |
Definition at line 153 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getOptoRX0(), and setOptoRX0().
|
private |
Definition at line 154 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getOptoRX1(), and setOptoRX1().
|
private |
Definition at line 155 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getOptoRX2(), and setOptoRX2().
|
private |
Definition at line 150 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getOrbitNumber(), and setOrbitNumber().
|
private |
Definition at line 160 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getPacketLength(), and setPacketLength().
|
private |
Definition at line 141 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getPrecision(), and setPrecision().
|
private |
Definition at line 145 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getRunNumber(), and setRunNumber().
|
private |
Definition at line 146 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getRunType(), and setRunType().
|
private |
Definition at line 147 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getSeqType(), and setSeqType().
|
private |
Definition at line 172 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getSpillNumber(), and setSpillNumber().
|
private |
Definition at line 179 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getTDCChannel(), and setTDCChannel().
|
private |
Definition at line 178 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getTDCChannelStatus(), and setTDCChannelStatus().
|
private |
Definition at line 170 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getTimeStampSec(), and setTimeStampSec().
|
private |
Definition at line 171 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getTimeStampUSec(), and setTimeStampUSec().
|
private |
Definition at line 148 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getTriggerType(), and setTriggerType().
|
private |
Definition at line 151 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getMajorVersion(), and setMajorVersion().
|
private |
Definition at line 175 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getVMEError(), and setVMEError().
|
private |
Definition at line 152 of file ESDCCHeaderBlock.h.
Referenced by ESDCCHeaderBlock(), getMinorVersion(), and setMinorVersion().