#include <EcalTBEventHeader.h>
Classes | |
struct | magnetsMeasurement |
Public Types | |
enum | LaserType { LBlue = 440, LGreen = 495, LRed = 709, LInfrared = 800 } |
typedef struct EcalTBEventHeader::magnetsMeasurement | magnetsMeasurement_t |
Public Member Functions | |
int | begBurstLV1A () const |
Returns the begin burst time (msec) More... | |
int | begBurstTimeMsec () const |
Returns the begin burst time (msec) More... | |
int | begBurstTimeSec () const |
Returns the begin burst time (sec) More... | |
short | burstNumber () const |
Returns the burst number. More... | |
int | crystalInBeam () const |
Returns the crystal which is being hit by the beam (in the internal SM numbering scheme) More... | |
int | date () const |
Returns the date in Unix time. More... | |
int | dbEventType () const |
Returns the event type as in the H4ROOTDB. More... | |
EcalTBEventHeader () | |
int | endBurstLV1A () const |
Returns the end burst time (sec) More... | |
int | endBurstTimeMsec () const |
Returns the end burst time (msec) More... | |
int | endBurstTimeSec () const |
Returns the end burst time (sec) More... | |
int | eventNumber () const |
Returns the event number. More... | |
std::string | eventType () const |
int | laserType () const |
return the event laser type More... | |
LaserType | laserTypeName () const |
int | lightIntensity () const |
return the laser intensity More... | |
const std::vector< magnetsMeasurement_t > & | magnetMeasurements () const |
int | nextCrystalInBeam () const |
int | nominalCrystalInBeam () const |
int | numberOfMagnetMeasurements () const |
unsigned int | phiTableIndex () const |
Returns the phi table index. More... | |
int | runNumber () const |
int | S6ADC () const |
returns S6 ADC value More... | |
int | scaler (int scalerId) const |
void | setBegBurstLV1A (const int &begBurstLV1A) |
void | setBegBurstTimeMsec (const int &begBurstTimeMsec) |
void | setBegBurstTimeSec (const int &begBurstTimeSec) |
void | setBurstNumber (const short &burstNumber) |
void | setCrystalInBeam (const DetId &crystalInBeam) |
void | setDate (const int &date) |
void | setEndBurstLV1A (const int &endBurstLV1A) |
void | setEndBurstTimeMsec (const int &endBurstTimeMsec) |
void | setEndBurstTimeSec (const int &endBurstTimeSec) |
void | setEventNumber (const int &eventNumber) |
void | setLaserType (const int &laserType) |
void | setLightIntensity (const int &lightIntensity) |
void | setMagnetMeasurements (const std::vector< magnetsMeasurement_t > &magnetMeasurements) |
void | setNextCrystalInBeam (const DetId &crystalInBeam) |
void | setNominalCrystalInBeam (const DetId &crystalInBeam) |
void | setNumberOfMagnetMeasurements (const int &numberOfMagnetMeasurements) |
void | setPhiTableIndex (const unsigned int &phiTableIndex) |
void | setRunNumber (const int &runNumber) |
void | setS6ADC (const int &S6ADC) |
void | setScalers (const std::vector< int > &scalers) |
void | setSmInBeam (const int &smInBeam) |
void | setSyncError (const bool &syncError) |
void | setTableIsMoving (const bool &tableIsMoving) |
void | setTableIsMovingAtBegSpill (const bool &tableIsMoving) |
void | setThetaTableIndex (const unsigned int &thetaTableIndex) |
void | setTriggerMask (const int &triggerMask) |
short | smInBeam () const |
Returns the burst number. More... | |
bool | syncError () const |
is there any sync error More... | |
bool | tableIsMoving () const |
Tell if the table is Moving. More... | |
bool | tableIsMovingAtBegSpill () const |
Tell if the table is Moving At the begin of the spill (available in runs only after 1st August 06) More... | |
unsigned int | thetaTableIndex () const |
Returns the theta table index. More... | |
int | triggerMask () const |
Returns the trigger mask. More... | |
~EcalTBEventHeader () | |
Private Attributes | |
int | begBurstLV1A_ |
int | begBurstTime_msec_ |
int | begBurstTime_sec_ |
Information from the ecalSupervisor. More... | |
short | burstNumber_ |
The number of the burst. More... | |
DetId | crystalInBeam_ |
Information from the table Supervisor. More... | |
int | date_ |
The date when the run was taken. More... | |
int | endBurstLV1A_ |
int | endBurstTime_msec_ |
int | endBurstTime_sec_ |
int | eventNumber_ |
The numner of the event. More... | |
int | laserType_ |
The laser type –see enum LaserType. More... | |
int | lightIntensity_ |
The light intensity. More... | |
std::vector< magnetsMeasurement_t > | magnetMeasurements_ |
DetId | nextCrystalInBeam_ |
The nominal next crystal which should be hit by the beam. More... | |
DetId | nominalCrystalInBeam_ |
The nominal crystal which should be hit by the beam. More... | |
int | numberOfMagnetMeasurements_ |
Magnet currents. More... | |
unsigned int | phiTableIndex_ |
Phi table index (Y) More... | |
int | runNumber_ |
The number of the run. More... | |
int | S6ADC_ |
ADC lecture of the S6 counter. More... | |
std::vector< int > | scalers_ |
short | smInBeam_ |
bool | syncError_ |
bool | tableIsMoving_ |
bool | tableIsMovingAtBegSpill_ |
unsigned int | thetaTableIndex_ |
Theta table index (X) More... | |
int | triggerMask_ |
The trigger mask. More... | |
Container for event ancilllary informations defined in TB raw data formats
Definition at line 14 of file EcalTBEventHeader.h.
SHOULD WE REMOVE ALL THIS??? Unique codes for the 4 lasers
The Caltech laser system (resp. R. Zhu, contact at CERN A. Bornheim) is a two-laser (2 times "YLF and Ti:Sapphire lasers") which provides 25 ns (FWHM) pulses at 4 different wavelengths:
Enumerator | |
---|---|
LBlue | |
LGreen |
440 nm |
LRed |
495 nm |
LInfrared |
709 nm |
Definition at line 105 of file EcalTBEventHeader.h.
|
inline |
Definition at line 16 of file EcalTBEventHeader.h.
|
inline |
Definition at line 18 of file EcalTBEventHeader.h.
|
inline |
Returns the begin burst time (msec)
Definition at line 58 of file EcalTBEventHeader.h.
References begBurstLV1A_.
Referenced by setBegBurstLV1A().
|
inline |
Returns the begin burst time (msec)
Definition at line 49 of file EcalTBEventHeader.h.
References begBurstTime_msec_.
Referenced by setBegBurstTimeMsec().
|
inline |
Returns the begin burst time (sec)
Definition at line 46 of file EcalTBEventHeader.h.
References begBurstTime_sec_.
Referenced by EcalStatusAnalyzer::analyze(), and setBegBurstTimeSec().
|
inline |
Returns the burst number.
Definition at line 40 of file EcalTBEventHeader.h.
References burstNumber_.
Referenced by operator<<(), and setBurstNumber().
|
inline |
Returns the crystal which is being hit by the beam (in the internal SM numbering scheme)
Definition at line 80 of file EcalTBEventHeader.h.
References crystalInBeam_, and EBDetId::ic().
Referenced by EcalSimpleTBAnalyzer::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), setCrystalInBeam(), setNextCrystalInBeam(), and setNominalCrystalInBeam().
|
inline |
Returns the date in Unix time.
Definition at line 75 of file EcalTBEventHeader.h.
References date_.
Referenced by setDate().
int EcalTBEventHeader::dbEventType | ( | ) | const |
Returns the event type as in the H4ROOTDB.
Definition at line 53 of file EcalTBEventHeader.cc.
References eventType(), laserTypeName(), LGreen, LInfrared, LRed, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by endBurstLV1A(), and EcalTBTDCRecInfoAlgo::reconstruct().
|
inline |
Returns the end burst time (sec)
Definition at line 61 of file EcalTBEventHeader.h.
References dbEventType(), endBurstLV1A_, eventType(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by setEndBurstLV1A().
|
inline |
Returns the end burst time (msec)
Definition at line 55 of file EcalTBEventHeader.h.
References endBurstTime_msec_.
Referenced by setEndBurstTimeMsec().
|
inline |
Returns the end burst time (sec)
Definition at line 52 of file EcalTBEventHeader.h.
References endBurstTime_sec_.
Referenced by setEndBurstTimeSec().
|
inline |
Returns the event number.
Definition at line 35 of file EcalTBEventHeader.h.
References eventNumber_.
Referenced by EcalSimpleTBAnalyzer::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), TreeProducerCalibSimul::analyze(), operator<<(), and setEventNumber().
std::string EcalTBEventHeader::eventType | ( | ) | const |
Return the event type: "beam", "laser", "pedestal". "error" or a number orresponding to the orginal eventype stored in the RRF.
Definition at line 7 of file EcalTBEventHeader.cc.
References mps_fire::i, visualization-live-secondInstance_cfg::m, EgammaValidation_cff::num, AlCaHLTBitMon_QueryRunRegistry::string, triggerMask_, w, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by dbEventType(), endBurstLV1A(), and IsTBH4Type::filter().
|
inline |
return the event laser type
Definition at line 114 of file EcalTBEventHeader.h.
References laserType_.
Referenced by setLaserType().
|
inline |
Definition at line 118 of file EcalTBEventHeader.h.
References laserType_, LBlue, LGreen, LInfrared, and LRed.
Referenced by dbEventType().
|
inline |
return the laser intensity
Definition at line 112 of file EcalTBEventHeader.h.
References lightIntensity_.
Referenced by setLightIntensity().
|
inline |
Definition at line 145 of file EcalTBEventHeader.h.
References magnetMeasurements_.
Referenced by setMagnetMeasurements().
|
inline |
Definition at line 82 of file EcalTBEventHeader.h.
References EBDetId::ic(), and nextCrystalInBeam_.
|
inline |
Definition at line 81 of file EcalTBEventHeader.h.
References EBDetId::ic(), and nominalCrystalInBeam_.
|
inline |
Definition at line 143 of file EcalTBEventHeader.h.
References numberOfMagnetMeasurements_.
Referenced by setNumberOfMagnetMeasurements().
|
inline |
Returns the phi table index.
Definition at line 86 of file EcalTBEventHeader.h.
References phiTableIndex_.
Referenced by setPhiTableIndex().
|
inline |
Definition at line 37 of file EcalTBEventHeader.h.
References runNumber_.
Referenced by operator<<(), EcalTBTDCRecInfoAlgo::reconstruct(), and setRunNumber().
|
inline |
returns S6 ADC value
Definition at line 141 of file EcalTBEventHeader.h.
References S6ADC_.
Referenced by EcalSimple2007H4TBAnalyzer::analyze(), and setS6ADC().
|
inline |
|
inline |
Definition at line 175 of file EcalTBEventHeader.h.
References begBurstLV1A(), and begBurstLV1A_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 169 of file EcalTBEventHeader.h.
References begBurstTime_msec_, and begBurstTimeMsec().
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 167 of file EcalTBEventHeader.h.
References begBurstTime_sec_, and begBurstTimeSec().
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 163 of file EcalTBEventHeader.h.
References burstNumber(), and burstNumber_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 181 of file EcalTBEventHeader.h.
References crystalInBeam(), and crystalInBeam_.
Referenced by TableDataFormatter::interpretRawData().
|
inline |
Definition at line 179 of file EcalTBEventHeader.h.
|
inline |
Definition at line 177 of file EcalTBEventHeader.h.
References endBurstLV1A(), and endBurstLV1A_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 173 of file EcalTBEventHeader.h.
References endBurstTime_msec_, and endBurstTimeMsec().
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 171 of file EcalTBEventHeader.h.
References endBurstTime_sec_, and endBurstTimeSec().
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 157 of file EcalTBEventHeader.h.
References eventNumber(), and eventNumber_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 199 of file EcalTBEventHeader.h.
References laserType(), and laserType_.
|
inline |
Definition at line 197 of file EcalTBEventHeader.h.
References lightIntensity(), and lightIntensity_.
|
inline |
Definition at line 206 of file EcalTBEventHeader.h.
References magnetMeasurements(), and magnetMeasurements_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 185 of file EcalTBEventHeader.h.
References crystalInBeam(), and nextCrystalInBeam_.
Referenced by TableDataFormatter::interpretRawData().
|
inline |
Definition at line 183 of file EcalTBEventHeader.h.
References crystalInBeam(), and nominalCrystalInBeam_.
Referenced by TableDataFormatter::interpretRawData().
|
inline |
Definition at line 203 of file EcalTBEventHeader.h.
References numberOfMagnetMeasurements(), and numberOfMagnetMeasurements_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 189 of file EcalTBEventHeader.h.
References phiTableIndex(), and phiTableIndex_.
Referenced by TableDataFormatter::interpretRawData().
|
inline |
Definition at line 159 of file EcalTBEventHeader.h.
References runNumber(), and runNumber_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 201 of file EcalTBEventHeader.h.
References S6ADC(), and S6ADC_.
Referenced by CamacTBDataFormatter::interpretRawData().
|
inline |
Definition at line 210 of file EcalTBEventHeader.h.
References LumiMonitor_cff::scalers, and scalers_.
Referenced by CamacTBDataFormatter::interpretRawData().
|
inline |
Definition at line 161 of file EcalTBEventHeader.h.
References smInBeam(), and smInBeam_.
|
inline |
Definition at line 195 of file EcalTBEventHeader.h.
References syncError(), and syncError_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 191 of file EcalTBEventHeader.h.
References tableIsMoving(), and tableIsMoving_.
Referenced by CamacTBDataFormatter::interpretRawData().
|
inline |
Definition at line 193 of file EcalTBEventHeader.h.
References tableIsMoving(), and tableIsMovingAtBegSpill_.
Referenced by TableDataFormatter::interpretRawData().
|
inline |
Definition at line 187 of file EcalTBEventHeader.h.
References thetaTableIndex(), and thetaTableIndex_.
Referenced by TableDataFormatter::interpretRawData().
|
inline |
Definition at line 165 of file EcalTBEventHeader.h.
References triggerMask(), and triggerMask_.
|
inline |
Returns the burst number.
Definition at line 43 of file EcalTBEventHeader.h.
References smInBeam_.
Referenced by EcalStatusAnalyzer::analyze(), and setSmInBeam().
|
inline |
is there any sync error
Definition at line 92 of file EcalTBEventHeader.h.
References syncError_.
Referenced by setSyncError().
|
inline |
Tell if the table is Moving.
Definition at line 88 of file EcalTBEventHeader.h.
References tableIsMoving_.
Referenced by EcalTBValidation::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), setTableIsMoving(), and setTableIsMovingAtBegSpill().
|
inline |
Tell if the table is Moving At the begin of the spill (available in runs only after 1st August 06)
Definition at line 90 of file EcalTBEventHeader.h.
References tableIsMovingAtBegSpill_.
|
inline |
Returns the theta table index.
Definition at line 84 of file EcalTBEventHeader.h.
References thetaTableIndex_.
Referenced by setThetaTableIndex().
|
inline |
Returns the trigger mask.
Definition at line 72 of file EcalTBEventHeader.h.
References triggerMask_.
Referenced by setTriggerMask().
|
private |
Definition at line 222 of file EcalTBEventHeader.h.
Referenced by begBurstLV1A(), and setBegBurstLV1A().
|
private |
Definition at line 219 of file EcalTBEventHeader.h.
Referenced by begBurstTimeMsec(), and setBegBurstTimeMsec().
|
private |
Information from the ecalSupervisor.
Definition at line 218 of file EcalTBEventHeader.h.
Referenced by begBurstTimeSec(), and setBegBurstTimeSec().
|
private |
The number of the burst.
Definition at line 215 of file EcalTBEventHeader.h.
Referenced by burstNumber(), and setBurstNumber().
|
private |
Information from the table Supervisor.
The current crystal hit by the beam
Definition at line 243 of file EcalTBEventHeader.h.
Referenced by crystalInBeam(), and setCrystalInBeam().
|
private |
The date when the run was taken.
Definition at line 240 of file EcalTBEventHeader.h.
|
private |
Definition at line 223 of file EcalTBEventHeader.h.
Referenced by endBurstLV1A(), and setEndBurstLV1A().
|
private |
Definition at line 221 of file EcalTBEventHeader.h.
Referenced by endBurstTimeMsec(), and setEndBurstTimeMsec().
|
private |
Definition at line 220 of file EcalTBEventHeader.h.
Referenced by endBurstTimeSec(), and setEndBurstTimeSec().
|
private |
The numner of the event.
Definition at line 213 of file EcalTBEventHeader.h.
Referenced by eventNumber(), and setEventNumber().
|
private |
The laser type –see enum LaserType.
Definition at line 258 of file EcalTBEventHeader.h.
Referenced by laserType(), laserTypeName(), and setLaserType().
|
private |
The light intensity.
Definition at line 257 of file EcalTBEventHeader.h.
Referenced by lightIntensity(), and setLightIntensity().
|
private |
Definition at line 229 of file EcalTBEventHeader.h.
Referenced by magnetMeasurements(), and setMagnetMeasurements().
|
private |
The nominal next crystal which should be hit by the beam.
Definition at line 245 of file EcalTBEventHeader.h.
Referenced by nextCrystalInBeam(), and setNextCrystalInBeam().
|
private |
The nominal crystal which should be hit by the beam.
Definition at line 244 of file EcalTBEventHeader.h.
Referenced by nominalCrystalInBeam(), and setNominalCrystalInBeam().
|
private |
Magnet currents.
Definition at line 228 of file EcalTBEventHeader.h.
Referenced by numberOfMagnetMeasurements(), and setNumberOfMagnetMeasurements().
|
private |
Phi table index (Y)
Definition at line 247 of file EcalTBEventHeader.h.
Referenced by phiTableIndex(), and setPhiTableIndex().
|
private |
The number of the run.
Definition at line 214 of file EcalTBEventHeader.h.
Referenced by runNumber(), and setRunNumber().
|
private |
ADC lecture of the S6 counter.
Definition at line 260 of file EcalTBEventHeader.h.
Referenced by S6ADC(), and setS6ADC().
|
private |
Definition at line 265 of file EcalTBEventHeader.h.
Referenced by scaler(), and setScalers().
|
private |
Definition at line 262 of file EcalTBEventHeader.h.
Referenced by setSmInBeam(), and smInBeam().
|
private |
Definition at line 254 of file EcalTBEventHeader.h.
Referenced by setSyncError(), and syncError().
|
private |
Definition at line 249 of file EcalTBEventHeader.h.
Referenced by setTableIsMoving(), and tableIsMoving().
|
private |
Definition at line 251 of file EcalTBEventHeader.h.
Referenced by setTableIsMovingAtBegSpill(), and tableIsMovingAtBegSpill().
|
private |
Theta table index (X)
Definition at line 246 of file EcalTBEventHeader.h.
Referenced by setThetaTableIndex(), and thetaTableIndex().
|
private |
The trigger mask.
Definition at line 225 of file EcalTBEventHeader.h.
Referenced by eventType(), setTriggerMask(), and triggerMask().