CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Private Attributes
EcalTBEventHeader Class Reference

#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_tmagnetMeasurements_
 
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...
 

Detailed Description

Container for event ancilllary informations defined in TB raw data formats

Definition at line 14 of file EcalTBEventHeader.h.

Member Typedef Documentation

◆ magnetsMeasurement_t

Member Enumeration Documentation

◆ LaserType

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:

  1. Laser 1 Blue (violet) 440 nm Green (blue) 495 nm
  2. Laser 2 Red 709 nm Infrared 801 nm
Enumerator
LBlue 
LGreen 

440 nm

LRed 

495 nm

LInfrared 

709 nm

Definition at line 105 of file EcalTBEventHeader.h.

105  {
106  LBlue = 440,
107  LGreen = 495,
108  LRed = 709,
109  LInfrared = 800
110  };

Constructor & Destructor Documentation

◆ EcalTBEventHeader()

EcalTBEventHeader::EcalTBEventHeader ( )
inline

Definition at line 16 of file EcalTBEventHeader.h.

16 {};

◆ ~EcalTBEventHeader()

EcalTBEventHeader::~EcalTBEventHeader ( )
inline

Definition at line 18 of file EcalTBEventHeader.h.

18 {};

Member Function Documentation

◆ begBurstLV1A()

int EcalTBEventHeader::begBurstLV1A ( ) const
inline

Returns the begin burst time (msec)

Definition at line 58 of file EcalTBEventHeader.h.

58 { return begBurstLV1A_; }

References begBurstLV1A_.

Referenced by setBegBurstLV1A().

◆ begBurstTimeMsec()

int EcalTBEventHeader::begBurstTimeMsec ( ) const
inline

Returns the begin burst time (msec)

Definition at line 49 of file EcalTBEventHeader.h.

49 { return begBurstTime_msec_; }

References begBurstTime_msec_.

Referenced by setBegBurstTimeMsec().

◆ begBurstTimeSec()

int EcalTBEventHeader::begBurstTimeSec ( ) const
inline

Returns the begin burst time (sec)

Definition at line 46 of file EcalTBEventHeader.h.

46 { return begBurstTime_sec_; }

References begBurstTime_sec_.

Referenced by EcalStatusAnalyzer::analyze(), and setBegBurstTimeSec().

◆ burstNumber()

short EcalTBEventHeader::burstNumber ( ) const
inline

Returns the burst number.

Definition at line 40 of file EcalTBEventHeader.h.

40 { return burstNumber_; }

References burstNumber_.

Referenced by operator<<(), and setBurstNumber().

◆ crystalInBeam()

int EcalTBEventHeader::crystalInBeam ( ) const
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.

80 { return EBDetId(crystalInBeam_).ic(); }

References crystalInBeam_, and EBDetId::ic().

Referenced by EcalSimpleTBAnalyzer::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), setCrystalInBeam(), setNextCrystalInBeam(), and setNominalCrystalInBeam().

◆ date()

int EcalTBEventHeader::date ( ) const
inline

Returns the date in Unix time.

Definition at line 75 of file EcalTBEventHeader.h.

75 { return date_; }

References date_.

Referenced by setDate().

◆ dbEventType()

int EcalTBEventHeader::dbEventType ( ) const

Returns the event type as in the H4ROOTDB.

Definition at line 53 of file EcalTBEventHeader.cc.

53  {
54  std::string evtType = eventType();
55  int ievtType = 0;
56  if (evtType == "beam")
57  ievtType = 1;
58  if (evtType == "laser")
59  ievtType = 2;
60  if (evtType == "pedestal")
61  ievtType = 1; // same as beam
62  if (ievtType == 2) {
63  LaserType laser_type = laserTypeName();
64  //if (laser_type == EcalTBEventHeader::LBlue) ievtType += 0 ;
65  if (laser_type == EcalTBEventHeader::LGreen)
66  ievtType += 1;
67  if (laser_type == EcalTBEventHeader::LInfrared)
68  ievtType += 2;
69  if (laser_type == EcalTBEventHeader::LRed)
70  ievtType += 3;
71  }
72  return ievtType;
73 }

