CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 (int firmwareVersion, int firmwareRevision)
 
 CSCTMBHeader (const CSCTMBStatusDigi &digi)
 
 CSCTMBHeader (const unsigned short *buf)
 
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
 
CSCTMBHeader2006 tmbHeader2006 () const
 
CSCTMBHeader2007 tmbHeader2007 () const
 will throw if the cast fails More...
 
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
 
boost::shared_ptr
< CSCVTMBHeaderFormat
theHeaderFormat
 

Static Private Attributes

static bool debug = false
 

Friends

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

Detailed Description

Definition at line 21 of file CSCTMBHeader.h.

Constructor & Destructor Documentation

CSCTMBHeader::CSCTMBHeader ( int  firmwareVersion,
int  firmwareRevision 
)

!!! Put actual firmware revision code

Definition at line 16 of file CSCTMBHeader.cc.

References theHeaderFormat.

16  :
18  theFirmwareVersion(firmwareVersion)
19 {
20  if(firmwareVersion == 2013)
21  {
22  theHeaderFormat = boost::shared_ptr<CSCVTMBHeaderFormat>(new CSCTMBHeader2013());
23  }
24  else if(firmwareVersion == 2006)
25  {
26  theHeaderFormat = boost::shared_ptr<CSCVTMBHeaderFormat>(new CSCTMBHeader2006());
27  }
28  else if(firmwareVersion == 2007)
29  {
30  if(firmwareRevision >= 0x50c3)
31  {
32  if (firmwareRevision >= 0x7a76)
33  {
34  theHeaderFormat = boost::shared_ptr<CSCVTMBHeaderFormat>(new CSCTMBHeader2013());
35  }
36  else
37  {
38  theHeaderFormat = boost::shared_ptr<CSCVTMBHeaderFormat>(new CSCTMBHeader2007_rev0x50c3());
39  }
40  }
41  else
42  {
43  theHeaderFormat = boost::shared_ptr<CSCVTMBHeaderFormat>(new CSCTMBHeader2007());
44  }
45  }
46  else
47  {
48  edm::LogError("CSCTMBHeader|CSCRawToDigi") <<"failed to determine TMB firmware version!!";
49  }
50 }
int theFirmwareVersion
Definition: CSCTMBHeader.h:149
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
CSCTMBHeader::CSCTMBHeader ( const CSCTMBStatusDigi digi)
CSCTMBHeader::CSCTMBHeader ( const unsigned short *  buf)

first determine the format

!!! Put actual firmware revision code

Definition at line 56 of file CSCTMBHeader.cc.

References theFirmwareVersion, and theHeaderFormat.

57  : theHeaderFormat()
58 {
60  if (buf[0]==0xDB0C)
61  {
62  theFirmwareVersion=2007;
63  theHeaderFormat = boost::shared_ptr<CSCVTMBHeaderFormat>(new CSCTMBHeader2007(buf));
64  if(theHeaderFormat->firmwareRevision() >= 0x50c3)
65  {
66  if (theHeaderFormat->firmwareRevision() >= 0x7a76)
67  {
68  theFirmwareVersion=2013;
69  theHeaderFormat = boost::shared_ptr<CSCVTMBHeaderFormat>(new CSCTMBHeader2013(buf));
70  }
71  else
72  {
73  theHeaderFormat = boost::shared_ptr<CSCVTMBHeaderFormat>(new CSCTMBHeader2007_rev0x50c3(buf));
74  }
75  }
76 
77  }
78  else if (buf[0]==0x6B0C)
79  {
80  theFirmwareVersion=2006;
81  theHeaderFormat = boost::shared_ptr<CSCVTMBHeaderFormat>(new CSCTMBHeader2006(buf));
82  }
83  else
84  {
85  edm::LogError("CSCTMBHeader|CSCRawToDigi") <<"failed to determine TMB firmware version!!";
86  }
87 }
int theFirmwareVersion
Definition: CSCTMBHeader.h:149
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148

Member Function Documentation

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

these methods need more brains to figure which one goes first

Definition at line 123 of file CSCTMBHeader.cc.

References addCLCT0(), and addCLCT1().

Referenced by CSCEventData::add().

124 {
125  // sort???
126  if(digis.size() > 0) {
127  addCLCT0(digis[0]);
128 
129  }
130  if(digis.size() > 1) addCLCT1(digis[1]);
131 }
void addCLCT1(const CSCCLCTDigi &digi)
Definition: CSCTMBHeader.h:122
void addCLCT0(const CSCCLCTDigi &digi)
Needed before data packing.
Definition: CSCTMBHeader.h:121
void CSCTMBHeader::add ( const std::vector< CSCCorrelatedLCTDigi > &  digis)

Definition at line 133 of file CSCTMBHeader.cc.

References addCorrelatedLCT0(), and addCorrelatedLCT1().

