CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | Friends
CSCTMBHeader Class Reference

#include <CSCTMBHeader.h>

Public Member Functions

void add (const std::vector< CSCCLCTDigi > &digis)
 these methods need more brains to figure which one goes first More...
 
void add (const std::vector< CSCCorrelatedLCTDigi > &digis)
 
void add (const std::vector< CSCShowerDigi > &digis)
 
void addALCT0 (const CSCALCTDigi &digi)
 
void addALCT1 (const CSCALCTDigi &digi)
 
void addCLCT0 (const CSCCLCTDigi &digi)
 Needed before data packing. More...
 
void addCLCT1 (const CSCCLCTDigi &digi)
 
void addCorrelatedLCT0 (const CSCCorrelatedLCTDigi &digi)
 
void addCorrelatedLCT1 (const CSCCorrelatedLCTDigi &digi)
 
uint16_t ALCTMatchTime () const
 
uint16_t ALCTOnly () const
 
uint16_t Bxn0Diff () const
 
uint16_t Bxn1Diff () const
 
uint16_t BXNCount () const
 
bool check () const
 
std::vector< CSCCLCTDigiCLCTDigis (uint32_t idlayer)
 returns CLCT digis More...
 
uint16_t CLCTOnly () const
 
std::vector< CSCCorrelatedLCTDigiCorrelatedLCTDigis (uint32_t idlayer) const
 returns CorrelatedLCT digis More...
 
 CSCTMBHeader (const CSCTMBStatusDigi &digi)
 
 CSCTMBHeader (const unsigned short *buf)
 
 CSCTMBHeader (int firmwareVersion, int firmwareRevision)
 
unsigned short * data ()
 
int FirmwareRevision () const
 
int FirmwareVersion () const
 
uint16_t L1ANumber () const
 
uint16_t NCFEBs () const
 
unsigned short int NHeaderFrames () const
 
uint16_t NTBins () const
 
void setEventInformation (const CSCDMBHeader &dmbHeader)
 fills fields like bxn and l1a More...
 
void setNCFEBs (uint16_t ncfebs)
 
uint16_t sizeInBytes () const
 
unsigned short int sizeInWords () const
 
uint16_t syncError () const
 
uint16_t syncErrorCLCT () const
 
uint16_t syncErrorMPC0 () const
 
uint16_t syncErrorMPC1 () const
 
CSCTMBHeader2006 tmbHeader2006 () const
 
CSCTMBHeader2007 tmbHeader2007 () const
 will throw if the cast fails More...
 
CSCTMBHeader2007_rev0x50c3 tmbHeader2007_rev0x50c3 () const
 
CSCTMBHeader2013 tmbHeader2013 () const
 
uint16_t TMBMatch () const
 

Static Public Member Functions

static void selfTest (int firmwwareVersion, int firmwareRevision)
 tests that packing and unpacking give same results More...
 
static void setDebug (const bool value)
 

Private Attributes

int theFirmwareVersion
 
std::shared_ptr< CSCVTMBHeaderFormattheHeaderFormat
 

Static Private Attributes

static std::atomic< bool > debug {false}
 

Friends

std::ostream & operator<< (std::ostream &os, const CSCTMBHeader &hdr)
 

Detailed Description

Definition at line 27 of file CSCTMBHeader.h.

Constructor & Destructor Documentation

◆ CSCTMBHeader() [1/3]

CSCTMBHeader::CSCTMBHeader ( int  firmwareVersion,
int  firmwareRevision 
)

Definition at line 20 of file CSCTMBHeader.cc.

