CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual void writeASCII(std::string dir) const;
41  virtual void writeXMLHeader( pos::PixelConfigKey key,
42  int version,
44  std::ofstream *out,
45  std::ofstream *out1 = NULL,
46  std::ofstream *out2 = NULL
47  ) const ;
48  virtual void writeXML( std::ofstream *out,
49  std::ofstream *out1 = NULL ,
50  std::ofstream *out2 = NULL ) const ;
51  virtual void writeXMLTrailer( std::ofstream *out,
52  std::ofstream *out1 = NULL,
53  std::ofstream *out2 = NULL
54  ) const ;
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 &quot;pixel configuration data&quot; management.
std::stringstream ltcConfigStream_
PixelLTCConfig(std::vector< std::vector< std::string > > &tableMat)
virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
#define NULL
Definition: scimark2.h:8
std::stringstream & getLTCConfigStream()
virtual void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
void writeXML(pos::PixelConfigKey key, int version, std::string path) const
This file contains the base class for &quot;pixel configuration data&quot; management.
This is the documentation about PixelLTCConfig...
virtual void writeASCII(std::string dir) const
This class implements..
tuple out
Definition: dbtoconf.py:99
list key
Definition: combine.py:13
tuple filename
Definition: lut2db_cfg.py:20
dbl *** dir
Definition: mlp_gen.cc:35