CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/CalibMuon/DTCalibration/plugins/DTVDriftWriter.h

Go to the documentation of this file.
00001 #ifndef CalibMuon_DTCalibration_DTVDriftWriter_h
00002 #define CalibMuon_DTCalibration_DTVDriftWriter_h
00003 
00004 /*  \class DTVDriftWriter
00005  *  Instantiates configurable algo plugin to
00006  *  compute and write vDrift DB.
00007  * 
00008  *  $Date: 2010/11/18 20:58:24 $
00009  *  $Revision: 1.3 $
00010  *  Author of original version: M. Giunta
00011  *  \author A. Vilela Pereira 
00012  */
00013 
00014 #include "FWCore/Framework/interface/EDAnalyzer.h"
00015 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00016 #include "FWCore/Framework/interface/ESHandle.h"
00017 
00018 #include <string>
00019 
00020 class DTMtime;
00021 class DTGeometry;
00022 class DTVDriftBaseAlgo;
00023 
00024 class DTVDriftWriter : public edm::EDAnalyzer {
00025 public:
00026   DTVDriftWriter(const edm::ParameterSet& pset);
00027   virtual ~DTVDriftWriter();
00028 
00029   // Operations
00030   virtual void beginRun(const edm::Run& run, const edm::EventSetup& setup);
00031   virtual void analyze(const edm::Event & event, const edm::EventSetup& eventSetup) {}
00032   virtual void endJob();
00033  
00034 private:
00035   std::string granularity_; // enforced by SL
00036 
00037   const DTMtime* mTimeMap_;
00038   edm::ESHandle<DTGeometry> dtGeom_;
00039 
00040   DTVDriftBaseAlgo* vDriftAlgo_; 
00041 };
00042 #endif
00043