CMS 3D CMS Logo

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

#include <EcalDCCHeaderBlock.h>

Classes

struct  EcalDCCEventSettings
 

Public Types

enum  EcalBasicTriggerType { PHYSICS_TRIGGER = 1, CALIBRATION_TRIGGER = 2, TEST_TRIGGER = 3, TECHNICAL_EXTERNAL_TRIGGER = 4 }
 
enum  EcalDCCRuntype {
  COSMIC = 0, BEAMH4 = 1, BEAMH2 = 2, MTCC = 3,
  LASER_STD = 4, LASER_POWER_SCAN = 5, LASER_DELAY_SCAN = 6, TESTPULSE_SCAN_MEM = 7,
  TESTPULSE_MGPA = 8, PEDESTAL_STD = 9, PEDESTAL_OFFSET_SCAN = 10, PEDESTAL_25NS_SCAN = 11,
  LED_STD = 12, PHYSICS_GLOBAL = 13, COSMICS_GLOBAL = 14, HALO_GLOBAL = 15,
  LASER_GAP = 16, TESTPULSE_GAP = 17, PEDESTAL_GAP = 18, LED_GAP = 19,
  PHYSICS_LOCAL = 20, COSMICS_LOCAL = 21, HALO_LOCAL = 22, CALIB_LOCAL = 23
}
 
typedef int key_type
 For the sorted collection. More...
 
enum  TTC_DTT_TYPE { TTC_LASER = 4, TTC_LED = 5, TTC_TESTPULSE = 6, TTC_PEDESTAL = 7 }
 

Public Member Functions

 EcalDCCHeaderBlock ()
 
 EcalDCCHeaderBlock (const int &dccId)
 
const int fedId () const
 
short getBasicTriggerType () const
 
int getBX () const
 
int getDCCErrors () const
 
int getDccInTCCCommand () const
 
EcalDCCEventSettings getEventSettings () const
 
const std::vector< short > & getFEBxs () const
 
const std::vector< short > & getFELv1 () const
 
const std::vector< short > & getFEStatus () const
 
int getLV1 () const
 
short getMemGain () const
 
short getMgpaGain () const
 
int getOrbit () const
 
short getRtHalf () const
 
int getRunNumber () const
 
short getRunType () const
 
short getSelectiveReadout () const
 
short getSRPBx () const
 
short getSRPLv1 () const
 
short getSrpStatus () const
 
const std::vector< short > & getTCCBx () const
 
const std::vector< short > & getTCCLv1 () const
 
const std::vector< short > & getTccStatus () const
 
bool getTestZeroSuppression () const
 
const std::vector< short > & getTriggerTowerFlag () const
 
bool getZeroSuppression () const
 
short getZs () const
 
const int & id () const
 
void setBasicTriggerType (const short &triggerType)
 
void setBX (const int &BX)
 
void setDccInTTCCommand (const int &dccInTTCCommand)
 
void setErrors (const int &dccErrors)
 
void setEventSettings (const EcalDCCEventSettings &EventSettings)
 
void setFEBx (const std::vector< short > &feBx)
 
void setFedId (const int &fedId)
 
void setFELv1 (const std::vector< short > &feLv1)
 
void setFEStatus (const std::vector< short > &feStatus)
 
void setId (const int &dccId)
 
void setLV1 (const int &LV1)
 
void setMemGain (const short &memGain)
 
void setMgpaGain (const short &mgpaGain)
 
void setOrbit (const int &orbit)
 
void setRtHalf (const short &rtHalf)
 
void setRunNumber (const int &run)
 
void setRunType (const short &runType)
 
void setSelectiveReadout (const bool &selectiveReadout)
 
void setSRPBx (const short &srpBx)
 
void setSRPLv1 (const short &srpLv1)
 
void setSrpStatus (const short &srpStatus)
 
void setTCCBx (const std::vector< short > &tccBx)
 
void setTCCLv1 (const std::vector< short > &tccLv1)
 
void setTccStatus (const std::vector< short > &tccStatus)
 
void setTestZeroSuppression (const bool &testZeroSuppression)
 
void setTriggerTowerFlags (const std::vector< short > &triggerTowerFlag)
 
void setZeroSuppression (const bool &zeroSuppression)
 
void setZs (const short &zs)
 

Private Attributes

short basic_trigger_type_
 
int BX_
 
int dccErrors_
 
int dccId_
 
int dccInTTCCommand_
 
EcalDCCEventSettings EventSettings_
 
std::vector< short > feBx_
 
int fedId_
 
std::vector< short > feLv1_
 
std::vector< short > feStatus_
 
int LV1event_
 
short memGain_
 
short mgpaGain_
 
int orbitNumber_
 
short rtHalf_
 
int runNumber_
 
short runType_
 
bool selectiveReadout_
 
short srpBx_
 
short srpLv1_
 
short srpStatus_
 
std::vector< short > tccBx_
 
std::vector< short > tccLv1_
 
std::vector< short > tccStatus_
 
bool testZeroSuppression_
 
