Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:59

0001 #ifndef CSCTMBStatusDigi_CSCTMBStatusDigi_h
0002 #define CSCTMBStatusDigi_CSCTMBStatusDigi_h
0003 
0004 /** \class CSCTMBStatusDigi
0005  *
0006  *  Digi for CSC TMB info available in DDU
0007  *  
0008  *
0009  */
0010 
0011 #include <vector>
0012 #include <iosfwd>
0013 #include <cstdint>
0014 
0015 class CSCTMBStatusDigi {
0016 public:
0017   /// Constructor for all variables
0018   CSCTMBStatusDigi(const uint16_t* header, const uint16_t* trailer);
0019 
0020   /// Default constructor.
0021   CSCTMBStatusDigi() {}
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_[43];
0029   uint16_t trailer_[8];
0030 };
0031 
0032 std::ostream& operator<<(std::ostream& o, const CSCTMBStatusDigi& digi);
0033 
0034 #endif