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  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
pos::PixelTTCciConfig::ttcConfigStream_
std::stringstream ttcConfigStream_
Definition: PixelTTCciConfig.h:41
pos
Definition: PixelAliasList.h:18
pos::PixelConfigBase
This file contains the base class for "pixel configuration data" management.
Definition: PixelConfigBase.h:32
pos::PixelTTCciConfig::getTTCConfigStream
std::stringstream & getTTCConfigStream()
Definition: PixelTTCciConfig.h:24
PixelConfigBase.h
This file contains the base class for "pixel configuration data" management.
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
pos::PixelTTCciConfig::writeXMLHeader
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
Definition: PixelTTCciConfig.cc:94
pos::PixelTTCciConfig
Definition: PixelTTCciConfig.h:19
pos::PixelConfigKey
This class implements..
Definition: PixelConfigKey.h:20
pos::PixelTTCciConfig::writeXMLTrailer
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
Definition: PixelTTCciConfig.cc:150
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
pos::PixelTTCciConfig::PixelTTCciConfig
PixelTTCciConfig(std::string filename)
Definition: PixelTTCciConfig.cc:58
pos::PixelTTCciConfig::writeXML
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
Definition: PixelTTCciConfig.h:27
PointingDoubleMultiSkim_cfg.out2
out2
Definition: PointingDoubleMultiSkim_cfg.py:85
PointingDoubleMultiSkim_cfg.out1
out1
Definition: PointingDoubleMultiSkim_cfg.py:57
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
crabWrapper.key
key
Definition: crabWrapper.py:19
BeamSplash_cfg.version
version
Definition: BeamSplash_cfg.py:45
pos::PixelTTCciConfig::writeASCII
void writeASCII(std::string dir) const override
Definition: PixelTTCciConfig.cc:77
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23