CMS 3D CMS Logo

PixelMaxVsf.h

Go to the documentation of this file.
00001 #ifndef PixelMaxVsf_h
00002 #define PixelMaxVsf_h
00003 
00009 #include <map>
00010 #include <string>
00011 #include <vector>
00012 #include "CalibFormats/SiPixelObjects/interface/PixelConfigBase.h"
00013 #include "CalibFormats/SiPixelObjects/interface/PixelROCName.h"
00014 
00015 namespace pos{
00026   class PixelMaxVsf: public PixelConfigBase {
00027 
00028   public:
00029 
00030     PixelMaxVsf(std::vector< std::vector < std::string> > &tableMat);
00031     PixelMaxVsf(std::string filename);
00032 
00033     void writeASCII(std::string dir="") const;
00034     void         writeXML(      pos::PixelConfigKey key, int version, std::string path)                     const {;}
00035     virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const {;}
00036     virtual void writeXML(                                                              std::ofstream *out) const {;}
00037     virtual void writeXMLTrailer(                                                       std::ofstream *out) const {;}
00038 
00039     bool getVsf(PixelROCName roc, unsigned int& Vsf) const;
00040 
00041     void setVsf(PixelROCName roc, unsigned int Vsf);
00042 
00043   private:
00044 
00045     std::map<PixelROCName, unsigned int> rocs_;
00046  
00047   };
00048 
00049 }
00050 /* @} */
00051 #endif

Generated on Tue Jun 9 17:25:24 2009 for CMSSW by  doxygen 1.5.4