CMS 3D CMS Logo

PixelLTCConfig.h
Go to the documentation of this file.
1 #ifndef PixelLTCConfig_h
2 #define PixelLTCConfig_h
3 
10 #include <string>
11 #include <map>
12 #include <set>
13 #include <fstream>
14 #include <iostream>
15 #include <sstream>
16 #include <vector>
18 
19 namespace pos {
30  public:
31  PixelLTCConfig(std::vector<std::vector<std::string> > &tableMat);
33  //std::string getLTCConfigPath() {return ltcConfigPath_;}
34  std::stringstream &getLTCConfigStream() { return ltcConfigStream_; }
35 
36  void writeASCII(std::string dir) const override;
37  void writeXML(pos::PixelConfigKey key, int version, std::string path) const override { ; }
39  int version,
41  std::ofstream *out,
42  std::ofstream *out1 = nullptr,
43  std::ofstream *out2 = nullptr) const override;
44  void writeXML(std::ofstream *out, std::ofstream *out1 = nullptr, std::ofstream *out2 = nullptr) const override;
45  void writeXMLTrailer(std::ofstream *out,
46  std::ofstream *out1 = nullptr,
47  std::ofstream *out2 = nullptr) const override;
48 
49  private:
50  //std::string ltcConfigPath_;
51  std::stringstream ltcConfigStream_;
52  };
53 } // namespace pos
54 /* @} */
55 #endif
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
This file contains the base class for "pixel configuration data" management.
std::stringstream ltcConfigStream_
PixelLTCConfig(std::vector< std::vector< std::string > > &tableMat)
std::stringstream & getLTCConfigStream()
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
This file contains the base class for "pixel configuration data" management.
This is the documentation about PixelLTCConfig...
void writeASCII(std::string dir) const override
This class implements..
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override