#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 16 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 140 of file EcalTBEventHeader.h.
|
inline |
Definition at line 20 of file EcalTBEventHeader.h.
|
inline |
Definition at line 22 of file EcalTBEventHeader.h.
|
inline |
Returns the begin burst time (msec)
Definition at line 78 of file EcalTBEventHeader.h.
References begBurstLV1A_.
Referenced by setBegBurstLV1A().
|
inline |
Returns the begin burst time (msec)
Definition at line 63 of file EcalTBEventHeader.h.
References begBurstTime_msec_.
Referenced by setBegBurstTimeMsec().
|
inline |
Returns the begin burst time (sec)
Definition at line 58 of file EcalTBEventHeader.h.
References begBurstTime_sec_.
Referenced by EcalStatusAnalyzer::analyze(), and setBegBurstTimeSec().
|
inline |
Returns the burst number.
Definition at line 48 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 109 of file EcalTBEventHeader.h.
References crystalInBeam_, and EBDetId::ic().
Referenced by EBBeamCaloTask::analyze(), EEBeamCaloTask::analyze(), EBBeamHodoTask::analyze(), EEBeamHodoTask::analyze(), setCrystalInBeam(), setNextCrystalInBeam(), and setNominalCrystalInBeam().
|
inline |
Returns the date in Unix time.
Definition at line 102 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, and LRed.
Referenced by EcalTBTDCRecInfoAlgo::reconstruct().
|
inline |
Returns the end burst time (sec)
Definition at line 83 of file EcalTBEventHeader.h.
References endBurstLV1A_.
Referenced by setEndBurstLV1A().
|
inline |
Returns the end burst time (msec)
Definition at line 73 of file EcalTBEventHeader.h.
References endBurstTime_msec_.
Referenced by setEndBurstTimeMsec().
|
inline |
Returns the end burst time (sec)
Definition at line 68 of file EcalTBEventHeader.h.
References endBurstTime_sec_.
Referenced by setEndBurstTimeSec().
|
inline |
Returns the event number.
Definition at line 39 of file EcalTBEventHeader.h.
References eventNumber_.
Referenced by EBBeamCaloTask::analyze(), EEBeamCaloTask::analyze(), EBBeamHodoTask::analyze(), EEBeamHodoTask::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 i, m, and triggerMask_.
Referenced by dbEventType().
|
inline |
return the event laser type
Definition at line 151 of file EcalTBEventHeader.h.
References laserType_.
Referenced by setLaserType().
|
inline |
Definition at line 155 of file EcalTBEventHeader.h.
References laserType_, LBlue, LGreen, LInfrared, and LRed.
Referenced by dbEventType().
|
inline |
return the laser intensity
Definition at line 147 of file EcalTBEventHeader.h.
References lightIntensity_.
Referenced by setLightIntensity().
|
inline |
Definition at line 174 of file EcalTBEventHeader.h.
References magnetMeasurements_.
Referenced by setMagnetMeasurements().
|
inline |
Definition at line 115 of file EcalTBEventHeader.h.
References EBDetId::ic(), and nextCrystalInBeam_.
|
inline |
Definition at line 112 of file EcalTBEventHeader.h.
References EBDetId::ic(), and nominalCrystalInBeam_.
|
inline |
Definition at line 172 of file EcalTBEventHeader.h.
References numberOfMagnetMeasurements_.
Referenced by setNumberOfMagnetMeasurements().
|
inline |
Returns the phi table index.
Definition at line 121 of file EcalTBEventHeader.h.
References phiTableIndex_.
Referenced by setPhiTableIndex().
|
inline |
Definition at line 43 of file EcalTBEventHeader.h.
References runNumber_.
Referenced by operator<<(), EcalTBTDCRecInfoAlgo::reconstruct(), and setRunNumber().
|
inline |
returns S6 ADC value
Definition at line 168 of file EcalTBEventHeader.h.
References S6ADC_.
Referenced by setS6ADC().
|
inline |
|
inline |
Definition at line 204 of file EcalTBEventHeader.h.
References begBurstLV1A(), and begBurstLV1A_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 198 of file EcalTBEventHeader.h.
References begBurstTime_msec_, and begBurstTimeMsec().
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 196 of file EcalTBEventHeader.h.
References begBurstTime_sec_, and begBurstTimeSec().
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 192 of file EcalTBEventHeader.h.
References burstNumber(), and burstNumber_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 210 of file EcalTBEventHeader.h.
References crystalInBeam(), and crystalInBeam_.
Referenced by TableDataFormatter::interpretRawData().
|
inline |
Definition at line 208 of file EcalTBEventHeader.h.
|
inline |
Definition at line 206 of file EcalTBEventHeader.h.
References endBurstLV1A(), and endBurstLV1A_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 202 of file EcalTBEventHeader.h.
References endBurstTime_msec_, and endBurstTimeMsec().
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 200 of file EcalTBEventHeader.h.
References endBurstTime_sec_, and endBurstTimeSec().
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 186 of file EcalTBEventHeader.h.
References eventNumber(), and eventNumber_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 228 of file EcalTBEventHeader.h.
References laserType(), and laserType_.
|
inline |
Definition at line 226 of file EcalTBEventHeader.h.
References lightIntensity(), and lightIntensity_.
|
inline |
Definition at line 233 of file EcalTBEventHeader.h.
References magnetMeasurements(), and magnetMeasurements_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 214 of file EcalTBEventHeader.h.
References crystalInBeam(), and nextCrystalInBeam_.
Referenced by TableDataFormatter::interpretRawData().
|
inline |
Definition at line 212 of file EcalTBEventHeader.h.
References crystalInBeam(), and nominalCrystalInBeam_.
Referenced by TableDataFormatter::interpretRawData().
|
inline |
Definition at line 232 of file EcalTBEventHeader.h.
References numberOfMagnetMeasurements(), and numberOfMagnetMeasurements_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 218 of file EcalTBEventHeader.h.
References phiTableIndex(), and phiTableIndex_.
Referenced by TableDataFormatter::interpretRawData().
|
inline |
Definition at line 188 of file EcalTBEventHeader.h.
References runNumber(), and runNumber_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 230 of file EcalTBEventHeader.h.
References S6ADC(), and S6ADC_.
Referenced by CamacTBDataFormatter::interpretRawData().
|
inline |
Definition at line 235 of file EcalTBEventHeader.h.
References scalers_.
Referenced by CamacTBDataFormatter::interpretRawData().
|
inline |
Definition at line 190 of file EcalTBEventHeader.h.
References smInBeam(), and smInBeam_.
|
inline |
Definition at line 224 of file EcalTBEventHeader.h.
References syncError(), and syncError_.
Referenced by EcalSupervisorTBDataFormatter::interpretRawData().
|
inline |
Definition at line 220 of file EcalTBEventHeader.h.
References tableIsMoving(), and tableIsMoving_.
Referenced by CamacTBDataFormatter::interpretRawData().
|
inline |
Definition at line 222 of file EcalTBEventHeader.h.
References tableIsMoving(), and tableIsMovingAtBegSpill_.
Referenced by TableDataFormatter::interpretRawData().
|
inline |
Definition at line 216 of file EcalTBEventHeader.h.
References thetaTableIndex(), and thetaTableIndex_.
Referenced by TableDataFormatter::interpretRawData().
|
inline |
Definition at line 194 of file EcalTBEventHeader.h.
References triggerMask(), and triggerMask_.
|
inline |
Returns the burst number.
Definition at line 53 of file EcalTBEventHeader.h.
References smInBeam_.
Referenced by EcalStatusAnalyzer::analyze(), and setSmInBeam().
|
inline |
is there any sync error
Definition at line 127 of file EcalTBEventHeader.h.
References syncError_.
Referenced by EBBeamCaloTask::analyze(), EEBeamCaloTask::analyze(), and setSyncError().
|
inline |
Tell if the table is Moving.
Definition at line 123 of file EcalTBEventHeader.h.
References tableIsMoving_.
Referenced by EBBeamCaloTask::analyze(), EEBeamCaloTask::analyze(), EBBeamHodoTask::analyze(), EEBeamHodoTask::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 125 of file EcalTBEventHeader.h.
References tableIsMovingAtBegSpill_.
|
inline |
Returns the theta table index.
Definition at line 119 of file EcalTBEventHeader.h.
References thetaTableIndex_.
Referenced by setThetaTableIndex().
|
inline |
Returns the trigger mask.
Definition at line 97 of file EcalTBEventHeader.h.
References triggerMask_.
Referenced by setTriggerMask().
|
private |
Definition at line 250 of file EcalTBEventHeader.h.
Referenced by begBurstLV1A(), and setBegBurstLV1A().
|
private |
Definition at line 247 of file EcalTBEventHeader.h.
Referenced by begBurstTimeMsec(), and setBegBurstTimeMsec().
|
private |
Information from the ecalSupervisor.
Definition at line 246 of file EcalTBEventHeader.h.
Referenced by begBurstTimeSec(), and setBegBurstTimeSec().
|
private |
The number of the burst.
Definition at line 242 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 273 of file EcalTBEventHeader.h.
Referenced by crystalInBeam(), and setCrystalInBeam().
|
private |
The date when the run was taken.
Definition at line 270 of file EcalTBEventHeader.h.
|
private |
Definition at line 251 of file EcalTBEventHeader.h.
Referenced by endBurstLV1A(), and setEndBurstLV1A().
|
private |
Definition at line 249 of file EcalTBEventHeader.h.
Referenced by endBurstTimeMsec(), and setEndBurstTimeMsec().
|
private |
Definition at line 248 of file EcalTBEventHeader.h.
Referenced by endBurstTimeSec(), and setEndBurstTimeSec().
|
private |
The numner of the event.
Definition at line 240 of file EcalTBEventHeader.h.
Referenced by eventNumber(), and setEventNumber().
|
private |
The laser type –see enum LaserType.
Definition at line 288 of file EcalTBEventHeader.h.
Referenced by laserType(), laserTypeName(), and setLaserType().
|
private |
The light intensity.
Definition at line 287 of file EcalTBEventHeader.h.
Referenced by lightIntensity(), and setLightIntensity().
|
private |
Definition at line 258 of file EcalTBEventHeader.h.
Referenced by magnetMeasurements(), and setMagnetMeasurements().
|
private |
The nominal next crystal which should be hit by the beam.
Definition at line 275 of file EcalTBEventHeader.h.
Referenced by nextCrystalInBeam(), and setNextCrystalInBeam().
|
private |
The nominal crystal which should be hit by the beam.
Definition at line 274 of file EcalTBEventHeader.h.
Referenced by nominalCrystalInBeam(), and setNominalCrystalInBeam().
|
private |
Magnet currents.
Definition at line 257 of file EcalTBEventHeader.h.
Referenced by numberOfMagnetMeasurements(), and setNumberOfMagnetMeasurements().
|
private |
Phi table index (Y)
Definition at line 277 of file EcalTBEventHeader.h.
Referenced by phiTableIndex(), and setPhiTableIndex().
|
private |
The number of the run.
Definition at line 241 of file EcalTBEventHeader.h.
Referenced by runNumber(), and setRunNumber().
|
private |
ADC lecture of the S6 counter.
Definition at line 290 of file EcalTBEventHeader.h.
Referenced by S6ADC(), and setS6ADC().
|
private |
Definition at line 295 of file EcalTBEventHeader.h.
Referenced by scaler(), and setScalers().
|
private |
Definition at line 292 of file EcalTBEventHeader.h.
Referenced by setSmInBeam(), and smInBeam().
|
private |
Definition at line 284 of file EcalTBEventHeader.h.
Referenced by setSyncError(), and syncError().
|
private |
Definition at line 279 of file EcalTBEventHeader.h.
Referenced by setTableIsMoving(), and tableIsMoving().
|
private |
Definition at line 281 of file EcalTBEventHeader.h.
Referenced by setTableIsMovingAtBegSpill(), and tableIsMovingAtBegSpill().
|
private |
Theta table index (X)
Definition at line 276 of file EcalTBEventHeader.h.
Referenced by setThetaTableIndex(), and thetaTableIndex().
|
private |
The trigger mask.
Definition at line 254 of file EcalTBEventHeader.h.
Referenced by eventType(), setTriggerMask(), and triggerMask().