std::vector< short > triggerTowerFlag_
 
bool zeroSuppression_
 
short zs_
 

Detailed Description

Container for ECAL specific DCC Header information

Definition at line 15 of file EcalDCCHeaderBlock.h.

Member Typedef Documentation

◆ key_type

For the sorted collection.

Definition at line 17 of file EcalDCCHeaderBlock.h.

Member Enumeration Documentation

◆ EcalBasicTriggerType

Enumerator
PHYSICS_TRIGGER 
CALIBRATION_TRIGGER 
TEST_TRIGGER 
TECHNICAL_EXTERNAL_TRIGGER 

Definition at line 55 of file EcalDCCHeaderBlock.h.

55  {
56  PHYSICS_TRIGGER = 1,
58  TEST_TRIGGER = 3,
60  };

◆ EcalDCCRuntype

Enumerator
COSMIC 
BEAMH4 
BEAMH2 
MTCC 
LASER_STD 
LASER_POWER_SCAN 
LASER_DELAY_SCAN 
TESTPULSE_SCAN_MEM 
TESTPULSE_MGPA 
PEDESTAL_STD 
PEDESTAL_OFFSET_SCAN 
PEDESTAL_25NS_SCAN 
LED_STD 
PHYSICS_GLOBAL 
COSMICS_GLOBAL 
HALO_GLOBAL 
LASER_GAP 
TESTPULSE_GAP 
PEDESTAL_GAP 
LED_GAP 
PHYSICS_LOCAL 
COSMICS_LOCAL 
HALO_LOCAL 
CALIB_LOCAL 

Definition at line 19 of file EcalDCCHeaderBlock.h.

19  {
20 
21  // run types pre-global runs
22  COSMIC = 0,
23  BEAMH4 = 1,
24  BEAMH2 = 2,
25  MTCC = 3,
26  LASER_STD = 4,
27  LASER_POWER_SCAN = 5,
28  LASER_DELAY_SCAN = 6,
30  TESTPULSE_MGPA = 8,
31  PEDESTAL_STD = 9,
33  PEDESTAL_25NS_SCAN = 11,
34  LED_STD = 12,
35 
36  // physics triggers in global runs
37  PHYSICS_GLOBAL = 13,
38  COSMICS_GLOBAL = 14,
39  HALO_GLOBAL = 15,
40 
41  // gap events in global runs
42  LASER_GAP = 16,
43  TESTPULSE_GAP = 17,
44  PEDESTAL_GAP = 18,
45  LED_GAP = 19,
46 
47  // physics triggers in local runs
48  PHYSICS_LOCAL = 20,
49  COSMICS_LOCAL = 21,
50  HALO_LOCAL = 22,
51  CALIB_LOCAL = 23
52 
53  };

◆ TTC_DTT_TYPE

Enumerator
TTC_LASER 
TTC_LED 
TTC_TESTPULSE 
TTC_PEDESTAL 

Definition at line 62 of file EcalDCCHeaderBlock.h.

62 { TTC_LASER = 4, TTC_LED = 5, TTC_TESTPULSE = 6, TTC_PEDESTAL = 7 };

Constructor & Destructor Documentation

◆ EcalDCCHeaderBlock() [1/2]

EcalDCCHeaderBlock::EcalDCCHeaderBlock ( )

Definition at line 3 of file EcalDCCHeaderBlock.cc.

3  {
4  dccId_ = -1; // initialize
5  fedId_ = -1; // initialize
6  dccInTTCCommand_ = -1; // initialize
7  tccStatus_.reserve(MAX_TCC_SIZE);
9  feStatus_.reserve(MAX_TT_SIZE);
10 
11  feBx_.reserve(MAX_TT_SIZE);
12  feLv1_.reserve(MAX_TT_SIZE);
13  tccBx_.reserve(MAX_TCC_SIZE);
14  tccLv1_.reserve(MAX_TCC_SIZE);
15 
16  srpLv1_ = -1;
17  srpBx_ = -1;
18 
19  dccErrors_ = -1;
20  orbitNumber_ = -1; // do we need it here?
21  runType_ = -1;
22  zs_ = -1;
24  LV1event_ = -1;
25  runNumber_ = -1;
26  BX_ = -1;
27 
28  EcalDCCEventSettings dummySettings;
29  dummySettings.LaserPower = -1;
30  dummySettings.LaserFilter = -1;
31  dummySettings.wavelength = -1;
32  dummySettings.delay = -1;
33  dummySettings.MEMVinj = -1;
34  dummySettings.mgpa_content = -1;
35  dummySettings.ped_offset = -1;
36 
37  EventSettings_ = dummySettings;
38 
39  rtHalf_ = -1;
40  mgpaGain_ = -1;
41  memGain_ = -1;
42  srpStatus_ = -1;
43  selectiveReadout_ = false;
44  testZeroSuppression_ = false;
45  zeroSuppression_ = false;
46 }