22  if (firmwareVersion == 2013) {
23  theHeaderFormat = std::shared_ptr<CSCVTMBHeaderFormat>(new CSCTMBHeader2013());
24  } else if (firmwareVersion == 2006) {
25  theHeaderFormat = std::shared_ptr<CSCVTMBHeaderFormat>(new CSCTMBHeader2006());
26  } else if (firmwareVersion == 2007) {
27  /* Checks for TMB2007 firmware revisions ranges to detect data format
28  * rev.0x50c3 - first revision with changed format
29  * rev.0x42D5 - oldest known from 06/21/2007
30  * There is 4-bits year value rollover in revision number (0 in 2016)
31  */
32  if ((firmwareRevision >= 0x50c3) || (firmwareRevision < 0x42D5)) {
33  // if (firmwareRevision >= 0x7a76) // First OTMB firmware revision with 2013 format
34  /* Revisions > 0x6000 - OTMB firmwares, < 0x42D5 - new TMB revisions in 2016 */
35  if ((firmwareRevision >= 0x6000) || (firmwareRevision < 0x42D5)) {
36  theHeaderFormat = std::shared_ptr<CSCVTMBHeaderFormat>(new CSCTMBHeader2013());
37  } else {
38  theHeaderFormat = std::shared_ptr<CSCVTMBHeaderFormat>(new CSCTMBHeader2007_rev0x50c3());
39  }
40  } else {
41  theHeaderFormat = std::shared_ptr<CSCVTMBHeaderFormat>(new CSCTMBHeader2007());
42  }
43  } else {
44  edm::LogError("CSCTMBHeader|CSCRawToDigi") << "failed to determine TMB firmware version!!";
45  }
46 }

References simCaloStage2Layer1Digis_cfi::firmwareVersion, and theHeaderFormat.

◆ CSCTMBHeader() [2/3]

CSCTMBHeader::CSCTMBHeader ( const CSCTMBStatusDigi digi)

◆ CSCTMBHeader() [3/3]

CSCTMBHeader::CSCTMBHeader ( const unsigned short *  buf)

first determine the format

Definition at line 52 of file CSCTMBHeader.cc.

52  : theHeaderFormat() {
54  if (buf[0] == 0xDB0C) {
55  theFirmwareVersion = 2007;
56  theHeaderFormat = std::shared_ptr<CSCVTMBHeaderFormat>(new CSCTMBHeader2007(buf));
57  /* Checks for TMB2007 firmware revisions ranges to detect data format
58  * rev.0x50c3 - first revision with changed format
59  * rev.0x42D5 - oldest known from 06/21/2007
60  * There is 4-bits year value rollover in revision number (0 in 2016)
61  */
62  if ((theHeaderFormat->firmwareRevision() >= 0x50c3) || (theHeaderFormat->firmwareRevision() < 0x42D5)) {
63  // if (theHeaderFormat->firmwareRevision() >= 0x7a76) // First OTMB firmware revision with 2013 format
64  /* Revisions > 0x6000 - OTMB firmwares, < 0x42D5 - new TMB revisions in 2016 */
65  if ((theHeaderFormat->firmwareRevision() >= 0x6000) || (theHeaderFormat->firmwareRevision() < 0x42D5)) {
66  theFirmwareVersion = 2013;
67  theHeaderFormat = std::shared_ptr<CSCVTMBHeaderFormat>(new CSCTMBHeader2013(buf));
68  } else {
69  theHeaderFormat = std::shared_ptr<CSCVTMBHeaderFormat>(new CSCTMBHeader2007_rev0x50c3(buf));
70  }
71  }
72 
73  } else if (buf[0] == 0x6B0C) {
74  theFirmwareVersion = 2006;
75  theHeaderFormat = std::shared_ptr<CSCVTMBHeaderFormat>(new CSCTMBHeader2006(buf));
76  } else {
77  edm::LogError("CSCTMBHeader|CSCRawToDigi") << "failed to determine TMB firmware version!!";
78  }
79 }

References visDQMUpload::buf, theFirmwareVersion, and theHeaderFormat.

Member Function Documentation

◆ add() [1/3]

void CSCTMBHeader::add ( const std::vector< CSCCLCTDigi > &  digis)

these methods need more brains to figure which one goes first

Definition at line 114 of file CSCTMBHeader.cc.

114  {
115  // sort???
116  if (!digis.empty()) {
117  addCLCT0(digis[0]);
118  }
119  if (digis.size() > 1)
120  addCLCT1(digis[1]);
121 }

