RecoVertex
BeamSpotProducer
interface
BeamSpotFromDB.h
Go to the documentation of this file.
1
#ifndef BeamSpotProducer_BeamSpotFromDB_h
2
#define BeamSpotProducer_BeamSpotFromDB_h
3
15
// C++ standard
16
#include <string>
17
// CMS
18
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
19
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
20
#include "
FWCore/Framework/interface/Event.h
"
21
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
22
#include "
FWCore/Utilities/interface/ESGetToken.h
"
23
24
#include "
CondFormats/DataRecord/interface/BeamSpotObjectsRcd.h
"
25
#include "
CondFormats/BeamSpotObjects/interface/BeamSpotObjects.h
"
26
27
class
BeamSpotFromDB
:
public
edm::EDAnalyzer
{
28
public
:
29
explicit
BeamSpotFromDB
(
const
edm::ParameterSet
&);
30
~BeamSpotFromDB
()
override
;
31
32
private
:
33
void
beginJob
()
override
;
34
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
35
void
endJob
()
override
;
36
edm::ESGetToken<BeamSpotObjects, BeamSpotObjectsRcd>
m_beamToken
;
37
};
38
39
#endif
BeamSpotFromDB::m_beamToken
edm::ESGetToken< BeamSpotObjects, BeamSpotObjectsRcd > m_beamToken
Definition:
BeamSpotFromDB.h:36
EDAnalyzer.h
BeamSpotFromDB
Definition:
BeamSpotFromDB.h:27
BeamSpotFromDB::BeamSpotFromDB
BeamSpotFromDB(const edm::ParameterSet &)
Definition:
BeamSpotFromDB.cc:27
ESGetToken.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
BeamSpotObjects.h
BeamSpotObjectsRcd.h
BeamSpotFromDB::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
BeamSpotFromDB.cc:32
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
BeamSpotFromDB::endJob
void endJob() override
Definition:
BeamSpotFromDB.cc:44
edm::EventSetup
Definition:
EventSetup.h:57
BeamSpotFromDB::beginJob
void beginJob() override
Definition:
BeamSpotFromDB.cc:42
edm::ESGetToken< BeamSpotObjects, BeamSpotObjectsRcd >
BeamSpotFromDB::~BeamSpotFromDB
~BeamSpotFromDB() override
Definition:
BeamSpotFromDB.cc:30
Frameworkfwd.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16