CMS 3D CMS Logo

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

#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 &timestamp_sec)
 
void setTimeStampUSec (const int &timestamp_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_
 

Detailed Description

Definition at line 5 of file ESDCCHeaderBlock.h.

Member Typedef Documentation

◆ key_type

Definition at line 7 of file ESDCCHeaderBlock.h.

Member Enumeration Documentation

◆ ESDCCRunType

Enumerator
PEDESTAL_RUN 
TESTPULSE_RUN 
COSMIC_RUN 
BEAM_RUN 
PHYSICS_RUN 
TEST_RUN 
GLOBAL_COSMIC_RUN 

Definition at line 9 of file ESDCCHeaderBlock.h.

◆ ESSeqType

Enumerator
STD_SEQ 
DELTASCAN_SEQ 
DELAYSCAN_SEQ 
PULSESHAPE_SEQ 

Definition at line 19 of file ESDCCHeaderBlock.h.

◆ ESTriggerType

Constructor & Destructor Documentation

◆ ESDCCHeaderBlock() [1/2]

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_.

3  {
4  dccId_ = -1;
5  fedId_ = -1;
6  LV1_ = -1;
7  BX_ = -1;
8  gain_ = -1;
9  precision_ = -1;
10  dac_ = -1;
11  evtLen_ = -1;
12  dccErrs_ = -1;
13  runNum_ = -1;
14  runType_ = -1;
15  seqType_ = -1;
16  trgType_ = -1;
17  compFlag_ = -1;
18  orbit_ = -1;
19  vmajor_ = -1;
20  vminor_ = -1;
21  optoRX0_ = -1;
22  optoRX1_ = -1;
23  optoRX2_ = -1;
24  optoBC0_ = -1;
25  optoBC1_ = -1;
26  optoBC2_ = -1;
27  FEch_.reserve(36);
28  packetLen_ = -1;
29  bc_ = -1;
30  ev_ = -1;
31  BMMeasurements_ = -1;
32  beginOfSpillSec_ = -1;
34  endOfSpillSec_ = -1;
36  beginOfSpillLV1_ = -1;
37  endOfSpillLV1_ = -1;
38  timestamp_sec_ = -1;
39  timestamp_usec_ = -1;
40  spillNum_ = -1;
41  evtInSpill_ = -1;
42  camacErr_ = -1;
43  vmeErr_ = -1;
44  ADCch_status_.reserve(12);
45  ADCch_.reserve(12);
46  TDCch_status_.reserve(8);
47  TDCch_.reserve(8);
48 }
std::vector< int > TDCch_status_
std::vector< int > ADCch_status_
std::vector< int > ADCch_
std::vector< int > TDCch_
std::vector< int > FEch_

◆ ESDCCHeaderBlock() [2/2]

ESDCCHeaderBlock::ESDCCHeaderBlock ( const int &  dccId)

Definition at line 50 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_.

50  {
51  dccId_ = dccId;
52  fedId_ = -1;
53  LV1_ = -1;
54  BX_ = -1;
55  gain_ = -1;
56  precision_ = -1;
57  dac_ = -1;
58  evtLen_ = -1;
59  dccErrs_ = -1;
60  runNum_ = -1;
61  runType_ = -1;
62  seqType_ = -1;
63  trgType_ = -1;
64  compFlag_ = -1;
65  orbit_ = -1;
66  vmajor_ = -1;
67  vminor_ = -1;
68  optoRX0_ = -1;
69  optoRX1_ = -1;
70  optoRX2_ = -1;
71  optoBC0_ = -1;
72  optoBC1_ = -1;
73  optoBC2_ = -1;
74  FEch_.reserve(36);
75  packetLen_ = -1;
76  bc_ = -1;
77  ev_ = -1;
78  BMMeasurements_ = -1;
79  beginOfSpillSec_ = -1;
81  endOfSpillSec_ = -1;
83  beginOfSpillLV1_ = -1;
84  endOfSpillLV1_ = -1;
85  timestamp_sec_ = -1;
86  timestamp_usec_ = -1;
87  spillNum_ = -1;
88  evtInSpill_ = -1;
89  camacErr_ = -1;
90  vmeErr_ = -1;
91  ADCch_status_.reserve(12);
92  ADCch_.reserve(12);
93  TDCch_status_.reserve(8);
94  TDCch_.reserve(8);
95 }
std::vector< int > TDCch_status_
std::vector< int > ADCch_status_
std::vector< int > ADCch_
unsigned dccId(DetId const &, EcalElectronicsMapping const *)
std::vector< int > TDCch_
std::vector< int > FEch_

Member Function Documentation

◆ fedId()

const int ESDCCHeaderBlock::fedId ( ) const
inline

Definition at line 29 of file ESDCCHeaderBlock.h.

References fedId_.

Referenced by setFedId().

29 { return fedId_; }

◆ getADCChannel()

const std::vector<int>& ESDCCHeaderBlock::getADCChannel ( ) const
inline

Definition at line 117 of file ESDCCHeaderBlock.h.

References ADCch_.

117 { return ADCch_; }
std::vector< int > ADCch_

◆ getADCChannelStatus()

const std::vector<int>& ESDCCHeaderBlock::getADCChannelStatus ( ) const
inline

Definition at line 116 of file ESDCCHeaderBlock.h.

References ADCch_status_.

116 { return ADCch_status_; }
std::vector< int > ADCch_status_

◆ getBC()

int ESDCCHeaderBlock::getBC ( ) const
inline

Definition at line 101 of file ESDCCHeaderBlock.h.

References bc_.

101 { return bc_; }

◆ getBeginOfSpillLV1()

int ESDCCHeaderBlock::getBeginOfSpillLV1 ( ) const
inline

Definition at line 108 of file ESDCCHeaderBlock.h.

References beginOfSpillLV1_.

108 { return beginOfSpillLV1_; }

◆ getBeginOfSpillMiliSec()

int ESDCCHeaderBlock::getBeginOfSpillMiliSec ( ) const
inline

Definition at line 105 of file ESDCCHeaderBlock.h.

References beginOfSpillMilliSec_.

105 { return beginOfSpillMilliSec_; }

◆ getBeginOfSpillSec()

int ESDCCHeaderBlock::getBeginOfSpillSec ( ) const
inline

Definition at line 104 of file ESDCCHeaderBlock.h.

References beginOfSpillSec_.

104 { return beginOfSpillSec_; }

◆ getBMMeasurements()

int ESDCCHeaderBlock::getBMMeasurements ( ) const
inline

Definition at line 103 of file ESDCCHeaderBlock.h.

References BMMeasurements_.

103 { return BMMeasurements_; }

◆ getBX()

int ESDCCHeaderBlock::getBX ( ) const
inline

Definition at line 79 of file ESDCCHeaderBlock.h.

References BX_.

Referenced by ESRawDataTask::analyze(), and ESFEDIntegrityTask::analyze().

79 { return BX_; }

◆ getCAMACError()

int ESDCCHeaderBlock::getCAMACError ( ) const
inline

Definition at line 114 of file ESDCCHeaderBlock.h.

References camacErr_.

114 { return camacErr_; }

◆ getCompressionFlag()

int ESDCCHeaderBlock::getCompressionFlag ( ) const
inline

Definition at line 89 of file ESDCCHeaderBlock.h.

References compFlag_.

89 { return compFlag_; }

◆ getDAC()

int ESDCCHeaderBlock::getDAC ( ) const
inline

Definition at line 82 of file ESDCCHeaderBlock.h.

References dac_.

82 { return dac_; }

◆ getDCCErrors()

int ESDCCHeaderBlock::getDCCErrors ( ) const
inline

Definition at line 84 of file ESDCCHeaderBlock.h.

References dccErrs_.

84 { return dccErrs_; }

◆ getEndOfSpillLV1()

int ESDCCHeaderBlock::getEndOfSpillLV1 ( ) const
inline

Definition at line 109 of file ESDCCHeaderBlock.h.

References endOfSpillLV1_.

109 { return endOfSpillLV1_; }

◆ getEndOfSpillMiliSec()

int ESDCCHeaderBlock::getEndOfSpillMiliSec ( ) const
inline

Definition at line 107 of file ESDCCHeaderBlock.h.

References endOfSpillMilliSec_.

107 { return endOfSpillMilliSec_; }

◆ getEndOfSpillSec()

int ESDCCHeaderBlock::getEndOfSpillSec ( ) const
inline

Definition at line 106 of file ESDCCHeaderBlock.h.

References endOfSpillSec_.

106 { return endOfSpillSec_; }

◆ getEV()

int ESDCCHeaderBlock::getEV ( ) const
inline

Definition at line 102 of file ESDCCHeaderBlock.h.

References ev_.

102 { return ev_; }

◆ getEventInSpill()

int ESDCCHeaderBlock::getEventInSpill ( ) const
inline

Definition at line 113 of file ESDCCHeaderBlock.h.

References evtInSpill_.

113 { return evtInSpill_; }

◆ getEventLength()

int ESDCCHeaderBlock::getEventLength ( ) const
inline

Definition at line 83 of file ESDCCHeaderBlock.h.

References evtLen_.

83 { return evtLen_; }

◆ getFEChannelStatus()

const std::vector<int>& ESDCCHeaderBlock::getFEChannelStatus ( ) const
inline

Definition at line 99 of file ESDCCHeaderBlock.h.

References FEch_.

99 { return FEch_; }
std::vector< int > FEch_

◆ getGain()

int ESDCCHeaderBlock::getGain ( ) const
inline

Definition at line 80 of file ESDCCHeaderBlock.h.

References gain_.

80 { return gain_; }

◆ getLV1()

int ESDCCHeaderBlock::getLV1 ( ) const
inline

Definition at line 78 of file ESDCCHeaderBlock.h.

References LV1_.

Referenced by ESRawDataTask::analyze(), and ESFEDIntegrityTask::analyze().

78 { return LV1_; }

◆ getMajorVersion()

int ESDCCHeaderBlock::getMajorVersion ( ) const
inline

Definition at line 91 of file ESDCCHeaderBlock.h.

References vmajor_.

91 { return vmajor_; }

◆ getMinorVersion()

int ESDCCHeaderBlock::getMinorVersion ( ) const
inline

Definition at line 92 of file ESDCCHeaderBlock.h.

References vminor_.

92 { return vminor_; }

◆ getOptoBC0()

int ESDCCHeaderBlock::getOptoBC0 ( ) const
inline

Definition at line 96 of file ESDCCHeaderBlock.h.

References optoBC0_.

96 { return optoBC0_; }

◆ getOptoBC1()

int ESDCCHeaderBlock::getOptoBC1 ( ) const
inline

Definition at line 97 of file ESDCCHeaderBlock.h.

References optoBC1_.

97 { return optoBC1_; }

◆ getOptoBC2()

int ESDCCHeaderBlock::getOptoBC2 ( ) const
inline

Definition at line 98 of file ESDCCHeaderBlock.h.

References optoBC2_.

98 { return optoBC2_; }

◆ getOptoRX0()

int ESDCCHeaderBlock::getOptoRX0 ( ) const
inline

Definition at line 93 of file ESDCCHeaderBlock.h.

References optoRX0_.

Referenced by ESUnpacker::interpretRawData().

93 { return optoRX0_; }

◆ getOptoRX1()

int ESDCCHeaderBlock::getOptoRX1 ( ) const
inline

Definition at line 94 of file ESDCCHeaderBlock.h.

References optoRX1_.

Referenced by ESUnpacker::interpretRawData().

94 { return optoRX1_; }

◆ getOptoRX2()

int ESDCCHeaderBlock::getOptoRX2 ( ) const
inline

Definition at line 95 of file ESDCCHeaderBlock.h.

References optoRX2_.

Referenced by ESUnpacker::interpretRawData().

95 { return optoRX2_; }

◆ getOrbitNumber()

int ESDCCHeaderBlock::getOrbitNumber ( ) const
inline

Definition at line 90 of file ESDCCHeaderBlock.h.

References orbit_.

Referenced by ESRawDataTask::analyze(), and ESFEDIntegrityTask::analyze().

90 { return orbit_; }

◆ getPacketLength()

int ESDCCHeaderBlock::getPacketLength ( ) const
inline

Definition at line 100 of file ESDCCHeaderBlock.h.

References packetLen_.

100 { return packetLen_; }

◆ getPrecision()

int ESDCCHeaderBlock::getPrecision ( ) const
inline

Definition at line 81 of file ESDCCHeaderBlock.h.

References precision_.

81 { return precision_; }

◆ getRunNumber()

int ESDCCHeaderBlock::getRunNumber ( ) const
inline

Definition at line 85 of file ESDCCHeaderBlock.h.

References runNum_.

85 { return runNum_; }

◆ getRunType()

int ESDCCHeaderBlock::getRunType ( ) const
inline

Definition at line 86 of file ESDCCHeaderBlock.h.

References runType_.

86 { return runType_; }

◆ getSeqType()

int ESDCCHeaderBlock::getSeqType ( ) const
inline

Definition at line 87 of file ESDCCHeaderBlock.h.

References seqType_.

87 { return seqType_; }

◆ getSpillNumber()

int ESDCCHeaderBlock::getSpillNumber ( ) const
inline

Definition at line 112 of file ESDCCHeaderBlock.h.

References spillNum_.

112 { return spillNum_; }

◆ getTDCChannel()

const std::vector<int>& ESDCCHeaderBlock::getTDCChannel ( ) const
inline

Definition at line 119 of file ESDCCHeaderBlock.h.

References TDCch_.

119 { return TDCch_; }
std::vector< int > TDCch_

◆ getTDCChannelStatus()

const std::vector<int>& ESDCCHeaderBlock::getTDCChannelStatus ( ) const
inline

Definition at line 118 of file ESDCCHeaderBlock.h.

References TDCch_status_.

118 { return TDCch_status_; }
std::vector< int > TDCch_status_

◆ getTimeStampSec()

int ESDCCHeaderBlock::getTimeStampSec ( ) const
inline

Definition at line 110 of file ESDCCHeaderBlock.h.

References timestamp_sec_.

110 { return timestamp_sec_; }

◆ getTimeStampUSec()

int ESDCCHeaderBlock::getTimeStampUSec ( ) const
inline

Definition at line 111 of file ESDCCHeaderBlock.h.

References timestamp_usec_.

111 { return timestamp_usec_; }

◆ getTriggerType()

int ESDCCHeaderBlock::getTriggerType ( ) const
inline

Definition at line 88 of file ESDCCHeaderBlock.h.

References trgType_.

88 { return trgType_; }

◆ getVMEError()

int ESDCCHeaderBlock::getVMEError ( ) const
inline

Definition at line 115 of file ESDCCHeaderBlock.h.

References vmeErr_.

115 { return vmeErr_; }

◆ id()

const int& ESDCCHeaderBlock::id ( ) const
inline

Definition at line 26 of file ESDCCHeaderBlock.h.

References dccId_.

26 { return dccId_; }

◆ setADCChannel()

void ESDCCHeaderBlock::setADCChannel ( const std::vector< int > &  ADCch)
inline

Definition at line 74 of file ESDCCHeaderBlock.h.

References ADCch_.

74 { ADCch_ = ADCch; };
std::vector< int > ADCch_

◆ setADCChannelStatus()

void ESDCCHeaderBlock::setADCChannelStatus ( const std::vector< int > &  ADCch_status)
inline

Definition at line 73 of file ESDCCHeaderBlock.h.

References ADCch_status_.

73 { ADCch_status_ = ADCch_status; };
std::vector< int > ADCch_status_

◆ setBC()

void ESDCCHeaderBlock::setBC ( const int &  bc)
inline

Definition at line 56 of file ESDCCHeaderBlock.h.

References bc_.

56 { bc_ = bc; };

◆ setBeginOfSpillLV1()

void ESDCCHeaderBlock::setBeginOfSpillLV1 ( const int &  beginOfSpillLV1)
inline

Definition at line 64 of file ESDCCHeaderBlock.h.

References beginOfSpillLV1_.

64 { beginOfSpillLV1_ = beginOfSpillLV1; };

◆ setBeginOfSpillMilliSec()

void ESDCCHeaderBlock::setBeginOfSpillMilliSec ( const int &  beginOfSpillMilliSec)
inline

Definition at line 61 of file ESDCCHeaderBlock.h.

References beginOfSpillMilliSec_.

61 { beginOfSpillMilliSec_ = beginOfSpillMilliSec; };

◆ setBeginOfSpillSec()

void ESDCCHeaderBlock::setBeginOfSpillSec ( const int &  beginOfSpillSec)
inline

Definition at line 60 of file ESDCCHeaderBlock.h.

References beginOfSpillSec_.

60 { beginOfSpillSec_ = beginOfSpillSec; };

◆ setBMMeasurements()

void ESDCCHeaderBlock::setBMMeasurements ( const int &  BMMeasurements)
inline

Definition at line 59 of file ESDCCHeaderBlock.h.

References BMMeasurements_.

59 { BMMeasurements_ = BMMeasurements; };

◆ setBX()

void ESDCCHeaderBlock::setBX ( const int &  BX)
inline

◆ setCAMACError()

void ESDCCHeaderBlock::setCAMACError ( const int &  camacErr)
inline

Definition at line 71 of file ESDCCHeaderBlock.h.

References camacErr_.

71 { camacErr_ = camacErr; };

◆ setCompressionFlag()

void ESDCCHeaderBlock::setCompressionFlag ( const int &  compFlag)
inline

Definition at line 43 of file ESDCCHeaderBlock.h.

References compFlag_.

43 { compFlag_ = compFlag; };

◆ setDAC()

void ESDCCHeaderBlock::setDAC ( const int &  dac)
inline

Definition at line 36 of file ESDCCHeaderBlock.h.

References dac_.

Referenced by ESUnpacker::interpretRawData().

36 { dac_ = dac; }

◆ setDCCErrors()

void ESDCCHeaderBlock::setDCCErrors ( const int &  dccErrs)
inline

Definition at line 38 of file ESDCCHeaderBlock.h.

References dccErrs_.

Referenced by ESUnpacker::interpretRawData().

38 { dccErrs_ = dccErrs; };

◆ setEndOfSpillLV1()

void ESDCCHeaderBlock::setEndOfSpillLV1 ( const int &  endOfSpillLV1)
inline

Definition at line 65 of file ESDCCHeaderBlock.h.

References endOfSpillLV1_.

65 { endOfSpillLV1_ = endOfSpillLV1; };

◆ setEndOfSpillMilliSec()

void ESDCCHeaderBlock::setEndOfSpillMilliSec ( const int &  endOfSpillMilliSec)
inline

Definition at line 63 of file ESDCCHeaderBlock.h.

References endOfSpillMilliSec_.

63 { endOfSpillMilliSec_ = endOfSpillMilliSec; };

◆ setEndOfSpillSec()

void ESDCCHeaderBlock::setEndOfSpillSec ( const int &  endOfSpillSec)
inline

Definition at line 62 of file ESDCCHeaderBlock.h.

References endOfSpillSec_.

62 { endOfSpillSec_ = endOfSpillSec; };

◆ setEV()

void ESDCCHeaderBlock::setEV ( const int &  ev)
inline

◆ setEventInSpill()

void ESDCCHeaderBlock::setEventInSpill ( const int &  evtInSpill)
inline

Definition at line 70 of file ESDCCHeaderBlock.h.

References evtInSpill_.

70 { evtInSpill_ = evtInSpill; };

◆ setEventLength()

void ESDCCHeaderBlock::setEventLength ( const int &  evtLen)
inline

Definition at line 37 of file ESDCCHeaderBlock.h.

References evtLen_.

37 { evtLen_ = evtLen; };

◆ setFEChannelStatus()

void ESDCCHeaderBlock::setFEChannelStatus ( const std::vector< int > &  FEch)
inline

Definition at line 53 of file ESDCCHeaderBlock.h.

References FEch_.

Referenced by ESUnpacker::interpretRawData().

53 { FEch_ = FEch; };
std::vector< int > FEch_

◆ setFedId()

void ESDCCHeaderBlock::setFedId ( const int &  fedId)
inline

Definition at line 30 of file ESDCCHeaderBlock.h.

References fedId(), and fedId_.

Referenced by ESUnpacker::interpretRawData().

30 { fedId_ = fedId; };
const int fedId() const

◆ setGain()

void ESDCCHeaderBlock::setGain ( const int &  gain)
inline

◆ setId()

void ESDCCHeaderBlock::setId ( const int &  dccId)
inline

Definition at line 27 of file ESDCCHeaderBlock.h.

References ecaldqm::dccId(), and dccId_.

27 { dccId_ = dccId; };
unsigned dccId(DetId const &, EcalElectronicsMapping const *)

◆ setLV1()

void ESDCCHeaderBlock::setLV1 ( const int &  LV1)
inline

Definition at line 32 of file ESDCCHeaderBlock.h.

References LV1_.

Referenced by ESUnpacker::interpretRawData().

32 { LV1_ = LV1; };

◆ setMajorVersion()

void ESDCCHeaderBlock::setMajorVersion ( const int &  vmajor)
inline

Definition at line 45 of file ESDCCHeaderBlock.h.

References vmajor_.

Referenced by ESUnpacker::interpretRawData().

45 { vmajor_ = vmajor; };

◆ setMinorVersion()

void ESDCCHeaderBlock::setMinorVersion ( const int &  vminor)
inline

Definition at line 46 of file ESDCCHeaderBlock.h.

References vminor_.

Referenced by ESUnpacker::interpretRawData().

46 { vminor_ = vminor; };

◆ setOptoBC0()

void ESDCCHeaderBlock::setOptoBC0 ( const int &  optoBC0)
inline

Definition at line 50 of file ESDCCHeaderBlock.h.

References optoBC0_.

Referenced by ESUnpacker::interpretRawData().

50 { optoBC0_ = optoBC0; };

◆ setOptoBC1()

void ESDCCHeaderBlock::setOptoBC1 ( const int &  optoBC1)
inline

Definition at line 51 of file ESDCCHeaderBlock.h.

References optoBC1_.

Referenced by ESUnpacker::interpretRawData().

51 { optoBC1_ = optoBC1; };

◆ setOptoBC2()

void ESDCCHeaderBlock::setOptoBC2 ( const int &  optoBC2)
inline

Definition at line 52 of file ESDCCHeaderBlock.h.

References optoBC2_.

Referenced by ESUnpacker::interpretRawData().

52 { optoBC2_ = optoBC2; };

◆ setOptoRX0()

void ESDCCHeaderBlock::setOptoRX0 ( const int &  optoRX0)
inline

Definition at line 47 of file ESDCCHeaderBlock.h.

References optoRX0_.

Referenced by ESUnpacker::interpretRawData().

47 { optoRX0_ = optoRX0; };

◆ setOptoRX1()

void ESDCCHeaderBlock::setOptoRX1 ( const int &  optoRX1)
inline

Definition at line 48 of file ESDCCHeaderBlock.h.

References optoRX1_.

Referenced by ESUnpacker::interpretRawData().

48 { optoRX1_ = optoRX1; };

◆ setOptoRX2()

void ESDCCHeaderBlock::setOptoRX2 ( const int &  optoRX2)
inline

Definition at line 49 of file ESDCCHeaderBlock.h.

References optoRX2_.

Referenced by ESUnpacker::interpretRawData().

49 { optoRX2_ = optoRX2; };

◆ setOrbitNumber()

void ESDCCHeaderBlock::setOrbitNumber ( const int &  orbit)
inline

Definition at line 44 of file ESDCCHeaderBlock.h.

References orbit_.

Referenced by ESUnpacker::interpretRawData().

44 { orbit_ = orbit; };

◆ setPacketLength()

void ESDCCHeaderBlock::setPacketLength ( const int &  packetLen)
inline

Definition at line 55 of file ESDCCHeaderBlock.h.

References packetLen_.

55 { packetLen_ = packetLen; };

◆ setPrecision()

void ESDCCHeaderBlock::setPrecision ( const int &  precision)
inline

◆ setRunNumber()

void ESDCCHeaderBlock::setRunNumber ( const int &  runNum)
inline

Definition at line 39 of file ESDCCHeaderBlock.h.

References DeadROC_duringRun::runNum, and runNum_.

◆ setRunType()

void ESDCCHeaderBlock::setRunType ( const int &  runType)
inline

Definition at line 40 of file ESDCCHeaderBlock.h.

References runPedHist::runType, and runType_.

Referenced by ESUnpacker::interpretRawData().

◆ setSeqType()

void ESDCCHeaderBlock::setSeqType ( const int &  seqType)
inline

Definition at line 41 of file ESDCCHeaderBlock.h.

References seqType_.

Referenced by ESUnpacker::interpretRawData().

41 { seqType_ = seqType; };

◆ setSpillNumber()

void ESDCCHeaderBlock::setSpillNumber ( const int &  spillNum)
inline

Definition at line 69 of file ESDCCHeaderBlock.h.

References spillNum_.

69 { spillNum_ = spillNum; };

◆ setTDCChannel()

void ESDCCHeaderBlock::setTDCChannel ( const std::vector< int > &  TDCch)
inline

Definition at line 76 of file ESDCCHeaderBlock.h.

References TDCch_.

76 { TDCch_ = TDCch; };
std::vector< int > TDCch_

◆ setTDCChannelStatus()

void ESDCCHeaderBlock::setTDCChannelStatus ( const std::vector< int > &  TDCch_status)
inline

Definition at line 75 of file ESDCCHeaderBlock.h.

References TDCch_status_.

75 { TDCch_status_ = TDCch_status; };
std::vector< int > TDCch_status_

◆ setTimeStampSec()

void ESDCCHeaderBlock::setTimeStampSec ( const int &  timestamp_sec)
inline

Definition at line 67 of file ESDCCHeaderBlock.h.

References timestamp_sec_.

67 { timestamp_sec_ = timestamp_sec; };

◆ setTimeStampUSec()

void ESDCCHeaderBlock::setTimeStampUSec ( const int &  timestamp_usec)
inline

Definition at line 68 of file ESDCCHeaderBlock.h.

References timestamp_usec_.

68 { timestamp_usec_ = timestamp_usec; };

◆ setTriggerType()

void ESDCCHeaderBlock::setTriggerType ( const int &  trgType)
inline

Definition at line 42 of file ESDCCHeaderBlock.h.

References trgType_.

Referenced by ESUnpacker::interpretRawData().

42 { trgType_ = trgType; };

◆ setVMEError()

void ESDCCHeaderBlock::setVMEError ( const int &  vmeErr)
inline

Definition at line 72 of file ESDCCHeaderBlock.h.

References vmeErr_.

72 { vmeErr_ = vmeErr; };

Member Data Documentation

◆ ADCch_

std::vector<int> ESDCCHeaderBlock::ADCch_
private

Definition at line 163 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getADCChannel(), and setADCChannel().

◆ ADCch_status_

std::vector<int> ESDCCHeaderBlock::ADCch_status_
private

Definition at line 162 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getADCChannelStatus(), and setADCChannelStatus().

◆ bc_

int ESDCCHeaderBlock::bc_
private

Definition at line 147 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getBC(), and setBC().

◆ beginOfSpillLV1_

int ESDCCHeaderBlock::beginOfSpillLV1_
private

Definition at line 154 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getBeginOfSpillLV1(), and setBeginOfSpillLV1().

◆ beginOfSpillMilliSec_

int ESDCCHeaderBlock::beginOfSpillMilliSec_
private

◆ beginOfSpillSec_

int ESDCCHeaderBlock::beginOfSpillSec_
private

Definition at line 150 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getBeginOfSpillSec(), and setBeginOfSpillSec().

◆ BMMeasurements_

int ESDCCHeaderBlock::BMMeasurements_
private

Definition at line 149 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getBMMeasurements(), and setBMMeasurements().

◆ BX_

int ESDCCHeaderBlock::BX_
private

Definition at line 125 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getBX(), and setBX().

◆ camacErr_

int ESDCCHeaderBlock::camacErr_
private

Definition at line 160 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getCAMACError(), and setCAMACError().

◆ compFlag_

int ESDCCHeaderBlock::compFlag_
private

Definition at line 135 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getCompressionFlag(), and setCompressionFlag().

◆ dac_

int ESDCCHeaderBlock::dac_
private

Definition at line 128 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getDAC(), and setDAC().

◆ dccErrs_

int ESDCCHeaderBlock::dccErrs_
private

Definition at line 130 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getDCCErrors(), and setDCCErrors().

◆ dccId_

int ESDCCHeaderBlock::dccId_
private

Definition at line 122 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), id(), and setId().