References eventType(), laserTypeName(), LGreen, LInfrared, LRed, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by EcalTBTDCRecInfoAlgo::reconstruct().

◆ endBurstLV1A()

int EcalTBEventHeader::endBurstLV1A ( ) const
inline

Returns the end burst time (sec)

Definition at line 61 of file EcalTBEventHeader.h.

61 { return endBurstLV1A_; }

References endBurstLV1A_.

Referenced by setEndBurstLV1A().

◆ endBurstTimeMsec()

int EcalTBEventHeader::endBurstTimeMsec ( ) const
inline

Returns the end burst time (msec)

Definition at line 55 of file EcalTBEventHeader.h.

55 { return endBurstTime_msec_; }

References endBurstTime_msec_.

Referenced by setEndBurstTimeMsec().

◆ endBurstTimeSec()

int EcalTBEventHeader::endBurstTimeSec ( ) const
inline

Returns the end burst time (sec)

Definition at line 52 of file EcalTBEventHeader.h.

52 { return endBurstTime_sec_; }

References endBurstTime_sec_.

Referenced by setEndBurstTimeSec().

◆ eventNumber()

int EcalTBEventHeader::eventNumber ( ) const
inline

◆ eventType()

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.

7  {
8  // this piece of code was in TPilot (ievtype)
9  int m = triggerMask_ & 0x00FFFF01; // bits 0, 8..23
10 
11  // this piece of code was in TPilot (numbit)
12  int w = m;
13  int num = 0;
14  if (w < 0) { //
15  w &= 0x7FFFFFFF; // CINT Error
16  num++; //
17  }
18  do {
19  num += (w & 0x1);
20  } while ((w >>= 1) != 0);
21  // end of numbit
22 
23  if (num != 1)
24  return std::string("error");
25 
26  char chEvtype[80];
27  if (m == 1)
28  return std::string("beam"); // Physics triggers
29  for (int i = 0; i < 24; i++) {
30  if ((m & 0x1) == 1) {
31  sprintf(chEvtype, "%d", i);
32  if (i == 11)
33  return std::string("pedestal");
34  if (i == 13)
35  return std::string("laser");
36  return std::string(chEvtype);
37  }
38  m >>= 1;
39  }
40  return std::string("error");
41 
42  // // FIXME: to be uncommented with new rawroot
43  // int evtype = rawHeader->GetEventType() ;
44  // if (evtype == 0) return std::string("error") ;
45  // if (evtype == 1) return std::string("beam") ;
46  // if (evtype == 11) return std::string("pedestal") ;
47  // if (evtype == 13) return std::string("laser") ;
48  // char chEvtype[80] ;
49  // sprintf(chEvtype, "%d", evtype) ;
50  // return std::string(chEvtype) ;
51 }

References mps_fire::i, visualization-live-secondInstance_cfg::m, EgammaValidation_cff::num, AlCaHLTBitMon_QueryRunRegistry::string, triggerMask_, w, and testProducerWithPsetDescEmpty_cfi::x1.

Referenced by dbEventType(), and IsTBH4Type::filter().

◆ laserType()

int EcalTBEventHeader::laserType ( ) const
inline

return the event laser type

Definition at line 114 of file EcalTBEventHeader.h.

114  {
115  return laserType_; // returns wavelength
116  }

References laserType_.

Referenced by setLaserType().

◆ laserTypeName()

LaserType EcalTBEventHeader::laserTypeName ( ) const
inline

Definition at line 118 of file EcalTBEventHeader.h.

118  {
119  LaserType laser_type;
120  switch (laserType_) {
121  case 440:
122  laser_type = LBlue;
123  break;
124  case 495:
125  laser_type = LGreen;
126  break;
127  case 709:
128  laser_type = LRed;
129  break;
130  case 800:
131  laser_type = LInfrared;
132  break;
133  default:
134  laser_type = LRed;
135  break;
136  }
137  return laser_type; // returns laserTypeName
138  }

References laserType_, LBlue, LGreen, LInfrared, and LRed.

