CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/EventFilter/CSCRawToDigi/interface/CSCTMBBlockedCFEB.h

Go to the documentation of this file.
00001 //_______________________________________
00002 //
00003 //  Class for TMB Logic Analyzer Data  
00004 //  CSCTMBBlockedCFEB   July 2010 Alexander Sakharov (Wayne State University) 
00005 //_______________________________________
00006 //
00007 
00008 #ifndef CSCTMBBlockedCFEB_h
00009 #define CSCTMBBlockedCFEB_h
00010 #include <vector>
00011 
00012 class CSCTMBBlockedCFEB {
00013 
00014 public:
00015 
00016   CSCTMBBlockedCFEB() {size_ = 0;}  //default constructor
00017   CSCTMBBlockedCFEB(unsigned short *buf,int Line6BCB,int Line6ECB);
00018   int getSize() const {return size_;}
00019   std::vector<int> getData() const {return BlockedCFEBdata;}
00020   std::vector< std::vector<int> > getSingleCFEBList(int CFEBn) const;
00021 
00022   void print() const;
00023   
00024 private:
00025 
00026   int UnpackBlockedCFEB(unsigned short *buf,int Line6BCB,int Line6ECB);
00027 
00028   std::vector<int> BlockedCFEBdata;     
00029   unsigned size_;
00030 
00031 };
00032 
00033 #endif