CMS 3D CMS Logo

CSCDCCStatusDigi.h

Go to the documentation of this file.
00001 #ifndef CSCDCCStatusDigi_CSCDCCStatusDigi_h
00002 #define CSCDCCStatusDigi_CSCDCCStatusDigi_h
00003 
00013 #include <vector>
00014 
00015 class CSCDCCStatusDigi{
00016 
00017 public:
00018 
00020   CSCDCCStatusDigi (const uint16_t * header, const uint16_t * trailer, 
00021                     const uint32_t & error);
00022   CSCDCCStatusDigi (const uint32_t & error) {errorFlag_=error;}
00023   
00025   CSCDCCStatusDigi () {}
00026 
00028   const uint16_t * header() const {return header_;} 
00029   const uint16_t * trailer() const {return trailer_;}
00030   const uint32_t errorFlag() const {return errorFlag_;}
00031 
00032 private:
00033 
00034   uint16_t header_[8];
00035   uint16_t trailer_[8];
00036   uint32_t errorFlag_;
00037 };
00038 
00039 #include<iostream>
00041 inline std::ostream & operator<<(std::ostream & o, const CSCDCCStatusDigi& digi) {
00042   o << " "; 
00043   o <<"\n";
00044  
00045   return o;
00046 }
00047 
00048 #endif

Generated on Tue Jun 9 17:30:40 2009 for CMSSW by  doxygen 1.5.4