Referenced by dbEventType().

◆ lightIntensity()

int EcalTBEventHeader::lightIntensity ( ) const
inline

return the laser intensity

Definition at line 112 of file EcalTBEventHeader.h.

112 { return lightIntensity_; }

References lightIntensity_.

Referenced by setLightIntensity().

◆ magnetMeasurements()

const std::vector<magnetsMeasurement_t>& EcalTBEventHeader::magnetMeasurements ( ) const
inline

Definition at line 145 of file EcalTBEventHeader.h.

145 { return magnetMeasurements_; }

References magnetMeasurements_.

Referenced by setMagnetMeasurements().

◆ nextCrystalInBeam()

int EcalTBEventHeader::nextCrystalInBeam ( ) const
inline

Definition at line 82 of file EcalTBEventHeader.h.

82 { return EBDetId(nextCrystalInBeam_).ic(); }

References EBDetId::ic(), and nextCrystalInBeam_.

◆ nominalCrystalInBeam()

int EcalTBEventHeader::nominalCrystalInBeam ( ) const
inline

Definition at line 81 of file EcalTBEventHeader.h.

81 { return EBDetId(nominalCrystalInBeam_).ic(); }

References EBDetId::ic(), and nominalCrystalInBeam_.

◆ numberOfMagnetMeasurements()

int EcalTBEventHeader::numberOfMagnetMeasurements ( ) const
inline

Definition at line 143 of file EcalTBEventHeader.h.

143 { return numberOfMagnetMeasurements_; }

References numberOfMagnetMeasurements_.

Referenced by setNumberOfMagnetMeasurements().

◆ phiTableIndex()

unsigned int EcalTBEventHeader::phiTableIndex ( ) const
inline

Returns the phi table index.

Definition at line 86 of file EcalTBEventHeader.h.

86 { return phiTableIndex_; }

References phiTableIndex_.

Referenced by setPhiTableIndex().

◆ runNumber()

int EcalTBEventHeader::runNumber ( ) const
inline

Definition at line 37 of file EcalTBEventHeader.h.

37 { return runNumber_; }

References runNumber_.

Referenced by operator<<(), EcalTBTDCRecInfoAlgo::reconstruct(), and setRunNumber().

◆ S6ADC()

int EcalTBEventHeader::S6ADC ( ) const
inline

returns S6 ADC value

Definition at line 141 of file EcalTBEventHeader.h.

141 { return S6ADC_; }

References S6ADC_.

Referenced by EcalSimple2007H4TBAnalyzer::analyze(), and setS6ADC().

◆ scaler()

int EcalTBEventHeader::scaler ( int  scalerId) const
inline

Definition at line 147 of file EcalTBEventHeader.h.

147  {
148  if (scalerId < ((int)scalers_.size()))
149  return scalers_[scalerId];
150  else
151  return -1;
152  }

References scalers_.

◆ setBegBurstLV1A()

void EcalTBEventHeader::setBegBurstLV1A ( const int &  begBurstLV1A)
inline

◆ setBegBurstTimeMsec()

void EcalTBEventHeader::setBegBurstTimeMsec ( const int &  begBurstTimeMsec)
inline

◆ setBegBurstTimeSec()

void EcalTBEventHeader::setBegBurstTimeSec ( const int &  begBurstTimeSec)
inline

◆ setBurstNumber()

void EcalTBEventHeader::setBurstNumber ( const short &  burstNumber)
inline

Definition at line 163 of file EcalTBEventHeader.h.

References burstNumber(), and burstNumber_.

Referenced by EcalSupervisorTBDataFormatter::interpretRawData().

◆ setCrystalInBeam()

void EcalTBEventHeader::setCrystalInBeam ( const DetId crystalInBeam)
inline

Definition at line 181 of file EcalTBEventHeader.h.

References crystalInBeam(), and crystalInBeam_.

Referenced by TableDataFormatter::interpretRawData().

◆ setDate()

void EcalTBEventHeader::setDate ( const int &  date)
inline

Definition at line 179 of file EcalTBEventHeader.h.