◆ endOfSpillLV1_

int ESDCCHeaderBlock::endOfSpillLV1_
private

Definition at line 155 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getEndOfSpillLV1(), and setEndOfSpillLV1().

◆ endOfSpillMilliSec_

int ESDCCHeaderBlock::endOfSpillMilliSec_
private

◆ endOfSpillSec_

int ESDCCHeaderBlock::endOfSpillSec_
private

Definition at line 152 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getEndOfSpillSec(), and setEndOfSpillSec().

◆ ev_

int ESDCCHeaderBlock::ev_
private

Definition at line 148 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getEV(), and setEV().

◆ evtInSpill_

int ESDCCHeaderBlock::evtInSpill_
private

Definition at line 159 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getEventInSpill(), and setEventInSpill().

◆ evtLen_

int ESDCCHeaderBlock::evtLen_
private

Definition at line 129 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getEventLength(), and setEventLength().

◆ FEch_

std::vector<int> ESDCCHeaderBlock::FEch_
private

Definition at line 145 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getFEChannelStatus(), and setFEChannelStatus().

◆ fedId_

int ESDCCHeaderBlock::fedId_
private

Definition at line 123 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), fedId(), and setFedId().

◆ gain_

int ESDCCHeaderBlock::gain_
private

Definition at line 126 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getGain(), and setGain().