134 {
135  // sort???
136  if(digis.size() > 0) addCorrelatedLCT0(digis[0]);
137  if(digis.size() > 1) addCorrelatedLCT1(digis[1]);
138 }
void addCorrelatedLCT0(const CSCCorrelatedLCTDigi &digi)
Definition: CSCTMBHeader.h:125
void addCorrelatedLCT1(const CSCCorrelatedLCTDigi &digi)
Definition: CSCTMBHeader.h:128
void CSCTMBHeader::addALCT0 ( const CSCALCTDigi digi)
inline

Definition at line 123 of file CSCTMBHeader.h.

References theHeaderFormat.

123 {theHeaderFormat->addALCT0(digi);}
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
void CSCTMBHeader::addALCT1 ( const CSCALCTDigi digi)
inline

Definition at line 124 of file CSCTMBHeader.h.

References theHeaderFormat.

124 {theHeaderFormat->addALCT1(digi);}
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
void CSCTMBHeader::addCLCT0 ( const CSCCLCTDigi digi)
inline

Needed before data packing.

for data packing

Definition at line 121 of file CSCTMBHeader.h.

References theHeaderFormat.

Referenced by add(), and selfTest().

121 {theHeaderFormat->addCLCT0(digi);}
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
void CSCTMBHeader::addCLCT1 ( const CSCCLCTDigi digi)
inline

Definition at line 122 of file CSCTMBHeader.h.

References theHeaderFormat.

Referenced by add(), and selfTest().

122 {theHeaderFormat->addCLCT1(digi);}
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
void CSCTMBHeader::addCorrelatedLCT0 ( const CSCCorrelatedLCTDigi digi)
inline

Definition at line 125 of file CSCTMBHeader.h.

References theHeaderFormat.

Referenced by add(), and selfTest().

