CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/MuonAnalysis/MomentumScaleCalibration/plugins/DBWriter.h

Go to the documentation of this file.
00001 #include "FWCore/Framework/interface/EDAnalyzer.h"
00002 #include "FWCore/Framework/interface/Event.h"
00003 #include "FWCore/Framework/interface/MakerMacros.h"
00004 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00005 
00006 #include "MuonAnalysis/MomentumScaleCalibration/interface/MomentumScaleCorrector.h"
00007 #include "MuonAnalysis/MomentumScaleCalibration/interface/ResolutionFunction.h"
00008 #include "MuonAnalysis/MomentumScaleCalibration/interface/BackgroundFunction.h"
00009 
00010 #include <TFile.h>
00011 #include <string>
00012 
00013 
00014 class DBWriter : public edm::EDAnalyzer {
00015 public:
00016   explicit DBWriter(const edm::ParameterSet&);
00017   ~DBWriter();
00018   
00019 private:
00020   virtual void analyze(const edm::Event&, const edm::EventSetup&);
00021   virtual void endJob() {};
00022 
00023   std::auto_ptr<BaseFunction> corrector_;
00024 };