CMS 3D CMS Logo

PixelMaskCommon.h
Go to the documentation of this file.
1 #ifndef PixelMaskCommon_h
2 #define PixelMaskCommon_h
3 
15 
16 namespace pos{
22  class PixelMaskAllPixels: public PixelMaskBase {
23 
24  public:
25 
27 
28  void writeBinary(std::string filename) const;
29 
30  void writeASCII(std::string filename) const;
32  virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const {;}
33  virtual void writeXML( std::ofstream *out) const {;}
34  virtual void writeXMLTrailer( std::ofstream *out) const {;}
35 
36  private:
37 
38  std::vector<PixeROCName> rocname_;
39  std::vector<bool> maskbits_;
40 
41  };
42 }
43 #endif
PixelMaskCommon(std::string filename)
virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const
void writeXML(pos::PixelConfigKey key, int version, std::string path) const
std::vector< bool > maskbits_
void writeBinary(std::string filename) const
This class implements..
virtual void writeXML(std::ofstream *out) const
void writeASCII(std::string dir) const
std::vector< PixeROCName > rocname_
virtual void writeXMLTrailer(std::ofstream *out) const
This class stores the name and related hardware mappings for a ROC.