References basic_trigger_type_, BX_, dccErrors_, dccId_, dccInTTCCommand_, EcalDCCHeaderBlock::EcalDCCEventSettings::delay, EventSettings_, feBx_, fedId_, feLv1_, feStatus_, EcalDCCHeaderBlock::EcalDCCEventSettings::LaserFilter, EcalDCCHeaderBlock::EcalDCCEventSettings::LaserPower, LV1event_, MAX_TCC_SIZE, MAX_TT_SIZE, memGain_, EcalDCCHeaderBlock::EcalDCCEventSettings::MEMVinj, EcalDCCHeaderBlock::EcalDCCEventSettings::mgpa_content, mgpaGain_, orbitNumber_, EcalDCCHeaderBlock::EcalDCCEventSettings::ped_offset, rtHalf_, runNumber_, runType_, selectiveReadout_, srpBx_, srpLv1_, srpStatus_, tccBx_, tccLv1_, tccStatus_, testZeroSuppression_, triggerTowerFlag_, EcalDCCHeaderBlock::EcalDCCEventSettings::wavelength, zeroSuppression_, and zs_.

◆ EcalDCCHeaderBlock() [2/2]

EcalDCCHeaderBlock::EcalDCCHeaderBlock ( const int &  dccId)

Definition at line 48 of file EcalDCCHeaderBlock.cc.

48  {
49  dccId_ = dccId;
50  fedId_ = -1; // initialize
51  tccStatus_.reserve(MAX_TCC_SIZE);
53  feStatus_.reserve(MAX_TT_SIZE);
54 
55  feBx_.reserve(MAX_TT_SIZE);
56  feLv1_.reserve(MAX_TT_SIZE);
57  tccBx_.reserve(MAX_TCC_SIZE);
58  tccLv1_.reserve(MAX_TCC_SIZE);
59 
60  srpLv1_ = -1;
61  srpBx_ = -1;
62 
63  dccErrors_ = -1;
64  orbitNumber_ = -1; // do we need it here?
65  runType_ = -1;
67  LV1event_ = -1;
68  runNumber_ = -1;
69  BX_ = -1;
70 
71  EcalDCCEventSettings dummySettings;
72  dummySettings.LaserPower = -1;
73  dummySettings.LaserFilter = -1;
74  dummySettings.wavelength = -1;
75  dummySettings.delay = -1;
76  dummySettings.MEMVinj = -1;
77  dummySettings.mgpa_content = -1;
78  dummySettings.ped_offset = -1;
79 
80  EventSettings_ = dummySettings;
81 
82  rtHalf_ = -1;
83  mgpaGain_ = -1;
84  memGain_ = -1;
85  srpStatus_ = -1;
86 
87  selectiveReadout_ = false;
88  testZeroSuppression_ = false;
89  zeroSuppression_ = false;
90 }

References basic_trigger_type_, BX_, dccErrors_, ecaldqm::dccId(), dccId_, EcalDCCHeaderBlock::EcalDCCEventSettings::delay, EventSettings_, feBx_, fedId_, feLv1_, feStatus_, EcalDCCHeaderBlock::EcalDCCEventSettings::LaserFilter, EcalDCCHeaderBlock::EcalDCCEventSettings::LaserPower, LV1event_, MAX_TCC_SIZE, MAX_TT_SIZE, memGain_, EcalDCCHeaderBlock::EcalDCCEventSettings::MEMVinj, EcalDCCHeaderBlock::EcalDCCEventSettings::mgpa_content, mgpaGain_, orbitNumber_, EcalDCCHeaderBlock::EcalDCCEventSettings::ped_offset, rtHalf_, runNumber_, runType_, selectiveReadout_, srpBx_, srpLv1_, srpStatus_, tccBx_, tccLv1_, tccStatus_, testZeroSuppression_, triggerTowerFlag_, EcalDCCHeaderBlock::EcalDCCEventSettings::wavelength, and zeroSuppression_.

Member Function Documentation

◆ fedId()

const int EcalDCCHeaderBlock::fedId ( ) const
inline

Definition at line 84 of file EcalDCCHeaderBlock.h.

84 { return fedId_; }

References fedId_.

Referenced by setFedId().

◆ getBasicTriggerType()

short EcalDCCHeaderBlock::getBasicTriggerType ( ) const
inline

Definition at line 130 of file EcalDCCHeaderBlock.h.

130 { return basic_trigger_type_; }

References basic_trigger_type_.

◆ getBX()

int EcalDCCHeaderBlock::getBX ( ) const
inline

Definition at line 125 of file EcalDCCHeaderBlock.h.

125 { return BX_; }

References BX_.

◆ getDCCErrors()

int EcalDCCHeaderBlock::getDCCErrors ( ) const
inline

Definition at line 121 of file EcalDCCHeaderBlock.h.

121 { return dccErrors_; }

References dccErrors_.

◆ getDccInTCCCommand()

int EcalDCCHeaderBlock::getDccInTCCCommand ( ) const
inline

Definition at line 122 of file EcalDCCHeaderBlock.h.

122 { return dccInTTCCommand_; };

