CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PixelMaskBase.h
Go to the documentation of this file.
1 #ifndef PixelMaskBase_h
2 #define PixelMaskBase_h
3 
13 #include <vector>
16 #include <string>
17 #include <iostream>
18 
19 namespace pos {
36  class PixelMaskBase : public PixelConfigBase {
37  public:
39 
40  ~PixelMaskBase() override;
41 
43 
44  virtual const PixelROCMaskBits &getMaskBits(int ROCId) const = 0;
45 
47 
48  virtual void writeBinary(std::string filename) const = 0;
49 
50  void writeASCII(std::string filename) const override = 0;
51  void writeXML(pos::PixelConfigKey key, int version, std::string path) const override { ; }
53  int version,
55  std::ofstream *out,
56  std::ofstream *out1 = nullptr,
57  std::ofstream *out2 = nullptr) const override {
58  ;
59  }
60  void writeXML(std::ofstream *out, std::ofstream *out1 = nullptr, std::ofstream *out2 = nullptr) const override { ; }
61  void writeXMLTrailer(std::ofstream *out,
62  std::ofstream *out1 = nullptr,
63  std::ofstream *out2 = nullptr) const override {
64  ;
65  }
66 
67  friend std::ostream &operator<<(std::ostream &s, const PixelMaskBase &mask);
68 
69  private:
70  //Hold pointer to the mask override information.
72  };
73 } // namespace pos
74 /* @} */
75 #endif
This class implements..
This file contains the base class for &quot;pixel configuration data&quot; management.
std::string description()
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
Definition: PixelMaskBase.h:52
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
Definition: PixelMaskBase.h:51
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
Definition: PixelMaskBase.h:61
This file contains the base class for &quot;pixel configuration data&quot; management.
virtual const PixelROCMaskBits & getMaskBits(int ROCId) const =0
void writeASCII(std::string filename) const override=0
tuple key
prepare the HTCondor submission files and eventually submit them
void setOverride(PixelMaskOverrideBase *)
This class implements..
This is the documentation about PixelMaskBase...
Definition: PixelMaskBase.h:36
This class implements..
PixelMaskBase(std::string description, std::string creator, std::string date)
std::string date()
This is the documentation about PixelMaskOverrideBase...
PixelMaskOverrideBase * maskOverride_
Definition: PixelMaskBase.h:71
void writeXML(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
Definition: PixelMaskBase.h:60
std::string creator()
This class implements..
This class implements..
Definition: PixelROCName.h:23
tuple filename
Definition: lut2db_cfg.py:20
~PixelMaskBase() override
virtual void writeBinary(std::string filename) const =0
friend std::ostream & operator<<(std::ostream &s, const PixelMaskBase &mask)