RecoVertex
BeamSpotProducer
interface
BeamSpotOnlineProducer.h
Go to the documentation of this file.
1
#ifndef BeamSpotOnlineProducer_BeamSpotOnlineProducer_h
2
#define BeamSpotOnlineProducer_BeamSpotOnlineProducer_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 "
DataFormats/Scalers/interface/BeamSpotOnline.h
"
21
#include "
DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerEvmReadoutRecord.h
"
22
23
class
BeamSpotOnlineProducer
:
public
edm::stream::EDProducer
<> {
24
public
:
25
typedef
std::vector<edm::ParameterSet>
Parameters
;
26
28
explicit
BeamSpotOnlineProducer
(
const
edm::ParameterSet
& iConf);
30
~BeamSpotOnlineProducer
()
override
;
31
33
void
produce
(
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup)
override
;
34
35
private
:
36
const
bool
changeFrame_
;
37
const
double
theMaxZ
,
theSetSigmaZ
;
38
double
theMaxR2
;
39
const
edm::EDGetTokenT<BeamSpotOnlineCollection>
scalerToken_
;
40
const
edm::EDGetTokenT<L1GlobalTriggerEvmReadoutRecord>
l1GtEvmReadoutRecordToken_
;
41
42
const
unsigned
int
theBeamShoutMode
;
43
};
44
45
#endif
Handle.h
ESHandle.h
edm::EDGetTokenT< BeamSpotOnlineCollection >
BeamSpotOnlineProducer::~BeamSpotOnlineProducer
~BeamSpotOnlineProducer() override
destructor
Definition:
BeamSpotOnlineProducer.cc:28
EDProducer.h
BeamSpotOnline.h
BeamSpotOnlineProducer::theMaxR2
double theMaxR2
Definition:
BeamSpotOnlineProducer.h:38
L1GlobalTriggerEvmReadoutRecord.h
BeamSpotOnlineProducer
Definition:
BeamSpotOnlineProducer.h:23
BeamSpotOnlineProducer::changeFrame_
const bool changeFrame_
Definition:
BeamSpotOnlineProducer.h:36
BeamSpotOnlineProducer::Parameters
std::vector< edm::ParameterSet > Parameters
Definition:
BeamSpotOnlineProducer.h:25
BeamSpotOnlineProducer::theSetSigmaZ
const double theSetSigmaZ
Definition:
BeamSpotOnlineProducer.h:37
BeamSpotOnlineProducer::produce
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
produce a beam spot class
Definition:
BeamSpotOnlineProducer.cc:30
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
iEvent
int iEvent
Definition:
GenABIO.cc:224
edm::stream::EDProducer
Definition:
EDProducer.h:38
BeamSpotOnlineProducer::BeamSpotOnlineProducer
BeamSpotOnlineProducer(const edm::ParameterSet &iConf)
constructor
Definition:
BeamSpotOnlineProducer.cc:15
edm::EventSetup
Definition:
EventSetup.h:57
BeamSpotOnlineProducer::scalerToken_
const edm::EDGetTokenT< BeamSpotOnlineCollection > scalerToken_
Definition:
BeamSpotOnlineProducer.h:39
BeamSpotOnlineProducer::l1GtEvmReadoutRecordToken_
const edm::EDGetTokenT< L1GlobalTriggerEvmReadoutRecord > l1GtEvmReadoutRecordToken_
Definition:
BeamSpotOnlineProducer.h:40
BeamSpotOnlineProducer::theMaxZ
const double theMaxZ
Definition:
BeamSpotOnlineProducer.h:37
EventSetup.h
BeamSpotOnlineProducer::theBeamShoutMode
const unsigned int theBeamShoutMode
Definition:
BeamSpotOnlineProducer.h:42
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16