References dccInTTCCommand_.

◆ getEventSettings()

EcalDCCEventSettings EcalDCCHeaderBlock::getEventSettings ( ) const
inline

Definition at line 127 of file EcalDCCHeaderBlock.h.

127 { return EventSettings_; }

References EventSettings_.

◆ getFEBxs()

const std::vector<short>& EcalDCCHeaderBlock::getFEBxs ( ) const
inline

Definition at line 143 of file EcalDCCHeaderBlock.h.

143 { return feBx_; }

References feBx_.

◆ getFELv1()

const std::vector<short>& EcalDCCHeaderBlock::getFELv1 ( ) const
inline

Definition at line 147 of file EcalDCCHeaderBlock.h.

147 { return feLv1_; }

References feLv1_.

◆ getFEStatus()

const std::vector<short>& EcalDCCHeaderBlock::getFEStatus ( ) const
inline

Definition at line 141 of file EcalDCCHeaderBlock.h.

141 { return feStatus_; }

References feStatus_.

◆ getLV1()

int EcalDCCHeaderBlock::getLV1 ( ) const
inline

Definition at line 124 of file EcalDCCHeaderBlock.h.

124 { return LV1event_; }

References LV1event_.

◆ getMemGain()

short EcalDCCHeaderBlock::getMemGain ( ) const
inline

Definition at line 134 of file EcalDCCHeaderBlock.h.

134 { return memGain_; }

References memGain_.

◆ getMgpaGain()

short EcalDCCHeaderBlock::getMgpaGain ( ) const
inline

Definition at line 133 of file EcalDCCHeaderBlock.h.

133 { return mgpaGain_; }

References mgpaGain_.

◆ getOrbit()

int EcalDCCHeaderBlock::getOrbit ( ) const
inline

Definition at line 126 of file EcalDCCHeaderBlock.h.

126 { return orbitNumber_; }

References orbitNumber_.

◆ getRtHalf()

short EcalDCCHeaderBlock::getRtHalf ( ) const
inline

Definition at line 132 of file EcalDCCHeaderBlock.h.

132 { return rtHalf_; }

References rtHalf_.

◆ getRunNumber()

int EcalDCCHeaderBlock::getRunNumber ( ) const
inline

Definition at line 123 of file EcalDCCHeaderBlock.h.

123 { return runNumber_; }

References runNumber_.

◆ getRunType()

short EcalDCCHeaderBlock::getRunType ( ) const
inline

◆ getSelectiveReadout()

short EcalDCCHeaderBlock::getSelectiveReadout ( ) const
inline

Definition at line 135 of file EcalDCCHeaderBlock.h.

135 { return selectiveReadout_; }

References selectiveReadout_.

◆ getSRPBx()

short EcalDCCHeaderBlock::getSRPBx ( ) const
inline

Definition at line 145 of file EcalDCCHeaderBlock.h.

145 { return srpBx_; }

References srpBx_.

◆ getSRPLv1()

short EcalDCCHeaderBlock::getSRPLv1 ( ) const
inline

Definition at line 149 of file EcalDCCHeaderBlock.h.

149 { return srpLv1_; }

References srpLv1_.

◆ getSrpStatus()

short EcalDCCHeaderBlock::getSrpStatus ( ) const
inline

Definition at line 138 of file EcalDCCHeaderBlock.h.

138 { return srpStatus_; }

References srpStatus_.

◆ getTCCBx()

const std::vector<short>& EcalDCCHeaderBlock::getTCCBx ( ) const
inline

Definition at line 144 of file EcalDCCHeaderBlock.h.

144 { return tccBx_; }

References tccBx_.

◆ getTCCLv1()

const std::vector<short>& EcalDCCHeaderBlock::getTCCLv1 ( ) const
inline

Definition at line 148 of file EcalDCCHeaderBlock.h.

148 { return tccLv1_; }

References tccLv1_.

◆ getTccStatus()

const std::vector<short>& EcalDCCHeaderBlock::getTccStatus ( ) const
inline

Definition at line 139 of file EcalDCCHeaderBlock.h.

139 { return tccStatus_; }

References tccStatus_.

◆ getTestZeroSuppression()

bool EcalDCCHeaderBlock::getTestZeroSuppression ( ) const
inline

Definition at line 137 of file EcalDCCHeaderBlock.h.

137 { return testZeroSuppression_; }

References testZeroSuppression_.

◆ getTriggerTowerFlag()

const std::vector<short>& EcalDCCHeaderBlock::getTriggerTowerFlag ( ) const
inline

Definition at line 140 of file EcalDCCHeaderBlock.h.

140 { return triggerTowerFlag_; }

References triggerTowerFlag_.

◆ getZeroSuppression()

bool EcalDCCHeaderBlock::getZeroSuppression ( ) const
inline

Definition at line 136 of file EcalDCCHeaderBlock.h.

136 { return zeroSuppression_; }

References zeroSuppression_.

◆ getZs()

short EcalDCCHeaderBlock::getZs ( ) const
inline

