Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
RecoVertex
BeamSpotProducer
interface
BeamSpotProducer.h
Go to the documentation of this file.
1
#ifndef BeamSpotProducer_BeamSpotProducer_h
2
#define BeamSpotProducer_BeamSpotProducer_h
3
15
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
16
#include "
FWCore/Framework/interface/Event.h
"
17
#include "
DataFormats/Common/interface/Handle.h
"
18
#include "
FWCore/Framework/interface/ESHandle.h
"
19
#include "
FWCore/Framework/interface/EventSetup.h
"
20
#include "
FWCore/Utilities/interface/ESGetToken.h
"
21
22
#include "
CondFormats/DataRecord/interface/BeamSpotObjectsRcd.h
"
23
#include "
CondFormats/BeamSpotObjects/interface/BeamSpotObjects.h
"
24
25
class
BeamSpotProducer
:
public
edm::stream::EDProducer
<> {
26
public
:
27
typedef
std::vector<edm::ParameterSet>
Parameters
;
28
30
explicit
BeamSpotProducer
(
const
edm::ParameterSet
& iConf);
32
~BeamSpotProducer
()
override
;
33
35
void
produce
(
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup)
override
;
36
37
private
:
38
edm::ESGetToken<BeamSpotObjects, BeamSpotObjectsRcd>
m_beamToken
;
39
};
40
41
#endif
BeamSpotProducer::Parameters
std::vector< edm::ParameterSet > Parameters
Definition:
BeamSpotProducer.h:27
BeamSpotObjectsRcd.h
BeamSpotProducer::~BeamSpotProducer
~BeamSpotProducer() override
destructor
Definition:
BeamSpotProducer.cc:27
Event.h
EventSetup.h
EDProducer.h
edm::ESGetToken< BeamSpotObjects, BeamSpotObjectsRcd >
iEvent
int iEvent
Definition:
GenABIO.cc:224
ESGetToken.h
BeamSpotProducer::m_beamToken
edm::ESGetToken< BeamSpotObjects, BeamSpotObjectsRcd > m_beamToken
Definition:
BeamSpotProducer.h:38
BeamSpotProducer::BeamSpotProducer
BeamSpotProducer(const edm::ParameterSet &iConf)
constructor
Definition:
BeamSpotProducer.cc:17
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:59
BeamSpotProducer::produce
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
produce a beam spot class
Definition:
BeamSpotProducer.cc:34
edm::stream::EDProducer
Definition:
EDProducer.h:36
BeamSpotProducer
Definition:
BeamSpotProducer.h:25
BeamSpotObjects.h
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
Handle.h
Generated for CMSSW Reference Manual by
1.8.5