179 { date_ = date; }

References date(), and date_.

◆ setEndBurstLV1A()

void EcalTBEventHeader::setEndBurstLV1A ( const int &  endBurstLV1A)
inline

◆ setEndBurstTimeMsec()

void EcalTBEventHeader::setEndBurstTimeMsec ( const int &  endBurstTimeMsec)
inline

◆ setEndBurstTimeSec()

void EcalTBEventHeader::setEndBurstTimeSec ( const int &  endBurstTimeSec)
inline

◆ setEventNumber()

void EcalTBEventHeader::setEventNumber ( const int &  eventNumber)
inline

Definition at line 157 of file EcalTBEventHeader.h.

References eventNumber(), and eventNumber_.

Referenced by EcalSupervisorTBDataFormatter::interpretRawData().

◆ setLaserType()

void EcalTBEventHeader::setLaserType ( const int &  laserType)
inline

Definition at line 199 of file EcalTBEventHeader.h.

199 { laserType_ = laserType; }

References laserType(), and laserType_.

◆ setLightIntensity()

void EcalTBEventHeader::setLightIntensity ( const int &  lightIntensity)
inline

Definition at line 197 of file EcalTBEventHeader.h.

References lightIntensity(), and lightIntensity_.

◆ setMagnetMeasurements()

void EcalTBEventHeader::setMagnetMeasurements ( const std::vector< magnetsMeasurement_t > &  magnetMeasurements)
inline

◆ setNextCrystalInBeam()

void EcalTBEventHeader::setNextCrystalInBeam ( const DetId crystalInBeam)
inline

◆ setNominalCrystalInBeam()

void EcalTBEventHeader::setNominalCrystalInBeam ( const DetId crystalInBeam)
inline

◆ setNumberOfMagnetMeasurements()

void EcalTBEventHeader::setNumberOfMagnetMeasurements ( const int &  numberOfMagnetMeasurements)
inline

◆ setPhiTableIndex()

void EcalTBEventHeader::setPhiTableIndex ( const unsigned int &  phiTableIndex)
inline

Definition at line 189 of file EcalTBEventHeader.h.

References phiTableIndex(), and phiTableIndex_.

Referenced by TableDataFormatter::interpretRawData().

◆ setRunNumber()

void EcalTBEventHeader::setRunNumber ( const int &  runNumber)
inline

Definition at line 159 of file EcalTBEventHeader.h.

159 { runNumber_ = runNumber; }

References runNumber(), and runNumber_.

Referenced by EcalSupervisorTBDataFormatter::interpretRawData().

◆ setS6ADC()

void EcalTBEventHeader::setS6ADC ( const int &  S6ADC)
inline

Definition at line 201 of file EcalTBEventHeader.h.

201 { S6ADC_ = S6ADC; }

References S6ADC(), and S6ADC_.

Referenced by CamacTBDataFormatter::interpretRawData().

◆ setScalers()

void EcalTBEventHeader::setScalers ( const std::vector< int > &  scalers)
inline

Definition at line 210 of file EcalTBEventHeader.h.

210 { scalers_ = scalers; }

References LumiMonitor_cff::scalers, and scalers_.

Referenced by CamacTBDataFormatter::interpretRawData().

◆ setSmInBeam()

void EcalTBEventHeader::setSmInBeam ( const int &  smInBeam)
inline

Definition at line 161 of file EcalTBEventHeader.h.

161 { smInBeam_ = smInBeam; }

References smInBeam(), and smInBeam_.

◆ setSyncError()

void EcalTBEventHeader::setSyncError ( const bool &  syncError)
inline

Definition at line 195 of file EcalTBEventHeader.h.

195 { syncError_ = syncError; }

References syncError(), and syncError_.

Referenced by EcalSupervisorTBDataFormatter::interpretRawData().

◆ setTableIsMoving()

void EcalTBEventHeader::setTableIsMoving ( const bool &  tableIsMoving)
inline

Definition at line 191 of file EcalTBEventHeader.h.

References tableIsMoving(), and tableIsMoving_.

