00001 #ifndef PixelGlobalDelay25_h 00002 #define PixelGlobalDelay25_h 00003 00010 #include <iostream> 00011 #include <vector> 00012 #include <string> 00013 #include "CalibFormats/SiPixelObjects/interface/PixelConfigBase.h" 00014 00015 namespace pos{ 00026 class PixelGlobalDelay25: public PixelConfigBase { 00027 00028 public: 00029 00030 PixelGlobalDelay25(std::string filename); 00031 virtual ~PixelGlobalDelay25(); 00032 00033 unsigned int getDelay(unsigned int offset=0) const; // !!! delays in steps of 0.499 ns (Delay25 step) 00034 unsigned int getTTCrxDelay(unsigned int offset=0) const; // !!! delays in steps of 0.10396 ns (TTCrx step) 00035 virtual void writeASCII(std::string dir) const; 00036 void writeXML( pos::PixelConfigKey key, int version, std::string path) const {;} 00037 virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const {;} 00038 virtual void writeXML( std::ofstream *out) const {;} 00039 virtual void writeXMLTrailer( std::ofstream *out) const {;} 00040 00041 private: 00042 unsigned int delay_; 00043 00044 }; 00045 } 00046 /* @} */ 00047 #endif