Go to the documentation of this file.00001 #ifndef PixelTTCciConfig_h
00002 #define PixelTTCciConfig_h
00003
00004
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
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,
00031 int version,
00032 std::string path,
00033 std::ofstream *out,
00034 std::ofstream *out1 = NULL,
00035 std::ofstream *out2 = NULL
00036 ) const ;
00037 virtual void writeXML( std::ofstream *out,
00038 std::ofstream *out1 = NULL ,
00039 std::ofstream *out2 = NULL ) const ;
00040 virtual void writeXMLTrailer( std::ofstream *out,
00041 std::ofstream *out1 = NULL,
00042 std::ofstream *out2 = NULL
00043 ) const ;
00044
00045 private:
00046
00047
00048 std::stringstream ttcConfigStream_;
00049
00050 };
00051 }
00052 #endif