#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 15 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 139 of file EcalTBEventHeader.h.
|
inline |
Definition at line 19 of file EcalTBEventHeader.h.
|
inline |
Definition at line 21 of file EcalTBEventHeader.h.
|
inline |
Returns the begin burst time (msec)
Definition at line 77 of file EcalTBEventHeader.h.
References begBurstLV1A_.
Referenced by setBegBurstLV1A().
|
inline |
Returns the begin burst time (msec)
Definition at line 62 of file EcalTBEventHeader.h.
References begBurstTime_msec_.
Referenced by setBegBurstTimeMsec().
|
inline |
Returns the begin burst time (sec)
Definition at line 57 of file EcalTBEventHeader.h.
References begBurstTime_sec_.
Referenced by EcalStatusAnalyzer::analyze(), and setBegBurstTimeSec().
|
inline |
Returns the burst number.
Definition at line 47 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 108 of file EcalTBEventHeader.h.
References crystalInBeam_, and EBDetId::ic().
Referenced by setCrystalInBeam(), setNextCrystalInBeam(), and setNominalCrystalInBeam().
|
inline |
Returns the date in Unix time.
Definition at line 101 of file EcalTBEventHeader.h.
References date_.
Referenced by setDate().
int EcalTBEventHeader::dbEventType | ( | ) | const |
Returns the event type as in the H4ROOTDB.
Definition at line 49 of file EcalTBEventHeader.cc.
References eventType(), laserTypeName(), LGreen, LInfrared, LRed, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by EcalTBTDCRecInfoAlgo::reconstruct().
|
inline |
Returns the end burst time (sec)
Definition at line 82 of file EcalTBEventHeader.h.
References endBurstLV1A_.
Referenced by setEndBurstLV1A().
|
inline |
Returns the end burst time (msec)
Definition at line 72 of file EcalTBEventHeader.h.
References endBurstTime_msec_.
Referenced by setEndBurstTimeMsec().
|
inline |
Returns the end burst time (sec)
Definition at line 67 of file EcalTBEventHeader.h.
References endBurstTime_sec_.
Referenced by setEndBurstTimeSec().
|
inline |
Returns the event number.
Definition at line 38 of file EcalTBEventHeader.h.
References eventNumber_.
Referenced by 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 i, m, pileupDistInMC::num, AlCaHLTBitMon_QueryRunRegistry::string, triggerMask_, and w.
Referenced by dbEventType().
|
inline |
return the event laser type
Definition at line 150 of file EcalTBEventHeader.h.
References laserType_.
Referenced by setLaserType().
|
inline |
Definition at line 154 of file EcalTBEventHeader.h.
References laserType_, LBlue, LGreen, LInfrared, and LRed.
Referenced by dbEventType().
|
inline |
return the laser intensity
Definition at line 146 of file EcalTBEventHeader.h.
References lightIntensity_.
Referenced by setLightIntensity().
|
inline |
Definition at line 173 of file EcalTBEventHeader.h.
References magnetMeasurements_.
Referenced by setMagnetMeasurements().
|
inline |
Definition at line 114 of file EcalTBEventHeader.h.
References EBDetId::ic(), and nextCrystalInBeam_.
|
inline |
Definition at line 111 of file EcalTBEventHeader.h.
References EBDetId::ic(), and nominalCrystalInBeam_.
|
inline |
Definition at line 171 of file EcalTBEventHeader.h.
References numberOfMagnetMeasurements_.
Referenced by setNumberOfMagnetMeasurements().
|
inline |
Returns the phi table index.
Definition at line 120 of file EcalTBEventHeader.h.
References phiTableIndex_.
Referenced by setPhiTableIndex().
|
inline |
Definition at line 42 of file EcalTBEventHeader.h.
References runNumber_.
Referenced by operator<<(), EcalTBTDCRecInfoAlgo::reconstruct(), and setRunNumber().
|
inline |
returns S6 ADC value
Definition at line 167 of file EcalTBEventHeader.h.
References S6ADC_.
Referenced by setS6ADC().
|
inline |
|
inline |
Definition at line 203 of file EcalTBEventHeader.h.
References begBurstLV1A(), and begBurstLV1A_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 197 of file EcalTBEventHeader.h.
References begBurstTime_msec_, and begBurstTimeMsec().
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 195 of file EcalTBEventHeader.h.
References begBurstTime_sec_, and begBurstTimeSec().
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 191 of file EcalTBEventHeader.h.
References burstNumber(), and burstNumber_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 209 of file EcalTBEventHeader.h.
References crystalInBeam(), and crystalInBeam_.
Referenced by TableDataFormatter::interpretRawData().
|
inline |
Definition at line 207 of file EcalTBEventHeader.h.
|
inline |
Definition at line 205 of file EcalTBEventHeader.h.
References endBurstLV1A(), and endBurstLV1A_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 201 of file EcalTBEventHeader.h.
References endBurstTime_msec_, and endBurstTimeMsec().
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 199 of file EcalTBEventHeader.h.
References endBurstTime_sec_, and endBurstTimeSec().
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 185 of file EcalTBEventHeader.h.
References eventNumber(), and eventNumber_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 227 of file EcalTBEventHeader.h.
References laserType(), and laserType_.
|
inline |
Definition at line 225 of file EcalTBEventHeader.h.
References lightIntensity(), and lightIntensity_.
|
inline |
Definition at line 232 of file EcalTBEventHeader.h.
References magnetMeasurements(), and magnetMeasurements_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 213 of file EcalTBEventHeader.h.
References crystalInBeam(), and nextCrystalInBeam_.
Referenced by TableDataFormatter::interpretRawData().
|
inline |
Definition at line 211 of file EcalTBEventHeader.h.
References crystalInBeam(), and nominalCrystalInBeam_.
Referenced by TableDataFormatter::interpretRawData().
|
inline |
Definition at line 231 of file EcalTBEventHeader.h.
References numberOfMagnetMeasurements(), and numberOfMagnetMeasurements_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 217 of file EcalTBEventHeader.h.
References phiTableIndex(), and phiTableIndex_.
Referenced by TableDataFormatter::interpretRawData().
|
inline |
Definition at line 187 of file EcalTBEventHeader.h.
References runNumber(), and runNumber_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 229 of file EcalTBEventHeader.h.
References S6ADC(), and S6ADC_.
Referenced by CamacTBDataFormatter::interpretRawData().
|
inline |
Definition at line 234 of file EcalTBEventHeader.h.
References scalers_.
Referenced by CamacTBDataFormatter::interpretRawData().
|
inline |
Definition at line 189 of file EcalTBEventHeader.h.
References smInBeam(), and smInBeam_.
|
inline |
Definition at line 223 of file EcalTBEventHeader.h.
References syncError(), and syncError_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 219 of file EcalTBEventHeader.h.
References tableIsMoving(), and tableIsMoving_.
Referenced by CamacTBDataFormatter::interpretRawData().
|
inline |
Definition at line 221 of file EcalTBEventHeader.h.
References tableIsMoving(), and tableIsMovingAtBegSpill_.
Referenced by TableDataFormatter::interpretRawData().
|
inline |
Definition at line 215 of file EcalTBEventHeader.h.
References thetaTableIndex(), and thetaTableIndex_.
Referenced by TableDataFormatter::interpretRawData().
|
inline |
Definition at line 193 of file EcalTBEventHeader.h.
References triggerMask(), and triggerMask_.
|
inline |
Returns the burst number.
Definition at line 52 of file EcalTBEventHeader.h.
References smInBeam_.
Referenced by EcalStatusAnalyzer::analyze(), and setSmInBeam().
|
inline |
is there any sync error
Definition at line 126 of file EcalTBEventHeader.h.
References syncError_.
Referenced by setSyncError().
|
inline |
Tell if the table is Moving.
Definition at line 122 of file EcalTBEventHeader.h.
References tableIsMoving_.
Referenced by 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 124 of file EcalTBEventHeader.h.
References tableIsMovingAtBegSpill_.
|
inline |
Returns the theta table index.
Definition at line 118 of file EcalTBEventHeader.h.
References thetaTableIndex_.
Referenced by setThetaTableIndex().
|
inline |
Returns the trigger mask.
Definition at line 96 of file EcalTBEventHeader.h.
References triggerMask_.
Referenced by setTriggerMask().
|
private |
Definition at line 249 of file EcalTBEventHeader.h.
Referenced by begBurstLV1A(), and setBegBurstLV1A().
|
private |
Definition at line 246 of file EcalTBEventHeader.h.
Referenced by begBurstTimeMsec(), and setBegBurstTimeMsec().
|
private |
Information from the ecalSupervisor.
Definition at line 245 of file EcalTBEventHeader.h.
Referenced by begBurstTimeSec(), and setBegBurstTimeSec().
|
private |
The number of the burst.
Definition at line 241 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 272 of file EcalTBEventHeader.h.
Referenced by crystalInBeam(), and setCrystalInBeam().
|
private |
The date when the run was taken.
Definition at line 269 of file EcalTBEventHeader.h.
|
private |
Definition at line 250 of file EcalTBEventHeader.h.
Referenced by endBurstLV1A(), and setEndBurstLV1A().
|
private |
Definition at line 248 of file EcalTBEventHeader.h.
Referenced by endBurstTimeMsec(), and setEndBurstTimeMsec().
|
private |
Definition at line 247 of file EcalTBEventHeader.h.
Referenced by endBurstTimeSec(), and setEndBurstTimeSec().
|
private |
The numner of the event.
Definition at line 239 of file EcalTBEventHeader.h.
Referenced by eventNumber(), and setEventNumber().
|
private |
The laser type –see enum LaserType.
Definition at line 287 of file EcalTBEventHeader.h.
Referenced by laserType(), laserTypeName(), and setLaserType().
|
private |
The light intensity.
Definition at line 286 of file EcalTBEventHeader.h.
Referenced by lightIntensity(), and setLightIntensity().
|
private |
Definition at line 257 of file EcalTBEventHeader.h.
Referenced by magnetMeasurements(), and setMagnetMeasurements().
|
private |
The nominal next crystal which should be hit by the beam.
Definition at line 274 of file EcalTBEventHeader.h.
Referenced by nextCrystalInBeam(), and setNextCrystalInBeam().
|
private |
The nominal crystal which should be hit by the beam.
Definition at line 273 of file EcalTBEventHeader.h.
Referenced by nominalCrystalInBeam(), and setNominalCrystalInBeam().
|
private |
Magnet currents.
Definition at line 256 of file EcalTBEventHeader.h.
Referenced by numberOfMagnetMeasurements(), and setNumberOfMagnetMeasurements().
|
private |
Phi table index (Y)
Definition at line 276 of file EcalTBEventHeader.h.
Referenced by phiTableIndex(), and setPhiTableIndex().
|
private |
The number of the run.
Definition at line 240 of file EcalTBEventHeader.h.
Referenced by runNumber(), and setRunNumber().
|
private |
ADC lecture of the S6 counter.
Definition at line 289 of file EcalTBEventHeader.h.
Referenced by S6ADC(), and setS6ADC().
|
private |
Definition at line 294 of file EcalTBEventHeader.h.
Referenced by scaler(), and setScalers().
|
private |
Definition at line 291 of file EcalTBEventHeader.h.
Referenced by setSmInBeam(), and smInBeam().
|
private |
Definition at line 283 of file EcalTBEventHeader.h.
Referenced by setSyncError(), and syncError().
|
private |
Definition at line 278 of file EcalTBEventHeader.h.
Referenced by setTableIsMoving(), and tableIsMoving().
|
private |
Definition at line 280 of file EcalTBEventHeader.h.
Referenced by setTableIsMovingAtBegSpill(), and tableIsMovingAtBegSpill().
|
private |
Theta table index (X)
Definition at line 275 of file EcalTBEventHeader.h.
Referenced by setThetaTableIndex(), and thetaTableIndex().
|
private |
The trigger mask.
Definition at line 253 of file EcalTBEventHeader.h.
Referenced by eventType(), setTriggerMask(), and triggerMask().