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 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 ()
 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 25 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/2]

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/2]

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().

◆ addALCT0()

void CSCTMBHeader::addALCT0 ( const CSCALCTDigi digi)
inline

Definition at line 93 of file CSCTMBHeader.h.

93 { theHeaderFormat->addALCT0(digi); }

References theHeaderFormat.

◆ addALCT1()

void CSCTMBHeader::addALCT1 ( const CSCALCTDigi digi)
inline

Definition at line 94 of file CSCTMBHeader.h.

94 { theHeaderFormat->addALCT1(digi); }

References theHeaderFormat.

◆ addCLCT0()

void CSCTMBHeader::addCLCT0 ( const CSCCLCTDigi digi)
inline

Needed before data packing.

for data packing

Definition at line 91 of file CSCTMBHeader.h.

91 { theHeaderFormat->addCLCT0(digi); }

References theHeaderFormat.

Referenced by add(), and selfTest().

◆ addCLCT1()

void CSCTMBHeader::addCLCT1 ( const CSCCLCTDigi digi)
inline

Definition at line 92 of file CSCTMBHeader.h.

92 { theHeaderFormat->addCLCT1(digi); }

References theHeaderFormat.

Referenced by add(), and selfTest().

◆ addCorrelatedLCT0()

void CSCTMBHeader::addCorrelatedLCT0 ( const CSCCorrelatedLCTDigi digi)
inline

Definition at line 95 of file CSCTMBHeader.h.

95 { theHeaderFormat->addCorrelatedLCT0(digi); }

References theHeaderFormat.

Referenced by add(), and selfTest().

◆ addCorrelatedLCT1()

void CSCTMBHeader::addCorrelatedLCT1 ( const CSCCorrelatedLCTDigi digi)
inline

Definition at line 96 of file CSCTMBHeader.h.

96 { theHeaderFormat->addCorrelatedLCT1(digi); }

References theHeaderFormat.

Referenced by add(), and selfTest().

◆ ALCTMatchTime()

uint16_t CSCTMBHeader::ALCTMatchTime ( ) const
inline

Definition at line 38 of file CSCTMBHeader.h.

