CMS 3D CMS Logo

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
const uint16_t * trailer() const
uint16_t trailer_[12]
const uint16_t * header() const
Data Accessors.
void print() const
Print the content of CSCDDUStatusDigi.
CSCDDUStatusDigi()
Default constructor.
std::ostream & operator<<(std::ostream &o, const CSCDDUStatusDigi &digi)
uint16_t header_[12]
const uint16_t getDDUTTS() const