CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/CondTools/SiStrip/interface/SiStripCondObjBuilderBase.h

Go to the documentation of this file.
00001 #ifndef CondTools_SiStrip_SiStripCondObjBuilderBase_H
00002 #define CondTools_SiStrip_SiStripCondObjBuilderBase_H
00003 
00004 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00005 #include "boost/cstdint.hpp"
00006 #include <vector>
00007 #include <string>
00008 
00009 template <typename T>
00010 class SiStripCondObjBuilderBase {
00011   
00012  public:
00013 
00014   SiStripCondObjBuilderBase(const edm::ParameterSet& pset):_pset(pset){};
00015   virtual ~SiStripCondObjBuilderBase(){};
00016   
00017   virtual void initialize(){};
00018                             
00020   virtual void getMetaDataString(std::stringstream& ss){};
00021 
00023   virtual bool checkForCompatibility(std::string ss){return true;}
00024 
00026   virtual void getObj(T* & obj){};
00027   
00028  protected:
00029   
00030   T* obj_;
00031   edm::ParameterSet _pset;
00032 };
00033 
00034 #endif // CondTools_SiStrip_SiStripCondObjBuilderBase_H