Referenced by CamacTBDataFormatter::interpretRawData().

◆ setTableIsMovingAtBegSpill()

void EcalTBEventHeader::setTableIsMovingAtBegSpill ( const bool &  tableIsMoving)
inline

◆ setThetaTableIndex()

void EcalTBEventHeader::setThetaTableIndex ( const unsigned int &  thetaTableIndex)
inline

◆ setTriggerMask()

void EcalTBEventHeader::setTriggerMask ( const int &  triggerMask)
inline

Definition at line 165 of file EcalTBEventHeader.h.

References triggerMask(), and triggerMask_.

◆ smInBeam()

short EcalTBEventHeader::smInBeam ( ) const
inline

Returns the burst number.

Definition at line 43 of file EcalTBEventHeader.h.

43 { return smInBeam_; }

References smInBeam_.

Referenced by EcalStatusAnalyzer::analyze(), and setSmInBeam().

◆ syncError()

bool EcalTBEventHeader::syncError ( ) const
inline

is there any sync error

Definition at line 92 of file EcalTBEventHeader.h.

92 { return syncError_; }

References syncError_.

Referenced by setSyncError().

◆ tableIsMoving()

bool EcalTBEventHeader::tableIsMoving ( ) const
inline

◆ tableIsMovingAtBegSpill()

bool EcalTBEventHeader::tableIsMovingAtBegSpill ( ) const
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.

90 { return tableIsMovingAtBegSpill_; }

References tableIsMovingAtBegSpill_.

◆ thetaTableIndex()

unsigned int EcalTBEventHeader::thetaTableIndex ( ) const
inline

Returns the theta table index.

Definition at line 84 of file EcalTBEventHeader.h.

84 { return thetaTableIndex_; }

References thetaTableIndex_.

Referenced by setThetaTableIndex().

◆ triggerMask()

int EcalTBEventHeader::triggerMask ( ) const
inline

Returns the trigger mask.

Definition at line 72 of file EcalTBEventHeader.h.

72 { return triggerMask_; }

References triggerMask_.

Referenced by setTriggerMask().

Member Data Documentation

◆ begBurstLV1A_

int EcalTBEventHeader::begBurstLV1A_
private

Definition at line 222 of file EcalTBEventHeader.h.

Referenced by begBurstLV1A(), and setBegBurstLV1A().

◆ begBurstTime_msec_

int EcalTBEventHeader::begBurstTime_msec_
private

Definition at line 219 of file EcalTBEventHeader.h.

Referenced by begBurstTimeMsec(), and setBegBurstTimeMsec().

◆ begBurstTime_sec_

int EcalTBEventHeader::begBurstTime_sec_
private

Information from the ecalSupervisor.

Definition at line 218 of file EcalTBEventHeader.h.

Referenced by begBurstTimeSec(), and setBegBurstTimeSec().

◆ burstNumber_

short EcalTBEventHeader::burstNumber_
private

The number of the burst.

Definition at line 215 of file EcalTBEventHeader.h.

Referenced by burstNumber(), and setBurstNumber().

◆ crystalInBeam_

DetId EcalTBEventHeader::crystalInBeam_
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().

◆ date_

int EcalTBEventHeader::date_
private

The date when the run was taken.

Definition at line 240 of file EcalTBEventHeader.h.

Referenced by date(), and setDate().

◆ endBurstLV1A_

int EcalTBEventHeader::endBurstLV1A_
private

Definition at line 223 of file EcalTBEventHeader.h.

Referenced by endBurstLV1A(), and setEndBurstLV1A().

◆ endBurstTime_msec_

int EcalTBEventHeader::endBurstTime_msec_
private

Definition at line 221 of file EcalTBEventHeader.h.

Referenced by endBurstTimeMsec(), and setEndBurstTimeMsec().

◆ endBurstTime_sec_

int EcalTBEventHeader::endBurstTime_sec_
private

Definition at line 220 of file EcalTBEventHeader.h.

Referenced by endBurstTimeSec(), and setEndBurstTimeSec().

◆ eventNumber_