References addCLCT0(), and addCLCT1().

Referenced by CSCEventData::add(), counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().

◆ add() [2/3]

void CSCTMBHeader::add ( const std::vector< CSCCorrelatedLCTDigi > &  digis)

Definition at line 123 of file CSCTMBHeader.cc.

123  {
124  // sort???
125  if (!digis.empty())
126  addCorrelatedLCT0(digis[0]);
127  if (digis.size() > 1)
128  addCorrelatedLCT1(digis[1]);
129 }

References addCorrelatedLCT0(), and addCorrelatedLCT1().

Referenced by counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().

◆ add() [3/3]

void CSCTMBHeader::add ( const std::vector< CSCShowerDigi > &  digis)

Definition at line 131 of file CSCTMBHeader.cc.

131  {
132  if (!digis.empty())
133  theHeaderFormat->addShower(digis[0]);
134 }

References theHeaderFormat.

Referenced by counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().

◆ addALCT0()

void CSCTMBHeader::addALCT0 ( const CSCALCTDigi digi)
inline

Definition at line 95 of file CSCTMBHeader.h.

95 { theHeaderFormat->addALCT0(digi); }

References theHeaderFormat.

◆ addALCT1()

void CSCTMBHeader::addALCT1 ( const CSCALCTDigi digi)
inline

Definition at line 96 of file CSCTMBHeader.h.

96 { theHeaderFormat->addALCT1(digi); }

References theHeaderFormat.

◆ addCLCT0()

void CSCTMBHeader::addCLCT0 ( const CSCCLCTDigi digi)
inline

Needed before data packing.

for data packing

Definition at line 93 of file CSCTMBHeader.h.

93 { theHeaderFormat->addCLCT0(digi); }

References theHeaderFormat.

Referenced by add(), and selfTest().

◆ addCLCT1()

void CSCTMBHeader::addCLCT1 ( const CSCCLCTDigi digi)
inline

Definition at line 94 of file CSCTMBHeader.h.

94 { theHeaderFormat->addCLCT1(digi); }

References theHeaderFormat.

Referenced by add(), and selfTest().

◆ addCorrelatedLCT0()

void CSCTMBHeader::addCorrelatedLCT0 ( const CSCCorrelatedLCTDigi digi)
inline

Definition at line 97 of file CSCTMBHeader.h.

97 { theHeaderFormat->addCorrelatedLCT0(digi); }

References theHeaderFormat.

Referenced by add(), and selfTest().

◆ addCorrelatedLCT1()

void CSCTMBHeader::addCorrelatedLCT1 ( const CSCCorrelatedLCTDigi digi)
inline

Definition at line 98 of file CSCTMBHeader.h.

98 { theHeaderFormat->addCorrelatedLCT1(digi); }

References theHeaderFormat.

Referenced by add(), and selfTest().

◆ ALCTMatchTime()

uint16_t CSCTMBHeader::ALCTMatchTime ( ) const
inline

Definition at line 40 of file CSCTMBHeader.h.

40 { return theHeaderFormat->ALCTMatchTime(); }

References theHeaderFormat.

Referenced by CSCOfflineMonitor::doBXMonitor(), CSCValidation::doTimeMonitoring(), and cscdqm::EventProcessor::processCSC().

◆ ALCTOnly()

uint16_t CSCTMBHeader::ALCTOnly ( ) const
inline

Definition at line 42 of file CSCTMBHeader.h.

42 { return theHeaderFormat->ALCTOnly(); }

References theHeaderFormat.

Referenced by cscdqm::EventProcessor::processCSC().

◆ Bxn0Diff()

uint16_t CSCTMBHeader::Bxn0Diff ( ) const
inline

Definition at line 45 of file CSCTMBHeader.h.

45 { return theHeaderFormat->Bxn0Diff(); }

References theHeaderFormat.

Referenced by cscdqm::EventProcessor::processCSC().

◆ Bxn1Diff()

uint16_t CSCTMBHeader::Bxn1Diff ( ) const
inline

Definition at line 46 of file CSCTMBHeader.h.

