CMS 3D CMS Logo

CSCDCCExaminer.h
Go to the documentation of this file.
1 #ifndef EventFilter_CSCRawToDigi_CSCDCCExaminer_h
2 #define EventFilter_CSCRawToDigi_CSCDCCExaminer_h
3 #include <set>
4 #include <map>
5 #include <vector>
6 #include <string>
7 #ifdef LOCAL_UNPACK
8 #include <iostream>
9 #else
10 #include <ostream>
11 #endif
12 
14 
16 public:
17  const uint16_t nERRORS, nWARNINGS, nPAYLOADS, nSTATUSES;
18 
19 private:
22  ExaminerStatusType bSUM_ERROR, bSUM_WARNING; // Summary flags for errors and warnings
23  bool fERROR[29]; //[nERRORS];
24  bool fWARNING[5]; //[nWARNINGS];
25  bool fSUM_ERROR[29]; //[nERRORS];
26  bool fSUM_WARNING[5]; //[nWARNINGS];
27 
28  std::set<CSCIdType> fCHAMB_ERR[29]; // Set of chambers which contain particular error
29  std::set<CSCIdType> fCHAMB_WRN[5]; // Set of chambers which contain particular warning
30  std::map<CSCIdType, ExaminerStatusType> bCHAMB_ERR; // chamber <=> errors in bits
31  std::map<CSCIdType, ExaminerStatusType> bCHAMB_WRN; // chamber <=> errors in bits
32  std::map<CSCIdType, ExaminerStatusType> bCHAMB_PAYLOAD; //
33  std::map<CSCIdType, ExaminerStatusType> bCHAMB_STATUS; //
34  std::map<DDUIdType, ExaminerStatusType> bDDU_ERR; // ddu <-> errors in bits
35  std::map<DDUIdType, ExaminerStatusType> bDDU_WRN; // ddu <-> errors in bits
36 
37 #ifdef LOCAL_UNPACK
38  class OStream : public std::ostream {
39  private:
40  class buffer : public std::streambuf {};
41  buffer buff;
42  std::streambuf* stream;
43  std::streambuf* null;
45 
46  public:
47  void show(void) { rdbuf(stream); }
48  void hide(void) { rdbuf(null); }
49  void sign(std::string nm) { name = nm; }
50  void sign(const char* nm) { name = nm; }
51 
52  void redirect(std::ostream& str) {
53  stream = str.rdbuf();
54  tie(&str);
55  if (rdbuf() != null)
56  rdbuf(stream);
57  }
58 
59  template <class T>
60  std::ostream& operator<<(const T& val) {
61  return (*(std::ostream*)this) << name << val;
62  }
63 
64  OStream(void) : std::ostream(std::cout.rdbuf()), buff(), stream(std::cout.rdbuf()), null(&buff), name("") {}
65  OStream(std::ostream& str) : std::ostream(str.rdbuf()), buff(), stream(str.rdbuf()), null(&buff), name("") {}
66  };
67 
68  OStream COUT, CERR;
69 #endif
70 
71  CSCIdType currentChamber; // ( (CrateNumber<<4) + DMBslot ) specifies chamber
72 
73  const uint16_t *buf_2, *buf_1, *buf0, *buf1, *buf2;
74  uint16_t tmpbuf[16];
75 
87 
88  bool uniqueALCT, uniqueTMB; // Do not merge two DMBs if Trailer of the first and Header of the second are lost
89 
90  bool DAV_ALCT; // ...
91  bool DAV_TMB; // Check if DAV bits lie
92  int DAV_CFEB; // ...
93  int DAV_DMB; // ...
94  int DMB_Active, nDMBs; // ...
95 
96 public:
97  uint32_t cntDDU_Headers;
98  uint32_t cntDDU_Trailers;
99  std::map<CSCIdType, uint32_t> cntCHAMB_Headers;
100  std::map<CSCIdType, uint32_t> cntCHAMB_Trailers;
101 
102 private:
103  void clear();
104  void zeroCounts();
105  void sync_stats();
107  void checkDAVs();
109 
110  inline int scanbuf(const uint16_t*& buf, int32_t length, uint16_t sig, uint16_t mask = 0xFFFF);
111 
113  uint32_t DDU_WordCount;
116 
119  uint32_t ALCT_WordCount;
121  uint32_t ALCT_ZSE;
122  uint32_t nWG_round_up;
123 
125  uint32_t TMB_WordCount;
127  uint32_t TMB_Tbins;
128  uint32_t TMB_WordsRPC;
131 
135 
137  uint32_t ALCT_CRC;
139  uint32_t TMB_CRC;
141  uint32_t CFEB_CRC;
142 
146 
147  //int headerDAV_Active; // Obsolete since 16.09.05
148 
149  // data blocks:
150  std::map<DDUIdType, const uint16_t*> dduBuffers; // < DDUsourceID, pointer >
151  std::map<DDUIdType, std::map<CSCIdType, const uint16_t*> > dmbBuffers; // < DDUsourceID, < DMBid, pointer > >
152  std::map<DDUIdType, uint32_t> dduOffsets; // < DDUsourceID, pointer_offset >
153  std::map<DDUIdType, std::map<CSCIdType, uint32_t> > dmbOffsets; // < DDUsourceID, < DMBid, pointer_offset > >
154  std::map<DDUIdType, uint32_t> dduSize; // < DDUsourceID, block_size >
155  std::map<DDUIdType, std::map<CSCIdType, uint32_t> > dmbSize; // < DDUsourceID, < DMBid, block_size > >
156  const uint16_t* buffer_start;
157 
158 public:
159 #ifdef LOCAL_UNPACK
160  OStream& output1(void) { return COUT; }
161  OStream& output2(void) { return CERR; }
162 #endif
163 
164  int32_t check(const uint16_t*& buffer, int32_t length);
165 
166  void setMask(ExaminerMaskType mask) { examinerMask = mask; }
168 
169  ExaminerStatusType errors(void) const { return bSUM_ERROR; }
170  ExaminerStatusType warnings(void) const { return bSUM_WARNING; }
171 
172  const char* errName(int num) const {
173  if (num >= 0 && num < nERRORS)
174  return sERROR[num];
175  else
176  return "";
177  }
178  const char* wrnName(int num) const {
179  if (num >= 0 && num < nWARNINGS)
180  return sWARNING[num];
181  else
182  return "";
183  }
184 
185  const char* errorName(int num) const {
186  if (num >= 0 && num < nERRORS)
187  return sERROR_[num];
188  else
189  return "";
190  }
191  const char* warningName(int num) const {
192  if (num >= 0 && num < nWARNINGS)
193  return sWARNING_[num];
194  else
195  return "";
196  }
197 
198  const char* payloadName(int num) const {
199  if (num >= 0 && num < nPAYLOADS)
200  return sDMBExpectedPayload[num];
201  else
202  return "";
203  }
204  const char* statusName(int num) const {
205  if (num >= 0 && num < nSTATUSES)
206  return sDMBEventStaus[num];
207  else
208  return "";
209  }
210 
211  bool error(int num) const {
212  if (num >= 0 && num < nERRORS)
213  return fSUM_ERROR[num];
214  else
215  return false;
216  }
217  bool warning(int num) const {
218  if (num >= 0 && num < nWARNINGS)
219  return fSUM_WARNING[num];
220  else
221  return false;
222  }
223 
224  std::set<CSCIdType> chambersWithError(int num) const {
225  if (num >= 0 && num < nERRORS)
226  return fCHAMB_ERR[num];
227  else
228  return std::set<int>();
229  }
230  std::set<CSCIdType> chambersWithWarning(int num) const {
231  if (num >= 0 && num < nWARNINGS)
232  return fCHAMB_WRN[num];
233  else
234  return std::set<int>();
235  }
236 
238  std::map<CSCIdType, ExaminerStatusType>::const_iterator item = bCHAMB_PAYLOAD.find(chamber);
239  if (item != bCHAMB_PAYLOAD.end())
240  return item->second;
241  else
242  return 0;
243  }
244 
246  std::map<CSCIdType, ExaminerStatusType>::const_iterator item = bCHAMB_STATUS.find(chamber);
247  if (item != bCHAMB_STATUS.end())
248  return item->second;
249  else
250  return 0;
251  }
252 
254  std::map<CSCIdType, ExaminerStatusType>::const_iterator item = bCHAMB_ERR.find(chamber);
256 
257  // for(item =bCHAMB_ERR.begin() ; item !=bCHAMB_ERR.end() ; item++)
258  //std::cout << " Ex-errors: " << std::hex << (*item).second << std::dec << std::endl;
259 
260  item = bCHAMB_ERR.find(chamber);
261  if (item != bCHAMB_ERR.end())
262  return item->second;
263  else
264  return 0;
265  }
266 
268  std::map<CSCIdType, ExaminerStatusType>::const_iterator item = bCHAMB_WRN.find(chamber);
269  if (item != bCHAMB_WRN.end())
270  return item->second;
271  else
272  return 0;
273  }
274 
276  std::map<DDUIdType, ExaminerStatusType>::const_iterator item = bDDU_ERR.find(dduSourceID);
277  if (item != bDDU_ERR.end())
278  return item->second;
279  else
280  return 0;
281  }
283  std::map<DDUIdType, ExaminerStatusType>::const_iterator item = bDDU_WRN.find(dduSourceID);
284  if (item != bDDU_WRN.end())
285  return item->second;
286  else
287  return 0;
288  }
289  std::vector<DDUIdType> listOfDDUs(void) const {
290  std::vector<DDUIdType> DDUs;
291  std::map<DDUIdType, ExaminerStatusType>::const_iterator item = bDDU_ERR.begin();
292  while (item != bDDU_ERR.end()) {
293  DDUs.push_back(item->first);
294  item++;
295  }
296  return DDUs;
297  }
298 
299  std::map<DDUIdType, ExaminerStatusType> errorsDetailedDDU(void) const { return bDDU_ERR; }
300 
301  std::map<CSCIdType, ExaminerStatusType> errorsDetailed(void) const { return bCHAMB_ERR; }
302  std::map<CSCIdType, ExaminerStatusType> warningsDetailed(void) const { return bCHAMB_WRN; }
303  std::map<CSCIdType, ExaminerStatusType> payloadDetailed(void) const { return bCHAMB_PAYLOAD; }
304  std::map<CSCIdType, ExaminerStatusType> statusDetailed(void) const { return bCHAMB_STATUS; }
305 
306  void crcALCT(bool enable);
307  void crcTMB(bool enable);
308  void crcCFEB(bool enable);
309 
310  void modeDDU(bool enable);
311 
312  bool isDDUmode() { return modeDDUonly; };
313 
314  DDUIdType dduSourceID(void) { return sourceID; }
315 
316  std::map<DDUIdType, const uint16_t*> DDU_block(void) const { return dduBuffers; }
317  std::map<DDUIdType, std::map<CSCIdType, const uint16_t*> > DMB_block(void) const { return dmbBuffers; }
318 
319  std::map<DDUIdType, uint32_t> DDU_ptrOffsets(void) const { return dduOffsets; }
320  std::map<DDUIdType, std::map<CSCIdType, uint32_t> > DMB_ptrOffsets(void) const { return dmbOffsets; }
321 
322  std::map<DDUIdType, uint32_t> DDU_size(void) const { return dduSize; }
323  std::map<DDUIdType, std::map<CSCIdType, uint32_t> > DMB_size(void) const { return dmbSize; }
324 
327 };
328 
329 #endif
CSCDCCExaminer::buffer_start
const uint16_t * buffer_start
Definition: CSCDCCExaminer.h:156
CSCDCCExaminer::error
bool error(int num) const
Definition: CSCDCCExaminer.h:211
CSCDCCExaminer::DDU_WordsSinceLastTrailer
uint32_t DDU_WordsSinceLastTrailer
Definition: CSCDCCExaminer.h:115
CSCDCCExaminer::bCHAMB_PAYLOAD
std::map< CSCIdType, ExaminerStatusType > bCHAMB_PAYLOAD
Definition: CSCDCCExaminer.h:32
CSCDCCExaminer::TMB_CRC
uint32_t TMB_CRC
Definition: CSCDCCExaminer.h:139
skim900GeV_StreamA_MinBiasPD_cfg.output1
output1
Definition: skim900GeV_StreamA_MinBiasPD_cfg.py:212
CSCDCCExaminer::ALCT_WordsSinceLastHeaderZeroSuppressed
uint32_t ALCT_WordsSinceLastHeaderZeroSuppressed
Definition: CSCDCCExaminer.h:118
CSCDCCExaminer::checkCrcCFEB
bool checkCrcCFEB
Definition: CSCDCCExaminer.h:140
CSCDCCExaminer::dduBuffers
std::map< DDUIdType, const uint16_t * > dduBuffers
Definition: CSCDCCExaminer.h:150
CSCDCCExaminer::bCHAMB_WRN
std::map< CSCIdType, ExaminerStatusType > bCHAMB_WRN
Definition: CSCDCCExaminer.h:31
CSCDCCExaminer::fWARNING
bool fWARNING[5]
Definition: CSCDCCExaminer.h:24
CSCDCCExaminer::errors
ExaminerStatusType errors(void) const
Definition: CSCDCCExaminer.h:169
CSCDCCExaminer::bSUM_WARNING
ExaminerStatusType bSUM_WARNING
Definition: CSCDCCExaminer.h:22
CSCDCCExaminer::currentChamber
CSCIdType currentChamber
Definition: CSCDCCExaminer.h:71
CSCDCCExaminer::ALCT_WordsExpected
uint32_t ALCT_WordsExpected
Definition: CSCDCCExaminer.h:120
CSCDCCExaminer::chambersWithError
std::set< CSCIdType > chambersWithError(int num) const
Definition: CSCDCCExaminer.h:224
remoteMonitoring_LED_IterMethod_cfg.enable
enable
Definition: remoteMonitoring_LED_IterMethod_cfg.py:423
CSCDCCExaminer::bDDU_ERR
std::map< DDUIdType, ExaminerStatusType > bDDU_ERR
Definition: CSCDCCExaminer.h:34
CSCDCCExaminer::fFormat2013
bool fFormat2013
Definition: CSCDCCExaminer.h:86
CSCDCCExaminer::DAV_CFEB
int DAV_CFEB
Definition: CSCDCCExaminer.h:92
CSCDCCExaminer::nERRORS
const uint16_t nERRORS
Definition: CSCDCCExaminer.h:17
gather_cfg.cout
cout
Definition: gather_cfg.py:144
CSCDCCExaminer::bDDU_WRN
std::map< DDUIdType, ExaminerStatusType > bDDU_WRN
Definition: CSCDCCExaminer.h:35
CSCDCCExaminer::TMB_WordsSinceLastHeader
uint32_t TMB_WordsSinceLastHeader
to decode if zero suppression enabled
Definition: CSCDCCExaminer.h:124
CSCDCCExaminer::checkTriggerHeadersAndTrailers
void checkTriggerHeadersAndTrailers()
Definition: CSCDCCExaminer.cc:1622
CSCDCCExaminer::dduSourceID
DDUIdType dduSourceID(void)
Definition: CSCDCCExaminer.h:314
cms::cuda::stream
uint32_t const T *__restrict__ const uint32_t *__restrict__ int32_t int Histo::index_type cudaStream_t stream
Definition: HistoContainer.h:51
CSCDCCExaminer::isDDUmode
bool isDDUmode()
Definition: CSCDCCExaminer.h:312
Validation_hcalonly_cfi.sign
sign
Definition: Validation_hcalonly_cfi.py:32
CSCDCCExaminer::buf_1
const uint16_t * buf_1
Definition: CSCDCCExaminer.h:73
CSCDCCExaminer::warningsForChamber
ExaminerStatusType warningsForChamber(CSCIdType chamber) const
Definition: CSCDCCExaminer.h:267
CSCDCCExaminer::nWG_round_up
uint32_t nWG_round_up
check zero suppression mode
Definition: CSCDCCExaminer.h:122
CSCDCCExaminer::DAV_DMB
int DAV_DMB
Definition: CSCDCCExaminer.h:93
CSCDCCExaminer::DMB_block
std::map< DDUIdType, std::map< CSCIdType, const uint16_t * > > DMB_block(void) const
Definition: CSCDCCExaminer.h:317
CSCDCCExaminer::nPAYLOADS
const uint16_t nPAYLOADS
Definition: CSCDCCExaminer.h:17
CSCDCCExaminer::modeDDU
void modeDDU(bool enable)
Definition: CSCDCCExaminer.cc:53
CSCDCCExaminer::~CSCDCCExaminer
~CSCDCCExaminer(void)
Definition: CSCDCCExaminer.h:326
ExaminerMaskType
uint32_t ExaminerMaskType
Definition: CSCDCCFormatStatusDigi.h:39
CSCDCCExaminer::fDDU_Header
bool fDDU_Header
Definition: CSCDCCExaminer.h:78
CSCDCCExaminer::modeDDUonly
bool modeDDUonly
Definition: CSCDCCExaminer.h:143
CSCDCCExaminer::dduSize
std::map< DDUIdType, uint32_t > dduSize
Definition: CSCDCCExaminer.h:154
CSCDCCExaminer::fTMB_Header
bool fTMB_Header
Definition: CSCDCCExaminer.h:83
CSCDCCExaminer::chambersWithWarning
std::set< CSCIdType > chambersWithWarning(int num) const
Definition: CSCDCCExaminer.h:230
CSCDCCExaminer::sDMBEventStaus
std::vector< const char * > sDMBEventStaus
Definition: CSCDCCExaminer.h:20
CSCDCCExaminer::CFEB_CRC
uint32_t CFEB_CRC
Definition: CSCDCCExaminer.h:141
CSCDCCExaminer::warningsDetailed
std::map< CSCIdType, ExaminerStatusType > warningsDetailed(void) const
Definition: CSCDCCExaminer.h:302
CSCDCCExaminer::buf1
const uint16_t * buf1
Definition: CSCDCCExaminer.h:73
CSCDCCExaminer::errorName
const char * errorName(int num) const
Definition: CSCDCCExaminer.h:185
CSCDCCExaminer::fDMB_Trailer
bool fDMB_Trailer
Definition: CSCDCCExaminer.h:81
edmScanValgrind.buffer
buffer
Definition: edmScanValgrind.py:171
CSCDCCExaminer::bWARNING
ExaminerStatusType bWARNING
Definition: CSCDCCExaminer.h:21
CSCDCCExaminer::CFEB_BSampleCount
uint32_t CFEB_BSampleCount
Definition: CSCDCCExaminer.h:134
CSCDCCExaminer::sDMBExpectedPayload
std::vector< const char * > sDMBExpectedPayload
Definition: CSCDCCExaminer.h:20
CSCDCCExaminer::warningName
const char * warningName(int num) const
Definition: CSCDCCExaminer.h:191
testProducerWithPsetDescEmpty_cfi.x1
x1
Definition: testProducerWithPsetDescEmpty_cfi.py:33
CSCDCCExaminer::statusForChamber
ExaminerStatusType statusForChamber(CSCIdType chamber) const
Definition: CSCDCCExaminer.h:245
CSCDCCExaminer::DMB_Active
int DMB_Active
Definition: CSCDCCExaminer.h:94
CSCDCCExaminer::uniqueTMB
bool uniqueTMB
Definition: CSCDCCExaminer.h:88
CSCDCCExaminer::nWARNINGS
const uint16_t nWARNINGS
Definition: CSCDCCExaminer.h:17
CSCDCCExaminer::fSUM_ERROR
bool fSUM_ERROR[29]
Definition: CSCDCCExaminer.h:25
CSCDCCExaminer::fDCC_Header
bool fDCC_Header
Definition: CSCDCCExaminer.h:76
CSCDCCExaminer::errorsForDDU
ExaminerStatusType errorsForDDU(DDUIdType dduSourceID) const
Definition: CSCDCCExaminer.h:275
CSCDCCExaminer::errorsDetailed
std::map< CSCIdType, ExaminerStatusType > errorsDetailed(void) const
Definition: CSCDCCExaminer.h:301
CSCDCCExaminer::CFEB_SampleCount
uint32_t CFEB_SampleCount
Definition: CSCDCCExaminer.h:133
CSCDCCExaminer::fALCT_Header
bool fALCT_Header
Definition: CSCDCCExaminer.h:82
CSCDCCExaminer::dduOffsets
std::map< DDUIdType, uint32_t > dduOffsets
Definition: CSCDCCExaminer.h:152
CSCDCCExaminer::fALCT_Format2007
bool fALCT_Format2007
Definition: CSCDCCExaminer.h:85
str
#define str(s)
Definition: TestProcessor.cc:53
CSCDCCExaminer::zeroCounts
void zeroCounts()
Definition: CSCDCCExaminer.cc:1583
CSCDCCExaminer::TMB_WordsExpected
uint32_t TMB_WordsExpected
Definition: CSCDCCExaminer.h:126
CSCDCCExaminer::DDU_WordMismatch_Occurrences
uint32_t DDU_WordMismatch_Occurrences
Definition: CSCDCCExaminer.h:114
CSCDCCExaminer::buf0
const uint16_t * buf0
Definition: CSCDCCExaminer.h:73
CSCDCCExaminer::TMB_Tbins
uint32_t TMB_Tbins
Definition: CSCDCCExaminer.h:127
CSCDCCExaminer::sourceID
DDUIdType sourceID
Definition: CSCDCCExaminer.h:144
CSCIdType
int32_t CSCIdType
Definition: CSCDCCFormatStatusDigi.h:36
CSCDCCExaminer::getMask
ExaminerMaskType getMask() const
Definition: CSCDCCExaminer.h:167
CSCDCCExaminer::buf_2
const uint16_t * buf_2
Definition: CSCDCCExaminer.h:73
CSCDCCExaminer::sWARNING_
std::vector< const char * > sWARNING_
Definition: CSCDCCExaminer.h:20
DDUIdType
int16_t DDUIdType
Definition: CSCDCCFormatStatusDigi.h:33
CSCDCCFormatStatusDigi.h
CSCDCCExaminer::uniqueALCT
bool uniqueALCT
Definition: CSCDCCExaminer.h:88
CSCDCCExaminer::bCHAMB_STATUS
std::map< CSCIdType, ExaminerStatusType > bCHAMB_STATUS
Definition: CSCDCCExaminer.h:33
CSCDCCExaminer::dmbSize
std::map< DDUIdType, std::map< CSCIdType, uint32_t > > dmbSize
Definition: CSCDCCExaminer.h:155
CSCDCCExaminer::sync_stats
void sync_stats()
Definition: CSCDCCExaminer.cc:1699
CSCDCCExaminer::tmpbuf
uint16_t tmpbuf[16]
Definition: CSCDCCExaminer.h:74
CSCDCCExaminer::payloadName
const char * payloadName(int num) const
Definition: CSCDCCExaminer.h:198
CSCDCCExaminer::fDCC_Trailer
bool fDCC_Trailer
Definition: CSCDCCExaminer.h:77
CSCDCCExaminer::checkDAVs
void checkDAVs()
checks DAV_ALCT, DAV_TMB, and DAV_CFEB
Definition: CSCDCCExaminer.cc:1598
CSCDCCExaminer::checkCrcALCT
bool checkCrcALCT
Definition: CSCDCCExaminer.h:136
CSCDCCExaminer::TMB_Firmware_Revision
uint32_t TMB_Firmware_Revision
Definition: CSCDCCExaminer.h:129
CSCDCCExaminer::CFEB_SampleWordCount
uint32_t CFEB_SampleWordCount
Definition: CSCDCCExaminer.h:132
CSCDCCExaminer::clear
void clear()
Definition: CSCDCCExaminer.cc:1556
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:167
CSCDCCExaminer::DDU_WordCount
uint32_t DDU_WordCount
Definition: CSCDCCExaminer.h:113
CSCDCCExaminer::setMask
void setMask(ExaminerMaskType mask)
Definition: CSCDCCExaminer.h:166
CSCDCCExaminer::listOfDDUs
std::vector< DDUIdType > listOfDDUs(void) const
Definition: CSCDCCExaminer.h:289
CSCDCCExaminer::cntDDU_Headers
uint32_t cntDDU_Headers
Definition: CSCDCCExaminer.h:97
CSCDCCExaminer::DDU_ptrOffsets
std::map< DDUIdType, uint32_t > DDU_ptrOffsets(void) const
Definition: CSCDCCExaminer.h:319
CSCDCCExaminer::check
int32_t check(const uint16_t *&buffer, int32_t length)
Definition: CSCDCCExaminer.cc:263
CSCDCCExaminer
Definition: CSCDCCExaminer.h:15
CSCDCCExaminer::cntCHAMB_Headers
std::map< CSCIdType, uint32_t > cntCHAMB_Headers
Definition: CSCDCCExaminer.h:99
CSCDCCExaminer::nDMBs
int nDMBs
Definition: CSCDCCExaminer.h:94
CSCDCCExaminer::fTMB_Format2007
bool fTMB_Format2007
Definition: CSCDCCExaminer.h:84
CSCDCCExaminer::fDDU_Trailer
bool fDDU_Trailer
Definition: CSCDCCExaminer.h:79
CSCDCCExaminer::ALCT_CRC
uint32_t ALCT_CRC
Definition: CSCDCCExaminer.h:137
CSCDCCExaminer::bCHAMB_ERR
std::map< CSCIdType, ExaminerStatusType > bCHAMB_ERR
Definition: CSCDCCExaminer.h:30
CSCDCCExaminer::CSCDCCExaminer
CSCDCCExaminer(ExaminerMaskType mask=0x1)
Definition: CSCDCCExaminer.cc:64
B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
CSCDCCExaminer::fDMB_Header
bool fDMB_Header
Definition: CSCDCCExaminer.h:80
skim900GeV_StreamA_MinBiasPD_cfg.output2
output2
Definition: skim900GeV_StreamA_MinBiasPD_cfg.py:226
CSCDCCExaminer::DDU_block
std::map< DDUIdType, const uint16_t * > DDU_block(void) const
Definition: CSCDCCExaminer.h:316
visDQMUpload.buf
buf
Definition: visDQMUpload.py:160
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EgammaValidation_cff.num
num
Definition: EgammaValidation_cff.py:33
CSCDCCExaminer::scanbuf
int scanbuf(const uint16_t *&buf, int32_t length, uint16_t sig, uint16_t mask=0xFFFF)
Definition: CSCDCCExaminer.cc:1708
CSCDCCExaminer::examinerMask
ExaminerMaskType examinerMask
Definition: CSCDCCExaminer.h:145
CSCDCCExaminer::DDU_Firmware_Revision
uint32_t DDU_Firmware_Revision
Definition: CSCDCCExaminer.h:130
COUT
#define COUT
Definition: PVValidationHelpers.h:13
CSCDCCExaminer::cntCHAMB_Trailers
std::map< CSCIdType, uint32_t > cntCHAMB_Trailers
Definition: CSCDCCExaminer.h:100
CSCDCCExaminer::nSTATUSES
const uint16_t nSTATUSES
Definition: CSCDCCExaminer.h:17
CSCDCCExaminer::warnings
ExaminerStatusType warnings(void) const
Definition: CSCDCCExaminer.h:170
CSCDCCExaminer::fERROR
bool fERROR[29]
Definition: CSCDCCExaminer.h:23
CSCDCCExaminer::ALCT_WordCount
uint32_t ALCT_WordCount
Definition: CSCDCCExaminer.h:119
heppy_batch.val
val
Definition: heppy_batch.py:351
CSCDCCExaminer::DAV_TMB
bool DAV_TMB
Definition: CSCDCCExaminer.h:91
CSCDCCExaminer::DDU_size
std::map< DDUIdType, uint32_t > DDU_size(void) const
Definition: CSCDCCExaminer.h:322
CSCDCCExaminer::payloadDetailed
std::map< CSCIdType, ExaminerStatusType > payloadDetailed(void) const
Definition: CSCDCCExaminer.h:303
CSCDCCExaminer::fSUM_WARNING
bool fSUM_WARNING[5]
Definition: CSCDCCExaminer.h:26
CSCDCCExaminer::crcTMB
void crcTMB(bool enable)
Definition: CSCDCCExaminer.cc:37
T
long double T
Definition: Basic3DVectorLD.h:48
CSCDCCExaminer::statusName
const char * statusName(int num) const
Definition: CSCDCCExaminer.h:204
CSCDCCExaminer::crcALCT
void crcALCT(bool enable)
Definition: CSCDCCExaminer.cc:29
CSCDCCExaminer::DDU_WordsSinceLastHeader
uint32_t DDU_WordsSinceLastHeader
Definition: CSCDCCExaminer.h:112
CSCDCCExaminer::fCHAMB_ERR
std::set< CSCIdType > fCHAMB_ERR[29]
Definition: CSCDCCExaminer.h:28
relativeConstraints.chamber
chamber
Definition: relativeConstraints.py:53
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
CSCDCCExaminer::fCHAMB_WRN
std::set< CSCIdType > fCHAMB_WRN[5]
Definition: CSCDCCExaminer.h:29
CSCDCCExaminer::DAV_ALCT
bool DAV_ALCT
Definition: CSCDCCExaminer.h:90
CSCDCCExaminer::sERROR_
std::vector< const char * > sERROR_
Definition: CSCDCCExaminer.h:20
CSCDCCExaminer::DMB_ptrOffsets
std::map< DDUIdType, std::map< CSCIdType, uint32_t > > DMB_ptrOffsets(void) const
Definition: CSCDCCExaminer.h:320
CSCDCCExaminer::bSUM_ERROR
ExaminerStatusType bSUM_ERROR
Definition: CSCDCCExaminer.h:22
CSCDCCExaminer::statusDetailed
std::map< CSCIdType, ExaminerStatusType > statusDetailed(void) const
Definition: CSCDCCExaminer.h:304
CSCDCCExaminer::crcCFEB
void crcCFEB(bool enable)
Definition: CSCDCCExaminer.cc:45
CSCDCCExaminer::TMB_WordsRPC
uint32_t TMB_WordsRPC
Definition: CSCDCCExaminer.h:128
CSCDCCExaminer::errorsForChamber
ExaminerStatusType errorsForChamber(CSCIdType chamber) const
Definition: CSCDCCExaminer.h:253
CSCDCCExaminer::buf2
const uint16_t * buf2
Definition: CSCDCCExaminer.h:73
CSCDCCExaminer::warningsForDDU
ExaminerStatusType warningsForDDU(DDUIdType dduSourceID) const
Definition: CSCDCCExaminer.h:282
CSCDCCExaminer::checkCrcTMB
bool checkCrcTMB
Definition: CSCDCCExaminer.h:138
CSCDCCExaminer::warning
bool warning(int num) const
Definition: CSCDCCExaminer.h:217
CSCDCCExaminer::ALCT_ZSE
uint32_t ALCT_ZSE
Definition: CSCDCCExaminer.h:121
ExaminerStatusType
uint32_t ExaminerStatusType
Definition: CSCDCCFormatStatusDigi.h:40
CSCDCCExaminer::errorsDetailedDDU
std::map< DDUIdType, ExaminerStatusType > errorsDetailedDDU(void) const
Definition: CSCDCCExaminer.h:299
CSCDCCExaminer::TMB_WordCount
uint32_t TMB_WordCount
Definition: CSCDCCExaminer.h:125
CSCDCCExaminer::DMB_size
std::map< DDUIdType, std::map< CSCIdType, uint32_t > > DMB_size(void) const
Definition: CSCDCCExaminer.h:323
CSCDCCExaminer::errName
const char * errName(int num) const
Definition: CSCDCCExaminer.h:172
CSCDCCExaminer::ALCT_WordsSinceLastHeader
uint32_t ALCT_WordsSinceLastHeader
Definition: CSCDCCExaminer.h:117
CSCDCCExaminer::dmbOffsets
std::map< DDUIdType, std::map< CSCIdType, uint32_t > > dmbOffsets
Definition: CSCDCCExaminer.h:153
CSCDCCExaminer::wrnName
const char * wrnName(int num) const
Definition: CSCDCCExaminer.h:178
CSCDCCExaminer::dmbBuffers
std::map< DDUIdType, std::map< CSCIdType, const uint16_t * > > dmbBuffers
Definition: CSCDCCExaminer.h:151
CSCDCCExaminer::cntDDU_Trailers
uint32_t cntDDU_Trailers
Definition: CSCDCCExaminer.h:98
CSCDCCExaminer::sWARNING
std::vector< const char * > sWARNING
Definition: CSCDCCExaminer.h:20
CSCDCCExaminer::sERROR
std::vector< const char * > sERROR
Definition: CSCDCCExaminer.h:20
CSCDCCExaminer::payloadForChamber
ExaminerStatusType payloadForChamber(CSCIdType chamber) const
Definition: CSCDCCExaminer.h:237
CSCDCCExaminer::bERROR
ExaminerStatusType bERROR
Definition: CSCDCCExaminer.h:21