◆ LV1_

int ESDCCHeaderBlock::LV1_
private

Definition at line 124 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getLV1(), and setLV1().

◆ optoBC0_

int ESDCCHeaderBlock::optoBC0_
private

Definition at line 142 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getOptoBC0(), and setOptoBC0().

◆ optoBC1_

int ESDCCHeaderBlock::optoBC1_
private

Definition at line 143 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getOptoBC1(), and setOptoBC1().

◆ optoBC2_

int ESDCCHeaderBlock::optoBC2_
private

Definition at line 144 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getOptoBC2(), and setOptoBC2().

◆ optoRX0_

int ESDCCHeaderBlock::optoRX0_
private

Definition at line 139 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getOptoRX0(), and setOptoRX0().

◆ optoRX1_

int ESDCCHeaderBlock::optoRX1_
private

Definition at line 140 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getOptoRX1(), and setOptoRX1().

◆ optoRX2_

int ESDCCHeaderBlock::optoRX2_
private

Definition at line 141 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getOptoRX2(), and setOptoRX2().

◆ orbit_

int ESDCCHeaderBlock::orbit_
private

Definition at line 136 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getOrbitNumber(), and setOrbitNumber().

◆ packetLen_

int ESDCCHeaderBlock::packetLen_
private

Definition at line 146 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getPacketLength(), and setPacketLength().

