CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/CalibFormats/SiPixelObjects/interface/PixelMaskCommon.h

Go to the documentation of this file.
00001 #ifndef PixelMaskCommon_h
00002 #define PixelMaskCommon_h
00003 
00013 #include "CalibFormats/SiPixelObjects/interface/PixelMaskBase.h"
00014 #include "CalibFormats/SiPixelObjects/interface/PixelROCName.h"
00015 
00016 namespace pos{
00022   class PixelMaskAllPixels: public PixelMaskBase {
00023 
00024   public:
00025 
00026     PixelMaskCommon(std::string filename);
00027 
00028     void writeBinary(std::string filename) const;
00029 
00030     void writeASCII(std::string filename) const;
00031     void         writeXML(      pos::PixelConfigKey key, int version, std::string path)                     const {;}
00032     virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const {;}
00033     virtual void writeXML(                                                              std::ofstream *out) const {;}
00034     virtual void writeXMLTrailer(                                                       std::ofstream *out) const {;}
00035 
00036   private:
00037 
00038     std::vector<PixeROCName> rocname_;  
00039     std::vector<bool> maskbits_;  
00040  
00041   };
00042 }
00043 #endif