38 { 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 40 of file CSCTMBHeader.h.

40 { return theHeaderFormat->ALCTOnly(); }

References theHeaderFormat.

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

◆ Bxn0Diff()

uint16_t CSCTMBHeader::Bxn0Diff ( ) const
inline

Definition at line 43 of file CSCTMBHeader.h.

43 { return theHeaderFormat->Bxn0Diff(); }

References theHeaderFormat.

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

◆ Bxn1Diff()

uint16_t CSCTMBHeader::Bxn1Diff ( ) const
inline

Definition at line 44 of file CSCTMBHeader.h.

44 { 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 85 of file CSCTMBHeader.h.

85 { 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 67 of file CSCTMBHeader.h.

67 { 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 39 of file CSCTMBHeader.h.

39 { 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 70 of file CSCTMBHeader.h.

70  {
71  return theHeaderFormat->CorrelatedLCTDigis(idlayer);
72  }

References theHeaderFormat.

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

◆ data()

unsigned short* CSCTMBHeader::data ( )
inline

Definition at line 80 of file CSCTMBHeader.h.

80 { return theHeaderFormat->data(); }

References theHeaderFormat.

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

◆ FirmwareRevision()

int CSCTMBHeader::FirmwareRevision ( ) const
inline

Definition at line 35 of file CSCTMBHeader.h.

35 { return theHeaderFormat->firmwareRevision(); }

References theHeaderFormat.

◆ FirmwareVersion()

int CSCTMBHeader::FirmwareVersion ( ) const
inline

Definition at line 34 of file CSCTMBHeader.h.

34 { return theFirmwareVersion; }

References theFirmwareVersion.

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

◆ L1ANumber()

uint16_t CSCTMBHeader::L1ANumber ( ) const
inline

Definition at line 46 of file CSCTMBHeader.h.

46 { return theHeaderFormat->L1ANumber(); }

References theHeaderFormat.

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

◆ NCFEBs()

uint16_t CSCTMBHeader::NCFEBs ( ) const
inline

Definition at line 57 of file CSCTMBHeader.h.

57 { return theHeaderFormat->NCFEBs(); }

References theHeaderFormat.

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

◆ NHeaderFrames()

unsigned short int CSCTMBHeader::NHeaderFrames ( ) const
inline

Definition at line 78 of file CSCTMBHeader.h.

78 { return theHeaderFormat->NHeaderFrames(); }

References theHeaderFormat.

◆ NTBins()

uint16_t CSCTMBHeader::NTBins ( ) const
inline

Definition at line 56 of file CSCTMBHeader.h.

56 { return theHeaderFormat->NTBins(); }

References theHeaderFormat.

Referenced by CSCTMBData::UnpackTMB().

◆ selfTest()

void CSCTMBHeader::selfTest ( )
static

tests that packing and unpacking give same results

Definition at line 163 of file CSCTMBHeader.cc.

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

References addCLCT0(), addCLCT1(), addCorrelatedLCT0(), addCorrelatedLCT1(), cms::cuda::assert(), CLCTDigis(), CorrelatedLCTDigis(), gather_cfg::cout, cscPackerCompare(), data(), debug, 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 83 of file CSCTMBHeader.h.

83 { 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 32 of file CSCTMBHeader.h.

32 { theHeaderFormat->setEventInformation(dmbHeader); }

References theHeaderFormat.

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

◆ setNCFEBs()

void CSCTMBHeader::setNCFEBs ( uint16_t  ncfebs)
inline

Definition at line 64 of file CSCTMBHeader.h.

64 { theHeaderFormat->setNCFEBs(ncfebs); }

References theHeaderFormat.

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

◆ sizeInBytes()

uint16_t CSCTMBHeader::sizeInBytes ( ) const
inline

Definition at line 48 of file CSCTMBHeader.h.

48 { 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 76 of file CSCTMBHeader.h.

76 { return theHeaderFormat->sizeInWords(); }

References theHeaderFormat.

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

◆ syncError()

uint16_t CSCTMBHeader::syncError ( ) const
inline

Definition at line 59 of file CSCTMBHeader.h.

59 { return theHeaderFormat->syncError(); }

References theHeaderFormat.

◆ syncErrorCLCT()

uint16_t CSCTMBHeader::syncErrorCLCT ( ) const
inline

Definition at line 60 of file CSCTMBHeader.h.

60 { return theHeaderFormat->syncErrorCLCT(); }

References theHeaderFormat.

◆ syncErrorMPC0()

uint16_t CSCTMBHeader::syncErrorMPC0 ( ) const
inline

Definition at line 61 of file CSCTMBHeader.h.

61 { return theHeaderFormat->syncErrorMPC0(); }

References theHeaderFormat.

◆ syncErrorMPC1()

uint16_t CSCTMBHeader::syncErrorMPC1 ( ) const
inline

Definition at line 62 of file CSCTMBHeader.h.

62 { return theHeaderFormat->syncErrorMPC1(); }

References theHeaderFormat.

◆ tmbHeader2006()

CSCTMBHeader2006 CSCTMBHeader::tmbHeader2006 ( ) const

Definition at line 155 of file CSCTMBHeader.cc.

155  {
156  CSCTMBHeader2006 *result = dynamic_cast<CSCTMBHeader2006 *>(theHeaderFormat.get());
157  if (result == nullptr) {
158  throw cms::Exception("Could not get 2006 TMB header format");
159  }
160  return *result;
161 }

References Exception, mps_fire::result, and theHeaderFormat.

◆ tmbHeader2007()

CSCTMBHeader2007 CSCTMBHeader::tmbHeader2007 ( ) const

will throw if the cast fails

Definition at line 131 of file CSCTMBHeader.cc.

131  {
132  CSCTMBHeader2007 *result = dynamic_cast<CSCTMBHeader2007 *>(theHeaderFormat.get());
133  if (result == nullptr) {
134  throw cms::Exception("Could not get 2007 TMB header format");
135  }
136  return *result;
137 }

References Exception, mps_fire::result, and theHeaderFormat.

◆ tmbHeader2007_rev0x50c3()

CSCTMBHeader2007_rev0x50c3 CSCTMBHeader::tmbHeader2007_rev0x50c3 ( ) const

Definition at line 139 of file CSCTMBHeader.cc.

139  {
140  CSCTMBHeader2007_rev0x50c3 *result = dynamic_cast<CSCTMBHeader2007_rev0x50c3 *>(theHeaderFormat.get());
141  if (result == nullptr) {
142  throw cms::Exception("Could not get 2007 rev0x50c3 TMB header format");
143  }
144  return *result;
145 }

References Exception, mps_fire::result, and theHeaderFormat.

◆ tmbHeader2013()

CSCTMBHeader2013 CSCTMBHeader::tmbHeader2013 ( ) const

Definition at line 147 of file CSCTMBHeader.cc.

147  {
148  CSCTMBHeader2013 *result = dynamic_cast<CSCTMBHeader2013 *>(theHeaderFormat.get());
149  if (result == nullptr) {
150  throw cms::Exception("Could not get 2013 TMB header format");
151  }
152  return *result;
153 }

References Exception, mps_fire::result, and theHeaderFormat.

◆ TMBMatch()

uint16_t CSCTMBHeader::TMBMatch ( ) const
inline

Definition at line 41 of file CSCTMBHeader.h.

41 { 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 219 of file CSCTMBHeader.cc.

219  {
220  hdr.theHeaderFormat->print(os);
221  return os;
222 }

Member Data Documentation

◆ debug

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

◆ theFirmwareVersion

int CSCTMBHeader::theFirmwareVersion
private

Definition at line 117 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:113
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:5
cscPackerCompare
bool cscPackerCompare(const T &t1, const T &t2)
Definition: cscPackerCompare.h:9
CSCTMBHeader::addCorrelatedLCT0
void addCorrelatedLCT0(const CSCCorrelatedLCTDigi &digi)
Definition: CSCTMBHeader.h:95
CSCTMBHeader::addCorrelatedLCT1
void addCorrelatedLCT1(const CSCCorrelatedLCTDigi &digi)
Definition: CSCTMBHeader.h:96
CSCTMBHeader::addCLCT1
void addCLCT1(const CSCCLCTDigi &digi)
Definition: CSCTMBHeader.h:92
CSCTMBHeader::addCLCT0
void addCLCT0(const CSCCLCTDigi &digi)
Needed before data packing.
Definition: CSCTMBHeader.h:91
edm::LogError
Definition: MessageLogger.h:183
CSCDetId
Definition: CSCDetId.h:26
CSCTMBHeader2006
Definition: CSCTMBHeader2006.h:6
visDQMUpload.buf
buf
Definition: visDQMUpload.py:154
CSCTMBHeader
Definition: CSCTMBHeader.h:25
CSCTMBHeader::theHeaderFormat
std::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:116
relativeConstraints.value
value
Definition: relativeConstraints.py:53
Exception
Definition: hltDiff.cc:246
CSCTMBHeader2013
Definition: CSCTMBHeader2013.h:6
mps_fire.result
result
Definition: mps_fire.py:303
CSCTMBHeader::data
unsigned short * data()
Definition: CSCTMBHeader.h:80
CSCTMBHeader::theFirmwareVersion
int theFirmwareVersion
Definition: CSCTMBHeader.h:117
CSCCorrelatedLCTDigi
Definition: CSCCorrelatedLCTDigi.h:19