int EcalTBEventHeader::eventNumber_
private

The numner of the event.

Definition at line 213 of file EcalTBEventHeader.h.

Referenced by eventNumber(), and setEventNumber().

◆ laserType_

int EcalTBEventHeader::laserType_
private

The laser type –see enum LaserType.

Definition at line 258 of file EcalTBEventHeader.h.

Referenced by laserType(), laserTypeName(), and setLaserType().

◆ lightIntensity_

int EcalTBEventHeader::lightIntensity_
private

The light intensity.

Definition at line 257 of file EcalTBEventHeader.h.

Referenced by lightIntensity(), and setLightIntensity().

◆ magnetMeasurements_

std::vector<magnetsMeasurement_t> EcalTBEventHeader::magnetMeasurements_
private

Definition at line 229 of file EcalTBEventHeader.h.

Referenced by magnetMeasurements(), and setMagnetMeasurements().

◆ nextCrystalInBeam_

DetId EcalTBEventHeader::nextCrystalInBeam_
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().

◆ nominalCrystalInBeam_

DetId EcalTBEventHeader::nominalCrystalInBeam_
private

The nominal crystal which should be hit by the beam.

Definition at line 244 of file EcalTBEventHeader.h.

Referenced by nominalCrystalInBeam(), and setNominalCrystalInBeam().

◆ numberOfMagnetMeasurements_

int EcalTBEventHeader::numberOfMagnetMeasurements_
private

Magnet currents.

Definition at line 228 of file EcalTBEventHeader.h.

Referenced by numberOfMagnetMeasurements(), and setNumberOfMagnetMeasurements().

◆ phiTableIndex_

unsigned int EcalTBEventHeader::phiTableIndex_
private

Phi table index (Y)

Definition at line 247 of file EcalTBEventHeader.h.

Referenced by phiTableIndex(), and setPhiTableIndex().

◆ runNumber_

int EcalTBEventHeader::runNumber_
private

The number of the run.

Definition at line 214 of file EcalTBEventHeader.h.

Referenced by runNumber(), and setRunNumber().

◆ S6ADC_

int EcalTBEventHeader::S6ADC_
private

ADC lecture of the S6 counter.

Definition at line 260 of file EcalTBEventHeader.h.

Referenced by S6ADC(), and setS6ADC().

◆ scalers_

std::vector<int> EcalTBEventHeader::scalers_
private

Definition at line 265 of file EcalTBEventHeader.h.

Referenced by scaler(), and setScalers().

◆ smInBeam_

short EcalTBEventHeader::smInBeam_
private

Definition at line 262 of file EcalTBEventHeader.h.

Referenced by setSmInBeam(), and smInBeam().

◆ syncError_

bool EcalTBEventHeader::syncError_
private

Definition at line 254 of file EcalTBEventHeader.h.

Referenced by setSyncError(), and syncError().

◆ tableIsMoving_

bool EcalTBEventHeader::tableIsMoving_
private

Definition at line 249 of file EcalTBEventHeader.h.

Referenced by setTableIsMoving(), and tableIsMoving().

◆ tableIsMovingAtBegSpill_

bool EcalTBEventHeader::tableIsMovingAtBegSpill_
private

Definition at line 251 of file EcalTBEventHeader.h.

Referenced by setTableIsMovingAtBegSpill(), and tableIsMovingAtBegSpill().

◆ thetaTableIndex_

unsigned int EcalTBEventHeader::thetaTableIndex_
private

Theta table index (X)

Definition at line 246 of file EcalTBEventHeader.h.

Referenced by setThetaTableIndex(), and thetaTableIndex().

◆ triggerMask_

int EcalTBEventHeader::triggerMask_
private

The trigger mask.

Definition at line 225 of file EcalTBEventHeader.h.

Referenced by eventType(), setTriggerMask(), and triggerMask().

