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 
20 namespace pos{
31 
32  public:
33 
34  PixelLTCConfig(std::vector< std::vector<std::string> > &tableMat) ;
36  //std::string getLTCConfigPath() {return ltcConfigPath_;}
37  std::stringstream& getLTCConfigStream() {return ltcConfigStream_;}
38 
39  void writeASCII(std::string dir) const override;
40  void writeXML( pos::PixelConfigKey key, int version, std::string path) const override {;}
42  int version,
44  std::ofstream *out,
45  std::ofstream *out1 = nullptr,
46  std::ofstream *out2 = nullptr
47  ) const override ;
48  void writeXML( std::ofstream *out,
49  std::ofstream *out1 = nullptr ,
50  std::ofstream *out2 = nullptr ) const override ;
51  void writeXMLTrailer( std::ofstream *out,
52  std::ofstream *out1 = nullptr,
53  std::ofstream *out2 = nullptr
54  ) const override ;
55 
56  private:
57 
58  //std::string ltcConfigPath_;
59  std::stringstream ltcConfigStream_;
60 
61  };
62 }
63 /* @} */
64 #endif
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()
This file contains the base class for "pixel configuration data" management.
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
This is the documentation about PixelLTCConfig...
This class implements..
void writeASCII(std::string dir) const override
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
dbl *** dir
Definition: mlp_gen.cc:35
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override