46 { return theHeaderFormat->Bxn1Diff(); }

References theHeaderFormat.

Referenced by cscdqm::EventProcessor::processCSC().

◆ BXNCount()

uint16_t CSCTMBHeader::BXNCount ( ) const
inline

◆ check()

bool CSCTMBHeader::check ( ) const
inline

Definition at line 87 of file CSCTMBHeader.h.

87 { return theHeaderFormat->check(); }

References theHeaderFormat.

Referenced by CSCTMBData::UnpackTMB().

◆ CLCTDigis()

std::vector<CSCCLCTDigi> CSCTMBHeader::CLCTDigis ( uint32_t  idlayer)
inline

returns CLCT digis

Definition at line 69 of file CSCTMBHeader.h.

69 { return theHeaderFormat->CLCTDigis(idlayer); }

References theHeaderFormat.

Referenced by cscdqm::EventProcessor::processCSC(), selfTest(), and CSCEventData::selfTest().

◆ CLCTOnly()

uint16_t CSCTMBHeader::CLCTOnly ( ) const
inline

Definition at line 41 of file CSCTMBHeader.h.

41 { return theHeaderFormat->CLCTOnly(); }

References theHeaderFormat.

Referenced by cscdqm::EventProcessor::processCSC().

◆ CorrelatedLCTDigis()

std::vector<CSCCorrelatedLCTDigi> CSCTMBHeader::CorrelatedLCTDigis ( uint32_t  idlayer) const
inline

returns CorrelatedLCT digis

Definition at line 72 of file CSCTMBHeader.h.

72  {
73  return theHeaderFormat->CorrelatedLCTDigis(idlayer);
74  }

References theHeaderFormat.

Referenced by selfTest(), and CSCEventData::selfTest().

◆ data()

unsigned short* CSCTMBHeader::data ( )
inline

Definition at line 82 of file CSCTMBHeader.h.

82 { return theHeaderFormat->data(); }

References theHeaderFormat.

Referenced by CSCTMBData::pack(), and selfTest().

◆ FirmwareRevision()

int CSCTMBHeader::FirmwareRevision ( ) const
inline

Definition at line 37 of file CSCTMBHeader.h.

37 { return theHeaderFormat->firmwareRevision(); }

References theHeaderFormat.

◆ FirmwareVersion()

int CSCTMBHeader::FirmwareVersion ( ) const
inline

Definition at line 36 of file CSCTMBHeader.h.

36 { return theFirmwareVersion; }

References theFirmwareVersion.

Referenced by CSCComparatorData::CSCComparatorData(), and CSCTMBData::UnpackTMB().

◆ L1ANumber()

uint16_t CSCTMBHeader::L1ANumber ( ) const
inline

Definition at line 48 of file CSCTMBHeader.h.

48 { return theHeaderFormat->L1ANumber(); }

References theHeaderFormat.

Referenced by cscdqm::EventProcessor::processCSC().

◆ NCFEBs()

uint16_t CSCTMBHeader::NCFEBs ( ) const
inline

Definition at line 59 of file CSCTMBHeader.h.

59 { return theHeaderFormat->NCFEBs(); }

References theHeaderFormat.

Referenced by cscdqm::EventProcessor::processCSC(), and CSCTMBData::UnpackTMB().

◆ NHeaderFrames()

unsigned short int CSCTMBHeader::NHeaderFrames ( ) const
inline

Definition at line 80 of file CSCTMBHeader.h.

80 { return theHeaderFormat->NHeaderFrames(); }

References theHeaderFormat.

◆ NTBins()

uint16_t CSCTMBHeader::NTBins ( ) const
inline

Definition at line 58 of file CSCTMBHeader.h.

58 { return theHeaderFormat->NTBins(); }

References theHeaderFormat.

Referenced by CSCTMBData::UnpackTMB().

◆ selfTest()

void CSCTMBHeader::selfTest ( int  firmwwareVersion,
int  firmwareRevision 
)
static

tests that packing and unpacking give same results

Definition at line 168 of file CSCTMBHeader.cc.

