CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/CalibTracker/SiStripESProducers/interface/SiStripConfObjectGenerator.h

Go to the documentation of this file.
00001 #ifndef CalibTracker_SiStripESProducers_SiStripConfObjectGenerator_H
00002 #define CalibTracker_SiStripESProducers_SiStripConfObjectGenerator_H
00003 
00004 #include "FWCore/Framework/interface/Frameworkfwd.h"
00005 #include "FWCore/ServiceRegistry/interface/Service.h"
00006 #include "CondTools/SiStrip/interface/SiStripCondObjBuilderBase.h"
00007 #include "CondFormats/SiStripObjects/interface/SiStripConfObject.h"
00008 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00009 #include <string>
00010 
00015 class SiStripConfObjectGenerator : public SiStripCondObjBuilderBase<SiStripConfObject> {
00016  public:
00017 
00018   explicit SiStripConfObjectGenerator(const edm::ParameterSet&,const edm::ActivityRegistry&);
00019   ~SiStripConfObjectGenerator();
00020 
00021   void getObj(SiStripConfObject* & obj){createObject(); obj=obj_;}
00022 
00023  private:
00024 
00025   void createObject();
00026 
00027   std::vector<edm::ParameterSet> parameters_;
00028 };
00029 
00030 #endif