Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:09

0001 #ifndef CSCDMBStatusDigi_CSCDMBStatusDigi_h
0002 #define CSCDMBStatusDigi_CSCDMBStatusDigi_h
0003 
0004 /** \class CSCDMBStatusDigi
0005  *
0006  *  Digi for CSC DMB info available in DDU
0007  *  
0008  *
0009  */
0010 
0011 #include <vector>
0012 #include <iosfwd>
0013 #include <cstdint>
0014 
0015 class CSCDMBStatusDigi {
0016 public:
0017   /// Constructor for all variables
0018   CSCDMBStatusDigi(const uint16_t* header, const uint16_t* trailer);
0019 
0020   /// Default constructor.
0021   CSCDMBStatusDigi() {}
0022 
0023   /// Data Accessors
0024   const uint16_t* header() const { return header_; }
0025   const uint16_t* trailer() const { return trailer_; }
0026 
0027 private:
0028   uint16_t header_[8];
0029   uint16_t trailer_[8];
0030 };
0031 
0032 std::ostream& operator<<(std::ostream& o, const CSCDMBStatusDigi& digi);
0033 
0034 #endif