168  {
169  constexpr bool debug = false;
170 
171  // tests packing and unpacking
172  for (int station = 1; station <= 4; ++station) {
173  for (int iendcap = 1; iendcap <= 2; ++iendcap) {
174  CSCDetId detId(iendcap, station, 1, 1, 0);
175 
176  // the next-to-last is the BX, which only gets
177  // saved in two bits and must be the same for clct0 and clct1.
178  //CSCCLCTDigi clct0(1, 1, 4, 0, 0, 30, 3, 0, 1); // valid for 2006
179  // In 2007 firmware, there are no distrips, so the 4th argument (strip
180  // type) should always be set to 1 (halfstrips).
181  CSCCLCTDigi clct0(1, 1, 4, 1, 0, 30, 4, 2, 1); // valid for 2007
182  CSCCLCTDigi clct1(1, 1, 3, 1, 1, 31, 1, 2, 2);
183 
184  // BX of LCT (8th argument) is 1-bit word (the least-significant bit
185  // of ALCT's bx).
186  CSCCorrelatedLCTDigi lct0(1, 1, 2, 10, 98, 5, 0, 1, 0, 0, 0, 0);
187  CSCCorrelatedLCTDigi lct1(2, 1, 2, 20, 15, 9, 1, 0, 0, 0, 0, 0);
188 
189  CSCTMBHeader tmbHeader(firmwareVersion, firmwareRevision);
190  tmbHeader.addCLCT0(clct0);
191  tmbHeader.addCLCT1(clct1);
192  tmbHeader.addCorrelatedLCT0(lct0);
193  tmbHeader.addCorrelatedLCT1(lct1);
194  std::vector<CSCCLCTDigi> clcts = tmbHeader.CLCTDigis(detId.rawId());
195  // guess they got reordered
196  assert(cscPackerCompare(clcts[0], clct0));
197  assert(cscPackerCompare(clcts[1], clct1));
198  if (debug) {
199  std::cout << "Match for: " << clct0 << "\n";
200  std::cout << " " << clct1 << "\n \n";
201  }
202 
203  std::vector<CSCCorrelatedLCTDigi> lcts = tmbHeader.CorrelatedLCTDigis(detId.rawId());
204  assert(cscPackerCompare(lcts[0], lct0));
205  assert(cscPackerCompare(lcts[1], lct1));
206  if (debug) {
207  std::cout << "Match for: " << lct0 << "\n";
208  std::cout << " " << lct1 << "\n";
209  }
210 
211  // try packing and re-packing, to make sure they're the same
212  unsigned short int *data = tmbHeader.data();
213  CSCTMBHeader newHeader(data);
214  clcts = newHeader.CLCTDigis(detId.rawId());
215  assert(cscPackerCompare(clcts[0], clct0));
216  assert(cscPackerCompare(clcts[1], clct1));
217  lcts = newHeader.CorrelatedLCTDigis(detId.rawId());
218  assert(cscPackerCompare(lcts[0], lct0));
219  assert(cscPackerCompare(lcts[1], lct1));
220  }
221  }
222 }

References addCLCT0(), addCLCT1(), addCorrelatedLCT0(), addCorrelatedLCT1(), cms::cuda::assert(), CLCTDigis(), CorrelatedLCTDigis(), gather_cfg::cout, cscPackerCompare(), data(), debug, simCaloStage2Layer1Digis_cfi::firmwareVersion, DetId::rawId(), and relativeConstraints::station.

◆ setDebug()

static void CSCTMBHeader::setDebug ( const bool  value)
inlinestatic

turns on/off debug flag for this class

Definition at line 85 of file CSCTMBHeader.h.

85 { debug = value; }

References debug, and relativeConstraints::value.

Referenced by CSCDCCUnpacker::CSCDCCUnpacker().

◆ setEventInformation()

void CSCTMBHeader::setEventInformation ( const CSCDMBHeader dmbHeader)
inline

fills fields like bxn and l1a

Definition at line 34 of file CSCTMBHeader.h.

