CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCDDUStatusDigi.h
Go to the documentation of this file.
1 #ifndef CSCDDUStatusDigi_CSCDDUStatusDigi_h
2 #define CSCDDUStatusDigi_CSCDDUStatusDigi_h
3 
13 #include <vector>
14 #include <iosfwd>
15 #include <stdint.h>
16 
18 
19 public:
20 
22  CSCDDUStatusDigi (const uint16_t * header, const uint16_t * trailer, uint16_t tts);
23 
26 
28  const uint16_t * header() const { return header_;}
29  const uint16_t * trailer() const {return trailer_;}
30  const uint16_t getDDUTTS() const;
31 
33  void print() const;
34 
35 private:
36 
37  uint16_t header_[12];
38  uint16_t trailer_[12];
39  uint16_t tts_;
40 };
41 
42 std::ostream & operator<<(std::ostream & o, const CSCDDUStatusDigi& digi);
43 
44 #endif
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
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