Definition at line 129 of file EcalDCCHeaderBlock.h.

129 { return zs_; }

References zs_.

◆ id()

const int& EcalDCCHeaderBlock::id ( ) const
inline

Definition at line 80 of file EcalDCCHeaderBlock.h.

80 { return dccId_; }

References dccId_.

◆ setBasicTriggerType()

void EcalDCCHeaderBlock::setBasicTriggerType ( const short &  triggerType)
inline

◆ setBX()

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

◆ setDccInTTCCommand()

void EcalDCCHeaderBlock::setDccInTTCCommand ( const int &  dccInTTCCommand)
inline

Definition at line 90 of file EcalDCCHeaderBlock.h.

90 { dccInTTCCommand_ = dccInTTCCommand; };

References dccInTTCCommand_.

Referenced by EcalDCCHeaderRuntypeDecoder::DecodeSettingGlobal().

◆ setErrors()

void EcalDCCHeaderBlock::setErrors ( const int &  dccErrors)
inline

◆ setEventSettings()

void EcalDCCHeaderBlock::setEventSettings ( const EcalDCCEventSettings EventSettings)
inline

◆ setFEBx()

void EcalDCCHeaderBlock::setFEBx ( const std::vector< short > &  feBx)
inline

Definition at line 111 of file EcalDCCHeaderBlock.h.

111 { feBx_ = feBx; }

References feBx_.

Referenced by DCCEventBlock::addHeaderToCollection().

◆ setFedId()

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

◆ setFELv1()

void EcalDCCHeaderBlock::setFELv1 ( const std::vector< short > &  feLv1)
inline

Definition at line 115 of file EcalDCCHeaderBlock.h.

115 { feLv1_ = feLv1; }

References feLv1_.

Referenced by DCCEventBlock::addHeaderToCollection().

◆ setFEStatus()

void EcalDCCHeaderBlock::setFEStatus ( const std::vector< short > &  feStatus)
inline

◆ setId()

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

◆ setLV1()

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

◆ setMemGain()

void EcalDCCHeaderBlock::setMemGain ( const short &  memGain)
inline

Definition at line 102 of file EcalDCCHeaderBlock.h.

102 { memGain_ = memGain; };

References memGain_.

Referenced by EcalDCCTBHeaderRuntypeDecoder::Decode(), and EcalDCCHeaderRuntypeDecoder::Decode().

◆ setMgpaGain()

void EcalDCCHeaderBlock::setMgpaGain ( const short &  mgpaGain)
inline

Definition at line 101 of file EcalDCCHeaderBlock.h.

101 { mgpaGain_ = mgpaGain; };

References mgpaGain_.

Referenced by EcalDCCTBHeaderRuntypeDecoder::Decode(), and EcalDCCHeaderRuntypeDecoder::Decode().

◆ setOrbit()

void EcalDCCHeaderBlock::setOrbit ( const int &  orbit)
inline

◆ setRtHalf()

void EcalDCCHeaderBlock::setRtHalf ( const short &  rtHalf)
inline

◆ setRunNumber()

void EcalDCCHeaderBlock::setRunNumber ( const int &  run)
inline

◆ setRunType()

void EcalDCCHeaderBlock::setRunType ( const short &  runType)
inline

◆ setSelectiveReadout()

void EcalDCCHeaderBlock::setSelectiveReadout ( const bool &  selectiveReadout)
inline

◆ setSRPBx()

void EcalDCCHeaderBlock::setSRPBx ( const short &  srpBx)
inline

Definition at line 113 of file EcalDCCHeaderBlock.h.

113 { srpBx_ = srpBx; }

References srpBx_.

Referenced by DCCEventBlock::addHeaderToCollection().

◆ setSRPLv1()

void EcalDCCHeaderBlock::setSRPLv1 ( const short &  srpLv1)
inline

Definition at line 117 of file EcalDCCHeaderBlock.h.

117 { srpLv1_ = srpLv1; }

References srpLv1_.

Referenced by DCCEventBlock::addHeaderToCollection().

◆ setSrpStatus()

void EcalDCCHeaderBlock::setSrpStatus ( const short &  srpStatus)
inline

◆ setTCCBx()

void EcalDCCHeaderBlock::setTCCBx ( const std::vector< short > &  tccBx)
inline

Definition at line 112 of file EcalDCCHeaderBlock.h.

112 { tccBx_ = tccBx; }

References tccBx_.

Referenced by DCCEventBlock::addHeaderToCollection().

◆ setTCCLv1()

void EcalDCCHeaderBlock::setTCCLv1 ( const std::vector< short > &  tccLv1)
inline

Definition at line 116 of file EcalDCCHeaderBlock.h.

116 { tccLv1_ = tccLv1; }

References tccLv1_.

Referenced by DCCEventBlock::addHeaderToCollection().

◆ setTccStatus()

void EcalDCCHeaderBlock::setTccStatus ( const std::vector< short > &  tccStatus)
inline

◆ setTestZeroSuppression()

