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
operator<<
std::ostream & operator<<(std::ostream &o, const CSCDDUStatusDigi &digi)
Definition: CSCDDUStatusDigi.cc:31
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
CSCDDUStatusDigi::tts_
uint16_t tts_
Definition: CSCDDUStatusDigi.h:34
CSCDDUStatusDigi::getDDUTTS
const uint16_t getDDUTTS() const
Definition: CSCDDUStatusDigi.cc:21
CSCDDUStatusDigi::trailer
const uint16_t * trailer() const
Definition: CSCDDUStatusDigi.h:25
CSCDDUStatusDigi
Definition: CSCDDUStatusDigi.h:15
CSCDDUStatusDigi::print
void print() const
Print the content of CSCDDUStatusDigi.
Definition: CSCDDUStatusDigi.cc:26
CSCDDUStatusDigi::header
const uint16_t * header() const
Data Accessors.
Definition: CSCDDUStatusDigi.h:24
CSCDDUStatusDigi::CSCDDUStatusDigi
CSCDDUStatusDigi()
Default constructor.
Definition: CSCDDUStatusDigi.h:21
CSCDDUStatusDigi::trailer_
uint16_t trailer_[12]
Definition: CSCDDUStatusDigi.h:33
CSCDDUStatusDigi::header_
uint16_t header_[12]
Definition: CSCDDUStatusDigi.h:32