EcalTBEventHeader::endBurstTime_sec_
int endBurstTime_sec_
Definition: EcalTBEventHeader.h:220
mps_fire.i
i
Definition: mps_fire.py:355
EcalTBEventHeader::syncError_
bool syncError_
Definition: EcalTBEventHeader.h:254
EBDetId::ic
int ic() const
get ECAL/crystal number inside SM
Definition: EBDetId.cc:41
EcalTBEventHeader::endBurstTime_msec_
int endBurstTime_msec_
Definition: EcalTBEventHeader.h:221
EcalTBEventHeader::numberOfMagnetMeasurements_
int numberOfMagnetMeasurements_
Magnet currents.
Definition: EcalTBEventHeader.h:228
EBDetId
Definition: EBDetId.h:17
EcalTBEventHeader::phiTableIndex
unsigned int phiTableIndex() const
Returns the phi table index.
Definition: EcalTBEventHeader.h:86
LumiMonitor_cff.scalers
scalers
Definition: LumiMonitor_cff.py:11
EcalTBEventHeader::laserTypeName
LaserType laserTypeName() const
Definition: EcalTBEventHeader.h:118
EcalTBEventHeader::triggerMask_
int triggerMask_
The trigger mask.
Definition: EcalTBEventHeader.h:225
EcalTBEventHeader::begBurstLV1A
int begBurstLV1A() const
Returns the begin burst time (msec)
Definition: EcalTBEventHeader.h:58
EcalTBEventHeader::syncError
bool syncError() const
is there any sync error
Definition: EcalTBEventHeader.h:92
EcalTBEventHeader::laserType
int laserType() const
return the event laser type
Definition: EcalTBEventHeader.h:114
EcalTBEventHeader::magnetMeasurements
const std::vector< magnetsMeasurement_t > & magnetMeasurements() const
Definition: EcalTBEventHeader.h:145
testProducerWithPsetDescEmpty_cfi.x1
x1
Definition: testProducerWithPsetDescEmpty_cfi.py:33
EcalTBEventHeader::S6ADC
int S6ADC() const
returns S6 ADC value
Definition: EcalTBEventHeader.h:141
EcalTBEventHeader::date
int date() const
Returns the date in Unix time.
Definition: EcalTBEventHeader.h:75
EcalTBEventHeader::smInBeam_
short smInBeam_
Definition: EcalTBEventHeader.h:262
EcalTBEventHeader::S6ADC_
int S6ADC_
ADC lecture of the S6 counter.
Definition: EcalTBEventHeader.h:260
EcalTBEventHeader::runNumber
int runNumber() const
Definition: EcalTBEventHeader.h:37
EcalTBEventHeader::LBlue
Definition: EcalTBEventHeader.h:106
EcalTBEventHeader::LaserType
LaserType
Definition: EcalTBEventHeader.h:105
EcalTBEventHeader::crystalInBeam_
DetId crystalInBeam_
Information from the table Supervisor.
Definition: EcalTBEventHeader.h:243
w
const double w
Definition: UKUtility.cc:23
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
EcalTBEventHeader::eventNumber
int eventNumber() const
Returns the event number.
Definition: EcalTBEventHeader.h:35
EcalTBEventHeader::begBurstTimeSec
int begBurstTimeSec() const
Returns the begin burst time (sec)
Definition: EcalTBEventHeader.h:46
EcalTBEventHeader::thetaTableIndex_
unsigned int thetaTableIndex_
Theta table index (X)
Definition: EcalTBEventHeader.h:246
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalTBEventHeader::endBurstTimeMsec
int endBurstTimeMsec() const
Returns the end burst time (msec)
Definition: EcalTBEventHeader.h:55
EcalTBEventHeader::begBurstTimeMsec
int begBurstTimeMsec() const
Returns the begin burst time (msec)
Definition: EcalTBEventHeader.h:49
EcalTBEventHeader::nominalCrystalInBeam_
DetId nominalCrystalInBeam_
The nominal crystal which should be hit by the beam.
Definition: EcalTBEventHeader.h:244
EcalTBEventHeader::smInBeam
short smInBeam() const
Returns the burst number.
Definition: EcalTBEventHeader.h:43
EcalTBEventHeader::burstNumber
short burstNumber() const
Returns the burst number.
Definition: EcalTBEventHeader.h:40
EcalTBEventHeader::triggerMask
int triggerMask() const
Returns the trigger mask.
Definition: EcalTBEventHeader.h:72
EcalTBEventHeader::tableIsMoving
bool tableIsMoving() const
Tell if the table is Moving.
Definition: EcalTBEventHeader.h:88
EcalTBEventHeader::tableIsMoving_
bool tableIsMoving_
Definition: EcalTBEventHeader.h:249
EcalTBEventHeader::begBurstTime_sec_
int begBurstTime_sec_
Information from the ecalSupervisor.
Definition: EcalTBEventHeader.h:218
EcalTBEventHeader::tableIsMovingAtBegSpill_
bool tableIsMovingAtBegSpill_
Definition: EcalTBEventHeader.h:251
EcalTBEventHeader::magnetMeasurements_
std::vector< magnetsMeasurement_t > magnetMeasurements_
Definition: EcalTBEventHeader.h:229
EcalTBEventHeader::runNumber_
int runNumber_
The number of the run.
Definition: EcalTBEventHeader.h:214
EcalTBEventHeader::eventNumber_
int eventNumber_
The numner of the event.
Definition: EcalTBEventHeader.h:213
EcalTBEventHeader::endBurstLV1A_
int endBurstLV1A_
Definition: EcalTBEventHeader.h:223
EgammaValidation_cff.num
num
Definition: EgammaValidation_cff.py:34
EcalTBEventHeader::LInfrared
709 nm
Definition: EcalTBEventHeader.h:109
EcalTBEventHeader::begBurstLV1A_
int begBurstLV1A_
Definition: EcalTBEventHeader.h:222
EcalTBEventHeader::laserType_
int laserType_
The laser type –see enum LaserType.
Definition: EcalTBEventHeader.h:258
EcalTBEventHeader::endBurstLV1A
int endBurstLV1A() const
Returns the end burst time (sec)
Definition: EcalTBEventHeader.h:61
EcalTBEventHeader::lightIntensity_
int lightIntensity_
The light intensity.
Definition: EcalTBEventHeader.h:257
EcalTBEventHeader::begBurstTime_msec_
int begBurstTime_msec_
Definition: EcalTBEventHeader.h:219
EcalTBEventHeader::phiTableIndex_
unsigned int phiTableIndex_
Phi table index (Y)
Definition: EcalTBEventHeader.h:247
EcalTBEventHeader::nextCrystalInBeam_
DetId nextCrystalInBeam_
The nominal next crystal which should be hit by the beam.
Definition: EcalTBEventHeader.h:245
EcalTBEventHeader::date_
int date_
The date when the run was taken.
Definition: EcalTBEventHeader.h:240
EcalTBEventHeader::crystalInBeam
int crystalInBeam() const
Returns the crystal which is being hit by the beam (in the internal SM numbering scheme)
Definition: EcalTBEventHeader.h:80
EcalTBEventHeader::eventType
std::string eventType() const
Definition: EcalTBEventHeader.cc:7
EcalTBEventHeader::lightIntensity
int lightIntensity() const
return the laser intensity
Definition: EcalTBEventHeader.h:112
EcalTBEventHeader::LGreen
440 nm
Definition: EcalTBEventHeader.h:107
EcalTBEventHeader::burstNumber_
short burstNumber_
The number of the burst.
Definition: EcalTBEventHeader.h:215
EcalTBEventHeader::numberOfMagnetMeasurements
int numberOfMagnetMeasurements() const
Definition: EcalTBEventHeader.h:143
EcalTBEventHeader::LRed
495 nm
Definition: EcalTBEventHeader.h:108
EcalTBEventHeader::endBurstTimeSec
int endBurstTimeSec() const
Returns the end burst time (sec)
Definition: EcalTBEventHeader.h:52
EcalTBEventHeader::thetaTableIndex
unsigned int thetaTableIndex() const
Returns the theta table index.
Definition: EcalTBEventHeader.h:84
EcalTBEventHeader::scalers_
std::vector< int > scalers_
Definition: EcalTBEventHeader.h:265