void EcalDCCHeaderBlock::setTestZeroSuppression ( const bool &  testZeroSuppression)
inline

◆ setTriggerTowerFlags()

void EcalDCCHeaderBlock::setTriggerTowerFlags ( const std::vector< short > &  triggerTowerFlag)
inline

Definition at line 108 of file EcalDCCHeaderBlock.h.

108 { triggerTowerFlag_ = triggerTowerFlag; };

References triggerTowerFlag_.

◆ setZeroSuppression()

void EcalDCCHeaderBlock::setZeroSuppression ( const bool &  zeroSuppression)
inline

◆ setZs()

void EcalDCCHeaderBlock::setZs ( const short &  zs)
inline

Definition at line 97 of file EcalDCCHeaderBlock.h.

97 { zs_ = zs; };

References zs_.

Member Data Documentation

◆ basic_trigger_type_

short EcalDCCHeaderBlock::basic_trigger_type_
private

◆ BX_

int EcalDCCHeaderBlock::BX_
private

Definition at line 164 of file EcalDCCHeaderBlock.h.

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

◆ dccErrors_

int EcalDCCHeaderBlock::dccErrors_
private

Definition at line 154 of file EcalDCCHeaderBlock.h.

Referenced by EcalDCCHeaderBlock(), getDCCErrors(), and setErrors().

◆ dccId_

int EcalDCCHeaderBlock::dccId_
private

Definition at line 152 of file EcalDCCHeaderBlock.h.

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

◆ dccInTTCCommand_

int EcalDCCHeaderBlock::dccInTTCCommand_
private

◆ EventSettings_

EcalDCCEventSettings EcalDCCHeaderBlock::EventSettings_
private

Definition at line 165 of file EcalDCCHeaderBlock.h.

Referenced by EcalDCCHeaderBlock(), getEventSettings(), and setEventSettings().

◆ feBx_

std::vector<short> EcalDCCHeaderBlock::feBx_
private

Definition at line 179 of file EcalDCCHeaderBlock.h.

Referenced by EcalDCCHeaderBlock(), getFEBxs(), and setFEBx().

◆ fedId_

int EcalDCCHeaderBlock::fedId_
private

Definition at line 153 of file EcalDCCHeaderBlock.h.

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

◆ feLv1_

std::vector<short> EcalDCCHeaderBlock::feLv1_
private

Definition at line 183 of file EcalDCCHeaderBlock.h.

Referenced by EcalDCCHeaderBlock(), getFELv1(), and setFELv1().

◆ feStatus_

std::vector<short> EcalDCCHeaderBlock::feStatus_
private

Definition at line 177 of file EcalDCCHeaderBlock.h.

Referenced by EcalDCCHeaderBlock(), getFEStatus(), and setFEStatus().

◆ LV1event_

int EcalDCCHeaderBlock::LV1event_
private

Definition at line 162 of file EcalDCCHeaderBlock.h.

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

◆ memGain_

short EcalDCCHeaderBlock::memGain_
private

Definition at line 169 of file EcalDCCHeaderBlock.h.

Referenced by EcalDCCHeaderBlock(), getMemGain(), and setMemGain().

◆ mgpaGain_

short EcalDCCHeaderBlock::mgpaGain_
private

Definition at line 168 of file EcalDCCHeaderBlock.h.

Referenced by EcalDCCHeaderBlock(), getMgpaGain(), and setMgpaGain().

◆ orbitNumber_

int EcalDCCHeaderBlock::orbitNumber_
private

Definition at line 156 of file EcalDCCHeaderBlock.h.

Referenced by EcalDCCHeaderBlock(), getOrbit(), and setOrbit().

◆ rtHalf_

short EcalDCCHeaderBlock::rtHalf_
private

Definition at line 167 of file EcalDCCHeaderBlock.h.

Referenced by EcalDCCHeaderBlock(), getRtHalf(), and setRtHalf().

◆ runNumber_

int EcalDCCHeaderBlock::runNumber_
private

Definition at line 163 of file EcalDCCHeaderBlock.h.

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

◆ runType_

short EcalDCCHeaderBlock::runType_
private

Definition at line 157 of file EcalDCCHeaderBlock.h.

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

◆ selectiveReadout_

bool EcalDCCHeaderBlock::selectiveReadout_
private

◆ srpBx_

short EcalDCCHeaderBlock::srpBx_
private

Definition at line 181 of file EcalDCCHeaderBlock.h.

Referenced by EcalDCCHeaderBlock(), getSRPBx(), and setSRPBx().

◆ srpLv1_

short EcalDCCHeaderBlock::srpLv1_
private

Definition at line 185 of file EcalDCCHeaderBlock.h.

Referenced by EcalDCCHeaderBlock(), getSRPLv1(), and setSRPLv1().

◆ srpStatus_

short EcalDCCHeaderBlock::srpStatus_
private

Definition at line 174 of file EcalDCCHeaderBlock.h.

Referenced by EcalDCCHeaderBlock(), getSrpStatus(), and setSrpStatus().

