CMS 3D CMS Logo

DBWriter.h
Go to the documentation of this file.
5 
9 
10 #include <TFile.h>
11 #include <string>
12 
13 class DBWriter : public edm::EDAnalyzer {
14 public:
15  explicit DBWriter(const edm::ParameterSet&);
16  ~DBWriter() override;
17 
18 private:
19  void analyze(const edm::Event&, const edm::EventSetup&) override;
20  void endJob() override{};
21 
22  std::unique_ptr<BaseFunction> corrector_;
23 };
DBWriter::DBWriter
DBWriter(const edm::ParameterSet &)
Definition: DBWriter.cc:18
DBWriter::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: DBWriter.cc:41
EDAnalyzer.h
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
MakerMacros.h
DBWriter::~DBWriter
~DBWriter() override
Definition: DBWriter.cc:35
ResolutionFunction.h
DBWriter::corrector_
std::unique_ptr< BaseFunction > corrector_
Definition: DBWriter.h:20
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
DBWriter::endJob
void endJob() override
Definition: DBWriter.h:20
edm::EventSetup
Definition: EventSetup.h:57
ParameterSet.h
edm::Event
Definition: Event.h:73
MomentumScaleCorrector.h
BackgroundFunction.h
DBWriter
Definition: DBWriter.h:13