CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  public:
22  PixelTTCciConfig(std::vector<std::vector<std::string> > &);
23  //std::string getTTCConfigPath() {return ttcConfigPath_;}
24  std::stringstream &getTTCConfigStream() { return ttcConfigStream_; }
25 
26  void writeASCII(std::string dir) const override;
27  void writeXML(pos::PixelConfigKey key, int version, std::string path) const override { ; }
29  int version,
31  std::ofstream *out,
32  std::ofstream *out1 = nullptr,
33  std::ofstream *out2 = nullptr) const override;
34  void writeXML(std::ofstream *out, std::ofstream *out1 = nullptr, std::ofstream *out2 = nullptr) const override;
35  void writeXMLTrailer(std::ofstream *out,
36  std::ofstream *out1 = nullptr,
37  std::ofstream *out2 = nullptr) const override;
38 
39  private:
40  //std::string ttcConfigPath_;
41  std::stringstream ttcConfigStream_;
42  };
43 } // namespace pos
44 #endif
void writeASCII(std::string dir) const override
This file contains the base class for &quot;pixel configuration data&quot; management.
std::stringstream ttcConfigStream_
std::stringstream & getTTCConfigStream()
This file contains the base class for &quot;pixel configuration data&quot; management.
tuple key
prepare the HTCondor submission files and eventually submit them
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
This class implements..
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
PixelTTCciConfig(std::string filename)
tuple filename
Definition: lut2db_cfg.py:20
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override