Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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