CMS 3D CMS Logo

PixelCalibBase.h
Go to the documentation of this file.
1 #ifndef PixelCalibBase_h
2 #define PixelCalibBase_h
3 
10 #include <string>
11 #include <fstream>
12 
13 namespace pos {
24  public:
26  virtual ~PixelCalibBase();
27  virtual std::string mode() const { return mode_; }
29  int version,
31  std::ofstream *out,
32  std::ofstream *out1 = nullptr,
33  std::ofstream *out2 = nullptr) const {
34  ;
35  }
36  virtual void writeXML(std::ofstream *out, std::ofstream *out1 = nullptr, std::ofstream *out2 = nullptr) const { ; }
37  virtual void writeXMLTrailer(std::ofstream *out,
38  std::ofstream *out1 = nullptr,
39  std::ofstream *out2 = nullptr) const {
40  ;
41  }
42 
43  protected:
45  };
46 } // namespace pos
47 /* @} */
48 
49 #endif
virtual std::string mode() const
virtual void writeXML(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const
virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const
This class implements..
virtual void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const
This class implements the configuration key which actually just is an integer.