Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:22

0001 //_______________________________________
0002 //
0003 //  Class for TMB Logic Analyzer Data
0004 //  CSCTMBBlockedCFEB   July 2010 Alexander Sakharov (Wayne State University)
0005 //_______________________________________
0006 //
0007 
0008 #ifndef EventFilter_CSCRawToDigi_CSCTMBBlockedCFEB_h
0009 #define EventFilter_CSCRawToDigi_CSCTMBBlockedCFEB_h
0010 #include <vector>
0011 #include <cstdint>
0012 
0013 class CSCTMBBlockedCFEB {
0014 public:
0015   CSCTMBBlockedCFEB() { size_ = 0; }  //default constructor
0016   CSCTMBBlockedCFEB(const uint16_t *buf, int Line6BCB, int Line6ECB);
0017   int getSize() const { return size_; }
0018   std::vector<int> getData() const { return BlockedCFEBdata; }
0019   std::vector<std::vector<int> > getSingleCFEBList(int CFEBn) const;
0020 
0021   void print() const;
0022 
0023 private:
0024   int UnpackBlockedCFEB(const uint16_t *buf, int Line6BCB, int Line6ECB);
0025 
0026   std::vector<int> BlockedCFEBdata;  /// stores all mini scope data
0027   unsigned size_;
0028 };
0029 
0030 #endif