◆ precision_

int ESDCCHeaderBlock::precision_
private

Definition at line 127 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getPrecision(), and setPrecision().

◆ runNum_

int ESDCCHeaderBlock::runNum_
private

Definition at line 131 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getRunNumber(), and setRunNumber().

◆ runType_

int ESDCCHeaderBlock::runType_
private

Definition at line 132 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getRunType(), and setRunType().

◆ seqType_

int ESDCCHeaderBlock::seqType_
private

Definition at line 133 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getSeqType(), and setSeqType().

◆ spillNum_

int ESDCCHeaderBlock::spillNum_
private

Definition at line 158 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getSpillNumber(), and setSpillNumber().

◆ TDCch_

std::vector<int> ESDCCHeaderBlock::TDCch_
private

Definition at line 165 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getTDCChannel(), and setTDCChannel().

◆ TDCch_status_

std::vector<int> ESDCCHeaderBlock::TDCch_status_
private

Definition at line 164 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getTDCChannelStatus(), and setTDCChannelStatus().

◆ timestamp_sec_

int ESDCCHeaderBlock::timestamp_sec_
private

Definition at line 156 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getTimeStampSec(), and setTimeStampSec().

◆ timestamp_usec_

int ESDCCHeaderBlock::timestamp_usec_
private

Definition at line 157 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getTimeStampUSec(), and setTimeStampUSec().

◆ trgType_

int ESDCCHeaderBlock::trgType_
private

Definition at line 134 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getTriggerType(), and setTriggerType().

◆ vmajor_

int ESDCCHeaderBlock::vmajor_
private

Definition at line 137 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getMajorVersion(), and setMajorVersion().

◆ vmeErr_

int ESDCCHeaderBlock::vmeErr_
private

Definition at line 161 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getVMEError(), and setVMEError().

◆ vminor_

int ESDCCHeaderBlock::vminor_
private

Definition at line 138 of file ESDCCHeaderBlock.h.

Referenced by ESDCCHeaderBlock(), getMinorVersion(), and setMinorVersion().