CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CSCDDUStatusDigi.h
Go to the documentation of this file.
1 #ifndef CSCDDUStatusDigi_CSCDDUStatusDigi_h
2 #define CSCDDUStatusDigi_CSCDDUStatusDigi_h
3 
11 #include <vector>
12 #include <iosfwd>
13 #include <cstdint>
14 
16 public:
18  CSCDDUStatusDigi(const uint16_t* header, const uint16_t* trailer, uint16_t tts);
19 
22 
24  const uint16_t* header() const { return header_; }
25  const uint16_t* trailer() const { return trailer_; }
26  const uint16_t getDDUTTS() const;
27 
29  void print() const;
30 
31 private:
32  uint16_t header_[12];
33  uint16_t trailer_[12];
34  uint16_t tts_;
35 };
36 
37 std::ostream& operator<<(std::ostream& o, const CSCDDUStatusDigi& digi);
38 
39 #endif
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:167
uint16_t trailer_[12]
void print() const
Print the content of CSCDDUStatusDigi.
CSCDDUStatusDigi()
Default constructor.
uint16_t header_[12]
const uint16_t * header() const
Data Accessors.
const uint16_t getDDUTTS() const
const uint16_t * trailer() const