34 { theHeaderFormat->setEventInformation(dmbHeader); }

References theHeaderFormat.

Referenced by CSCEventData::checkTMBClasses(), and CSCEventData::setEventInformation().

◆ setNCFEBs()

void CSCTMBHeader::setNCFEBs ( uint16_t  ncfebs)
inline

Definition at line 66 of file CSCTMBHeader.h.

66 { theHeaderFormat->setNCFEBs(ncfebs); }

References theHeaderFormat.

Referenced by CSCEventData::checkTMBClasses(), CSCTMBData::CSCTMBData(), and CSCEventData::setEventInformation().

◆ sizeInBytes()

uint16_t CSCTMBHeader::sizeInBytes ( ) const
inline

Definition at line 50 of file CSCTMBHeader.h.

50 { return theHeaderFormat->sizeInWords() * 2; }

References theHeaderFormat.

◆ sizeInWords()

unsigned short int CSCTMBHeader::sizeInWords ( ) const
inline

in 16-bit words. Add olne because we include beginning(b0c) and end (e0c) flags

Definition at line 78 of file CSCTMBHeader.h.

78 { return theHeaderFormat->sizeInWords(); }

References theHeaderFormat.

Referenced by CSCTMBData::CSCTMBData(), CSCTMBData::pack(), and CSCTMBData::UnpackTMB().

◆ syncError()

uint16_t CSCTMBHeader::syncError ( ) const
inline

Definition at line 61 of file CSCTMBHeader.h.

61 { return theHeaderFormat->syncError(); }

References theHeaderFormat.

◆ syncErrorCLCT()

uint16_t CSCTMBHeader::syncErrorCLCT ( ) const
inline

Definition at line 62 of file CSCTMBHeader.h.

62 { return theHeaderFormat->syncErrorCLCT(); }

References theHeaderFormat.

◆ syncErrorMPC0()

uint16_t CSCTMBHeader::syncErrorMPC0 ( ) const
inline

Definition at line 63 of file CSCTMBHeader.h.

63 { return theHeaderFormat->syncErrorMPC0(); }

References theHeaderFormat.

◆ syncErrorMPC1()

uint16_t CSCTMBHeader::syncErrorMPC1 ( ) const
inline

Definition at line 64 of file CSCTMBHeader.h.

64 { return theHeaderFormat->syncErrorMPC1(); }

References theHeaderFormat.

◆ tmbHeader2006()

CSCTMBHeader2006 CSCTMBHeader::tmbHeader2006 ( ) const

Definition at line 160 of file CSCTMBHeader.cc.

160  {
161  CSCTMBHeader2006 *result = dynamic_cast<CSCTMBHeader2006 *>(theHeaderFormat.get());
162  if (result == nullptr) {
163  throw cms::Exception("Could not get 2006 TMB header format");
164  }
165  return *result;
166 }

References Exception, mps_fire::result, and theHeaderFormat.

◆ tmbHeader2007()

CSCTMBHeader2007 CSCTMBHeader::tmbHeader2007 ( ) const

will throw if the cast fails

Definition at line 136 of file CSCTMBHeader.cc.

136  {
137  CSCTMBHeader2007 *result = dynamic_cast<CSCTMBHeader2007 *>(theHeaderFormat.get());
138  if (result == nullptr) {
139  throw cms::Exception("Could not get 2007 TMB header format");
140  }
141  return *result;
142 }

References Exception, mps_fire::result, and theHeaderFormat.

◆ tmbHeader2007_rev0x50c3()

CSCTMBHeader2007_rev0x50c3 CSCTMBHeader::tmbHeader2007_rev0x50c3 ( ) const

Definition at line 144 of file CSCTMBHeader.cc.

144  {
145  CSCTMBHeader2007_rev0x50c3 *result = dynamic_cast<CSCTMBHeader2007_rev0x50c3 *>(theHeaderFormat.get());
146  if (result == nullptr) {
147  throw cms::Exception("Could not get 2007 rev0x50c3 TMB header format");
148  }
149  return *result;
150 }