◆ tccBx_

std::vector<short> EcalDCCHeaderBlock::tccBx_
private

Definition at line 180 of file EcalDCCHeaderBlock.h.

Referenced by EcalDCCHeaderBlock(), getTCCBx(), and setTCCBx().

◆ tccLv1_

std::vector<short> EcalDCCHeaderBlock::tccLv1_
private

Definition at line 184 of file EcalDCCHeaderBlock.h.

Referenced by EcalDCCHeaderBlock(), getTCCLv1(), and setTCCLv1().

◆ tccStatus_

std::vector<short> EcalDCCHeaderBlock::tccStatus_
private

Definition at line 175 of file EcalDCCHeaderBlock.h.

Referenced by EcalDCCHeaderBlock(), getTccStatus(), and setTccStatus().

◆ testZeroSuppression_

bool EcalDCCHeaderBlock::testZeroSuppression_
private

◆ triggerTowerFlag_

std::vector<short> EcalDCCHeaderBlock::triggerTowerFlag_
private

◆ zeroSuppression_

bool EcalDCCHeaderBlock::zeroSuppression_
private

◆ zs_

short EcalDCCHeaderBlock::zs_
private

Definition at line 158 of file EcalDCCHeaderBlock.h.

Referenced by EcalDCCHeaderBlock(), getZs(), and setZs().

