CMS 3D CMS Logo

PixelTTCciConfig.h
Go to the documentation of this file.
1 #ifndef PixelTTCciConfig_h
2 #define PixelTTCciConfig_h
3 //
4 // This class reads the TTC configuration file
5 //
6 //
7 //
8 
9 #include <string>
10 #include <vector>
11 #include <map>
12 #include <set>
13 #include <fstream>
14 #include <iostream>
15 #include <sstream>
17 
18 namespace pos{
20 
21  public:
22 
24  PixelTTCciConfig(std::vector<std::vector<std::string> > &) ;
25  //std::string getTTCConfigPath() {return ttcConfigPath_;}
26  std::stringstream& getTTCConfigStream() {return ttcConfigStream_;}
27 
28  void writeASCII(std::string dir) const override;
29  void writeXML( pos::PixelConfigKey key, int version, std::string path) const override {;}
31  int version,
33  std::ofstream *out,
34  std::ofstream *out1 = nullptr,
35  std::ofstream *out2 = nullptr
36  ) const override ;
37  void writeXML( std::ofstream *out,
38  std::ofstream *out1 = nullptr ,
39  std::ofstream *out2 = nullptr ) const override ;
40  void writeXMLTrailer( std::ofstream *out,
41  std::ofstream *out1 = nullptr,
42  std::ofstream *out2 = nullptr
43  ) const override ;
44 
45  private:
46 
47  //std::string ttcConfigPath_;
48  std::stringstream ttcConfigStream_;
49 
50  };
51 }
52 #endif
This file contains the base class for "pixel configuration data" management.
std::stringstream ttcConfigStream_
std::stringstream & getTTCConfigStream()
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.
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
This class implements..
void writeASCII(std::string dir) const override
PixelTTCciConfig(std::string filename)
dbl *** dir
Definition: mlp_gen.cc:35
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override