References Exception, mps_fire::result, and theHeaderFormat.

◆ tmbHeader2013()

CSCTMBHeader2013 CSCTMBHeader::tmbHeader2013 ( ) const

Definition at line 152 of file CSCTMBHeader.cc.

152  {
153  CSCTMBHeader2013 *result = dynamic_cast<CSCTMBHeader2013 *>(theHeaderFormat.get());
154  if (result == nullptr) {
155  throw cms::Exception("Could not get 2013 TMB header format");
156  }
157  return *result;
158 }

References Exception, mps_fire::result, and theHeaderFormat.

◆ TMBMatch()

uint16_t CSCTMBHeader::TMBMatch ( ) const
inline

Definition at line 43 of file CSCTMBHeader.h.

43 { return theHeaderFormat->TMBMatch(); }

References theHeaderFormat.

Referenced by cscdqm::EventProcessor::processCSC().

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const CSCTMBHeader hdr 
)
friend

Definition at line 224 of file CSCTMBHeader.cc.

224  {
225  hdr.theHeaderFormat->print(os);
226  return os;
227 }

Member Data Documentation

◆ debug

std::atomic< bool > CSCTMBHeader::debug {false}
staticprivate

◆ theFirmwareVersion

int CSCTMBHeader::theFirmwareVersion
private

Definition at line 120 of file CSCTMBHeader.h.

Referenced by CSCTMBHeader(), and FirmwareVersion().

◆ theHeaderFormat

std::shared_ptr<CSCVTMBHeaderFormat> CSCTMBHeader::theHeaderFormat
private
CSCTMBHeader::debug
static std::atomic< bool > debug
Definition: CSCTMBHeader.h:116
relativeConstraints.station
station
Definition: relativeConstraints.py:67
gather_cfg.cout
cout
Definition: gather_cfg.py:144
CSCTMBHeader2007_rev0x50c3
Definition: CSCTMBHeader2007_rev0x50c3.h:6
cms::cuda::assert
assert(be >=bs)
CSCCLCTDigi
Definition: CSCCLCTDigi.h:17
CSCTMBHeader2007
Definition: CSCTMBHeader2007.h:6
simCaloStage2Layer1Digis_cfi.firmwareVersion
firmwareVersion
Definition: simCaloStage2Layer1Digis_cfi.py:21
cscPackerCompare
bool cscPackerCompare(const T &t1, const T &t2)
Definition: cscPackerCompare.h:12
CSCTMBHeader::addCorrelatedLCT0
void addCorrelatedLCT0(const CSCCorrelatedLCTDigi &digi)
Definition: CSCTMBHeader.h:97
CSCTMBHeader::addCorrelatedLCT1
void addCorrelatedLCT1(const CSCCorrelatedLCTDigi &digi)
Definition: CSCTMBHeader.h:98
CSCTMBHeader::addCLCT1
void addCLCT1(const CSCCLCTDigi &digi)
Definition: CSCTMBHeader.h:94
CSCTMBHeader::addCLCT0
void addCLCT0(const CSCCLCTDigi &digi)
Needed before data packing.
Definition: CSCTMBHeader.h:93
CSCDetId
Definition: CSCDetId.h:26
CSCTMBHeader2006
Definition: CSCTMBHeader2006.h:6
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
visDQMUpload.buf
buf
Definition: visDQMUpload.py:160
CSCTMBHeader
Definition: CSCTMBHeader.h:27
CSCTMBHeader::theHeaderFormat
std::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:119
relativeConstraints.value
value
Definition: relativeConstraints.py:53
Exception
Definition: hltDiff.cc:245
CSCTMBHeader2013
Definition: CSCTMBHeader2013.h:6
mps_fire.result
result
Definition: mps_fire.py:311
CSCTMBHeader::data
unsigned short * data()
Definition: CSCTMBHeader.h:82
CSCTMBHeader::theFirmwareVersion
int theFirmwareVersion
Definition: CSCTMBHeader.h:120
CSCCorrelatedLCTDigi
Definition: CSCCorrelatedLCTDigi.h:19