CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCDCCStatusDigi.h
Go to the documentation of this file.
1 #ifndef CSCDCCStatusDigi_CSCDCCStatusDigi_h
2 #define CSCDCCStatusDigi_CSCDCCStatusDigi_h
3 
13 #include <vector>
14 #include <iosfwd>
15 #include <stdint.h>
16 
18 
19 public:
20 
22  CSCDCCStatusDigi (const uint16_t * header, const uint16_t * trailer,
23  const uint32_t & error, short unsigned tts);
24  CSCDCCStatusDigi (const uint32_t & error, short unsigned tts) {errorFlag_=error;} //tts_ = tts;}
25 
28 
30  const uint16_t * header() const {return header_;}
31  const uint16_t * trailer() const {return trailer_;}
32  const uint32_t errorFlag() const {return errorFlag_;}
33  const uint16_t getDCCTTS() const;
34 
36  void print() const;
37 
38 private:
39 
40  uint16_t header_[8];
41  uint16_t trailer_[8];
42  uint32_t errorFlag_;
43  short unsigned tts_;
44 };
45 
46 std::ostream & operator<<(std::ostream & o, const CSCDCCStatusDigi& digi);
47 
48 #endif
const uint16_t * header() const
data accessors
void print() const
Print the content of CSCDCCStatusDigi.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
const uint32_t errorFlag() const
CSCDCCStatusDigi()
Default constructor.
uint16_t trailer_[8]
const uint16_t getDCCTTS() const
short unsigned tts_
const uint16_t * trailer() const
uint16_t header_[8]
CSCDCCStatusDigi(const uint32_t &error, short unsigned tts)