EcalDCCHeaderBlock::fedId
const int fedId() const
Definition: EcalDCCHeaderBlock.h:84
EcalDCCHeaderBlock::COSMICS_LOCAL
Definition: EcalDCCHeaderBlock.h:49
EcalDCCHeaderBlock::CALIB_LOCAL
Definition: EcalDCCHeaderBlock.h:51
EcalDCCHeaderBlock::BEAMH2
Definition: EcalDCCHeaderBlock.h:24
EcalDCCHeaderBlock::basic_trigger_type_
short basic_trigger_type_
Definition: EcalDCCHeaderBlock.h:160
EcalDCCHeaderBlock::LV1event_
int LV1event_
Definition: EcalDCCHeaderBlock.h:162
EcalDCCHeaderBlock::TTC_TESTPULSE
Definition: EcalDCCHeaderBlock.h:62
EcalDCCHeaderBlock::triggerTowerFlag_
std::vector< short > triggerTowerFlag_
Definition: EcalDCCHeaderBlock.h:176
EcalDCCHeaderBlock::orbitNumber_
int orbitNumber_
Definition: EcalDCCHeaderBlock.h:156
EcalDCCHeaderBlock::rtHalf_
short rtHalf_
Definition: EcalDCCHeaderBlock.h:167
EcalDCCHeaderBlock::feLv1_
std::vector< short > feLv1_
Definition: EcalDCCHeaderBlock.h:183
EcalDCCHeaderBlock::TESTPULSE_SCAN_MEM
Definition: EcalDCCHeaderBlock.h:29
EcalDCCHeaderBlock::srpStatus_
short srpStatus_
Definition: EcalDCCHeaderBlock.h:174
EcalDCCHeaderBlock::LED_GAP
Definition: EcalDCCHeaderBlock.h:45
EcalDCCHeaderBlock::TESTPULSE_GAP
Definition: EcalDCCHeaderBlock.h:43
csctfpacker_cfi.zeroSuppression
zeroSuppression
Definition: csctfpacker_cfi.py:9
EcalDCCHeaderBlock::LASER_GAP
Definition: EcalDCCHeaderBlock.h:42
EcalDCCHeaderBlock::memGain_
short memGain_
Definition: EcalDCCHeaderBlock.h:169
EcalDCCHeaderBlock::PHYSICS_GLOBAL
Definition: EcalDCCHeaderBlock.h:37
EcalDCCHeaderBlock::LASER_STD
Definition: EcalDCCHeaderBlock.h:26
EcalDCCHeaderBlock::TTC_LED
Definition: EcalDCCHeaderBlock.h:62
EcalDCCHeaderBlock::runType_
short runType_
Definition: EcalDCCHeaderBlock.h:157
EcalDCCHeaderBlock::CALIBRATION_TRIGGER
Definition: EcalDCCHeaderBlock.h:57
EcalDCCHeaderBlock::PEDESTAL_GAP
Definition: EcalDCCHeaderBlock.h:44
EcalDCCHeaderBlock::BX_
int BX_
Definition: EcalDCCHeaderBlock.h:164
EcalDCCHeaderBlock::runNumber_
int runNumber_
Definition: EcalDCCHeaderBlock.h:163
EcalDCCHeaderBlock::mgpaGain_
short mgpaGain_
Definition: EcalDCCHeaderBlock.h:168
EcalDCCHeaderBlock::zeroSuppression_
bool zeroSuppression_
Definition: EcalDCCHeaderBlock.h:172
ecaldqm::rtHalf
unsigned rtHalf(DetId const &)
Definition: EcalDQMCommonUtils.cc:119
EcalDCCHeaderBlock::TESTPULSE_MGPA
Definition: EcalDCCHeaderBlock.h:30
EcalDCCHeaderBlock::LASER_POWER_SCAN
Definition: EcalDCCHeaderBlock.h:27
EcalDCCHeaderBlock::selectiveReadout_
bool selectiveReadout_
Definition: EcalDCCHeaderBlock.h:170
EcalDCCHeaderBlock::dccErrors_
int dccErrors_
Definition: EcalDCCHeaderBlock.h:154
EcalDCCHeaderBlock::TEST_TRIGGER
Definition: EcalDCCHeaderBlock.h:58
MAX_TCC_SIZE
#define MAX_TCC_SIZE
Definition: EcalDCCHeaderBlock.h:12
EcalDCCHeaderBlock::PHYSICS_LOCAL
Definition: EcalDCCHeaderBlock.h:48
EcalDCCHeaderBlock::tccBx_
std::vector< short > tccBx_
Definition: EcalDCCHeaderBlock.h:180
EcalDCCHeaderBlock::PEDESTAL_25NS_SCAN
Definition: EcalDCCHeaderBlock.h:33
EcalDCCHeaderBlock::PHYSICS_TRIGGER
Definition: EcalDCCHeaderBlock.h:56
EcalDCCHeaderBlock::HALO_LOCAL
Definition: EcalDCCHeaderBlock.h:50
EcalDCCHeaderBlock::BEAMH4
Definition: EcalDCCHeaderBlock.h:23
EcalDCCHeaderBlock::PEDESTAL_STD
Definition: EcalDCCHeaderBlock.h:31
EcalDCCHeaderBlock::TTC_PEDESTAL
Definition: EcalDCCHeaderBlock.h:62
EcalDCCHeaderBlock::dccInTTCCommand_
int dccInTTCCommand_
Definition: EcalDCCHeaderBlock.h:155
EcalDCCHeaderBlock::TECHNICAL_EXTERNAL_TRIGGER
Definition: EcalDCCHeaderBlock.h:59
EcalDCCHeaderBlock::dccId_
int dccId_
Definition: EcalDCCHeaderBlock.h:152
EcalDCCHeaderBlock::tccLv1_
std::vector< short > tccLv1_
Definition: EcalDCCHeaderBlock.h:184
EcalDCCHeaderBlock::COSMICS_GLOBAL
Definition: EcalDCCHeaderBlock.h:38
EcalDCCHeaderBlock::fedId_
int fedId_
Definition: EcalDCCHeaderBlock.h:153
writedatasetfile.run
run
Definition: writedatasetfile.py:27
EcalDCCHeaderBlock::feStatus_
std::vector< short > feStatus_
Definition: EcalDCCHeaderBlock.h:177
EcalDCCHeaderBlock::testZeroSuppression_
bool testZeroSuppression_
Definition: EcalDCCHeaderBlock.h:171
EcalDCCHeaderBlock::PEDESTAL_OFFSET_SCAN
Definition: EcalDCCHeaderBlock.h:32
EcalDCCHeaderBlock::MTCC
Definition: EcalDCCHeaderBlock.h:25
EcalDCCHeaderBlock::LASER_DELAY_SCAN
Definition: EcalDCCHeaderBlock.h:28
HLT_2018_cff.triggerType
triggerType
Definition: HLT_2018_cff.py:7443
L1TStage2uGTEmulatorClient_cff.BX
BX
Definition: L1TStage2uGTEmulatorClient_cff.py:9
EcalDCCHeaderBlock::COSMIC
Definition: EcalDCCHeaderBlock.h:22
EcalDCCHeaderBlock::HALO_GLOBAL
Definition: EcalDCCHeaderBlock.h:39
EcalDCCHeaderBlock::srpBx_
short srpBx_
Definition: EcalDCCHeaderBlock.h:181
EcalDCCHeaderBlock::tccStatus_
std::vector< short > tccStatus_
Definition: EcalDCCHeaderBlock.h:175
EcalDCCHeaderBlock::srpLv1_
short srpLv1_
Definition: EcalDCCHeaderBlock.h:185
EcalDCCHeaderBlock::LED_STD
Definition: EcalDCCHeaderBlock.h:34
EcalDCCHeaderBlock::EventSettings_
EcalDCCEventSettings EventSettings_
Definition: EcalDCCHeaderBlock.h:165
EcalCondDBWriter_cfi.runType
runType
Definition: EcalCondDBWriter_cfi.py:64
EcalDCCHeaderBlock::TTC_LASER
Definition: EcalDCCHeaderBlock.h:62
MAX_TT_SIZE
#define MAX_TT_SIZE
Definition: EcalDCCHeaderBlock.h:13
EcalDCCHeaderBlock::zs_
short zs_
Definition: EcalDCCHeaderBlock.h:158
EcalDCCHeaderBlock::feBx_
std::vector< short > feBx_
Definition: EcalDCCHeaderBlock.h:179
ecaldqm::dccId
unsigned dccId(DetId const &)
Definition: EcalDQMCommonUtils.cc:16