test
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 
11 #include <vector>
12 #include <iosfwd>
13 #include <stdint.h>
14 
16 
17 public:
18 
20  CSCDDUStatusDigi (const uint16_t * header, const uint16_t * trailer, uint16_t tts);
21 
24 
26  const uint16_t * header() const { return header_;}
27  const uint16_t * trailer() const {return trailer_;}
28  const uint16_t getDDUTTS() const;
29 
31  void print() const;
32 
33 private:
34 
35  uint16_t header_[12];
36  uint16_t trailer_[12];
37  uint16_t tts_;
38 };
39 
40 std::ostream & operator<<(std::ostream & o, const CSCDDUStatusDigi& digi);
41 
42 #endif
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:188
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