00001 #ifndef PixelTTCciConfig_h 00002 #define PixelTTCciConfig_h 00003 // 00004 // This class reads the TTC configuration file 00005 // 00006 // 00007 // 00008 00009 #include <string> 00010 #include <vector> 00011 #include <map> 00012 #include <set> 00013 #include <fstream> 00014 #include <iostream> 00015 #include <sstream> 00016 #include "CalibFormats/SiPixelObjects/interface/PixelConfigBase.h" 00017 00018 namespace pos{ 00019 class PixelTTCciConfig: public PixelConfigBase{ 00020 00021 public: 00022 00023 PixelTTCciConfig(std::string filename); 00024 PixelTTCciConfig(std::vector<std::vector<std::string> > &) ; 00025 //std::string getTTCConfigPath() {return ttcConfigPath_;} 00026 std::stringstream& getTTCConfigStream() {return ttcConfigStream_;} 00027 00028 virtual void writeASCII(std::string dir) const; 00029 virtual void writeXML( pos::PixelConfigKey key, int version, std::string path) const {;} 00030 virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const {;} 00031 virtual void writeXML( std::ofstream *out) const {;} 00032 virtual void writeXMLTrailer( std::ofstream *out) const {;} 00033 00034 private: 00035 00036 //std::string ttcConfigPath_; 00037 std::stringstream ttcConfigStream_; 00038 00039 }; 00040 } 00041 #endif