125  {
126  theHeaderFormat->addCorrelatedLCT0(digi);
127  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
void CSCTMBHeader::addCorrelatedLCT1 ( const CSCCorrelatedLCTDigi digi)
inline

Definition at line 128 of file CSCTMBHeader.h.

References theHeaderFormat.

Referenced by add(), and selfTest().

128  {
129  theHeaderFormat->addCorrelatedLCT1(digi);
130  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
uint16_t CSCTMBHeader::ALCTMatchTime ( ) const
inline

Definition at line 41 of file CSCTMBHeader.h.

References theHeaderFormat.

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

41  {
42  return theHeaderFormat->ALCTMatchTime();
43  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
uint16_t CSCTMBHeader::ALCTOnly ( ) const
inline

Definition at line 47 of file CSCTMBHeader.h.

References theHeaderFormat.

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

47  {
48  return theHeaderFormat->ALCTOnly();
49  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
uint16_t CSCTMBHeader::Bxn0Diff ( ) const
inline

Definition at line 54 of file CSCTMBHeader.h.

References theHeaderFormat.

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

54  {
55  return theHeaderFormat->Bxn0Diff();
56  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
uint16_t CSCTMBHeader::Bxn1Diff ( ) const
inline

Definition at line 57 of file CSCTMBHeader.h.

References theHeaderFormat.

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

57  {
58  return theHeaderFormat->Bxn1Diff();
59  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
uint16_t CSCTMBHeader::BXNCount ( ) const
inline

Definition at line 38 of file CSCTMBHeader.h.

References theHeaderFormat.

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

38  {
39  return theHeaderFormat->BXNCount();
40  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
bool CSCTMBHeader::check ( ) const
inline

Definition at line 113 of file CSCTMBHeader.h.

References theHeaderFormat.

Referenced by CSCTMBData::UnpackTMB().

113  {
114  return theHeaderFormat->check();
115  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
std::vector<CSCCLCTDigi> CSCTMBHeader::CLCTDigis ( uint32_t  idlayer)
inline

returns CLCT digis

Definition at line 87 of file CSCTMBHeader.h.

References theHeaderFormat.

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

88  {
89  return theHeaderFormat->CLCTDigis(idlayer);
90  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
uint16_t CSCTMBHeader::CLCTOnly ( ) const
inline

Definition at line 44 of file CSCTMBHeader.h.

References theHeaderFormat.

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

44  {
45  return theHeaderFormat->CLCTOnly();
46  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
std::vector<CSCCorrelatedLCTDigi> CSCTMBHeader::CorrelatedLCTDigis ( uint32_t  idlayer) const
inline

returns CorrelatedLCT digis

Definition at line 93 of file CSCTMBHeader.h.

References theHeaderFormat.

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

94  {
95  return theHeaderFormat->CorrelatedLCTDigis(idlayer);
96  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
unsigned short* CSCTMBHeader::data ( )
inline

Definition at line 106 of file CSCTMBHeader.h.

References theHeaderFormat.

Referenced by cuy.FindIssue::__init__(), CSCTMBData::pack(), and selfTest().

106  {
107  return theHeaderFormat->data();
108  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
int CSCTMBHeader::FirmwareRevision ( ) const
inline

Definition at line 35 of file CSCTMBHeader.h.

References theHeaderFormat.

35 {return theHeaderFormat->firmwareRevision();}
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
int CSCTMBHeader::FirmwareVersion ( ) const
inline

Definition at line 34 of file CSCTMBHeader.h.

References theFirmwareVersion.

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

34 {return theFirmwareVersion;}
int theFirmwareVersion
Definition: CSCTMBHeader.h:149
uint16_t CSCTMBHeader::L1ANumber ( ) const
inline

Definition at line 61 of file CSCTMBHeader.h.

References theHeaderFormat.

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

61  {
62  return theHeaderFormat->L1ANumber();
63  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
uint16_t CSCTMBHeader::NCFEBs ( ) const
inline

Definition at line 77 of file CSCTMBHeader.h.

References theHeaderFormat.

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

77  {
78  return theHeaderFormat->NCFEBs();
79  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
unsigned short int CSCTMBHeader::NHeaderFrames ( ) const
inline

Definition at line 102 of file CSCTMBHeader.h.

References theHeaderFormat.

102  {
103  return theHeaderFormat->NHeaderFrames();
104  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
uint16_t CSCTMBHeader::NTBins ( ) const
inline

Definition at line 74 of file CSCTMBHeader.h.

References theHeaderFormat.

Referenced by CSCTMBData::UnpackTMB().

74  {
75  return theHeaderFormat->NTBins();
76  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
void CSCTMBHeader::selfTest ( )
static

tests that packing and unpacking give same results

Definition at line 173 of file CSCTMBHeader.cc.

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

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

turns on/off debug flag for this class

Definition at line 111 of file CSCTMBHeader.h.

References debug, and relativeConstraints::value.

Referenced by CSCDCCUnpacker::CSCDCCUnpacker().

111 {debug = value;}
static bool debug
Definition: CSCTMBHeader.h:146
void CSCTMBHeader::setEventInformation ( const CSCDMBHeader dmbHeader)
inline

fills fields like bxn and l1a

Definition at line 29 of file CSCTMBHeader.h.

References theHeaderFormat.

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

30  {
31  theHeaderFormat->setEventInformation(dmbHeader);
32  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
void CSCTMBHeader::setNCFEBs ( uint16_t  ncfebs)
inline

Definition at line 81 of file CSCTMBHeader.h.

References theHeaderFormat.

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

81  {
82  theHeaderFormat->setNCFEBs(ncfebs);
83  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
uint16_t CSCTMBHeader::sizeInBytes ( ) const
inline

Definition at line 65 of file CSCTMBHeader.h.

References theHeaderFormat.

65  {
66  return theHeaderFormat->sizeInWords()*2;
67  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
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 100 of file CSCTMBHeader.h.

References theHeaderFormat.

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

100 {return theHeaderFormat->sizeInWords();}
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
CSCTMBHeader2006 CSCTMBHeader::tmbHeader2006 ( ) const

Definition at line 162 of file CSCTMBHeader.cc.

References edm::hlt::Exception, query::result, and theHeaderFormat.

163 {
164  CSCTMBHeader2006 * result = dynamic_cast<CSCTMBHeader2006 *>(theHeaderFormat.get());
165  if(result == 0)
166  {
167  throw cms::Exception("Could not get 2006 TMB header format");
168  }
169  return *result;
170 }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
tuple result
Definition: query.py:137
CSCTMBHeader2007 CSCTMBHeader::tmbHeader2007 ( ) const

will throw if the cast fails

Definition at line 141 of file CSCTMBHeader.cc.

References edm::hlt::Exception, query::result, and theHeaderFormat.

142 {
143  CSCTMBHeader2007 * result = dynamic_cast<CSCTMBHeader2007 *>(theHeaderFormat.get());
144  if(result == 0)
145  {
146  throw cms::Exception("Could not get 2007 TMB header format");
147  }
148  return *result;
149 }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
tuple result
Definition: query.py:137
CSCTMBHeader2013 CSCTMBHeader::tmbHeader2013 ( ) const

Definition at line 151 of file CSCTMBHeader.cc.

References edm::hlt::Exception, query::result, and theHeaderFormat.

152 {
153  CSCTMBHeader2013 * result = dynamic_cast<CSCTMBHeader2013 *>(theHeaderFormat.get());
154  if(result == 0)
155  {
156  throw cms::Exception("Could not get 2013 TMB header format");
157  }
158  return *result;
159 }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148
tuple result
Definition: query.py:137
uint16_t CSCTMBHeader::TMBMatch ( ) const
inline

Definition at line 50 of file CSCTMBHeader.h.

References theHeaderFormat.

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

50  {
51  return theHeaderFormat->TMBMatch();
52  }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148

Friends And Related Function Documentation

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

Definition at line 237 of file CSCTMBHeader.cc.

238 {
239  hdr.theHeaderFormat->print(os);
240  return os;
241 }
boost::shared_ptr< CSCVTMBHeaderFormat > theHeaderFormat
Definition: CSCTMBHeader.h:148

Member Data Documentation

bool CSCTMBHeader::debug = false
staticprivate
int CSCTMBHeader::theFirmwareVersion
private

Definition at line 149 of file CSCTMBHeader.h.

Referenced by CSCTMBHeader(), and FirmwareVersion().

boost::shared_ptr<CSCVTMBHeaderFormat> CSCTMBHeader::theHeaderFormat
private