CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/CalibMuon/DTCalibration/plugins/DTFakeVDriftESProducer.h

Go to the documentation of this file.
00001 #ifndef _DTFAKEVDRIFT_H
00002 #define _DTFAKEVDRIFT_H
00003 
00012 // system include files
00013 #include <memory>
00014 
00015 // user include files
00016 #include "FWCore/Framework/interface/Frameworkfwd.h"
00017 #include "FWCore/Framework/interface/ESProducer.h"
00018 #include "FWCore/Framework/interface/EventSetupRecordIntervalFinder.h"
00019 
00020 #include "FWCore/Framework/interface/Event.h"
00021 #include "FWCore/Framework/interface/MakerMacros.h"
00022 
00023 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00024 
00025 class DTMtime;
00026 class DTMtimeRcd;
00027 
00028 class DTFakeVDriftESProducer : public edm::ESProducer, public edm::EventSetupRecordIntervalFinder  {
00029 public:
00030   DTFakeVDriftESProducer(const edm::ParameterSet&);
00031   virtual ~DTFakeVDriftESProducer();
00032   
00033   DTMtime* produce(const DTMtimeRcd&);
00034 private:
00035   // ----------member data ---------------------------
00036   void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue&, edm::ValidityInterval & );
00037   
00038   double vDrift;
00039   double reso;
00040 };
00041 
00042 #endif