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  virtual void writeASCII(std::string dir) const;
29  virtual void writeXML( pos::PixelConfigKey key, int version, std::string path) const {;}
30  virtual void writeXMLHeader( pos::PixelConfigKey key,
31  int version,
33  std::ofstream *out,
34  std::ofstream *out1 = NULL,
35  std::ofstream *out2 = NULL
36  ) const ;
37  virtual void writeXML( std::ofstream *out,
38  std::ofstream *out1 = NULL ,
39  std::ofstream *out2 = NULL ) const ;
40  virtual void writeXMLTrailer( std::ofstream *out,
41  std::ofstream *out1 = NULL,
42  std::ofstream *out2 = NULL
43  ) const ;
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.
virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
std::stringstream ttcConfigStream_
virtual void writeASCII(std::string dir) const
std::stringstream & getTTCConfigStream()
#define NULL
Definition: scimark2.h:8
This file contains the base class for "pixel configuration data" management.
This class implements..
virtual void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
PixelTTCciConfig(std::string filename)
virtual void writeXML(pos::PixelConfigKey key, int version, std::string path) const
dbl *** dir
Definition: mlp_gen.cc:35