RecoLocalMuon
CSCSegment
src
CSCSegmentProducer.h
Go to the documentation of this file.
1
#ifndef CSCSegment_CSCSegmentProducer_h
2
#define CSCSegment_CSCSegmentProducer_h
3
9
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
10
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
11
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
12
#include "
FWCore/Framework/interface/Event.h
"
13
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
14
15
#include "
DataFormats/CSCRecHit/interface/CSCRecHit2DCollection.h
"
16
17
class
CSCSegmentBuilder
;
18
19
class
CSCSegmentProducer
:
public
edm::stream::EDProducer
<> {
20
public
:
22
explicit
CSCSegmentProducer
(
const
edm::ParameterSet
&);
24
~CSCSegmentProducer
()
override
;
26
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
27
28
private
:
29
int
iev
;
// events through
30
CSCSegmentBuilder
*
segmentBuilder_
;
31
edm::EDGetTokenT<CSCRecHit2DCollection>
m_token
;
32
};
33
34
#endif
CSCRecHit2DCollection.h
CSCSegmentProducer::m_token
edm::EDGetTokenT< CSCRecHit2DCollection > m_token
Definition:
CSCSegmentProducer.h:31
CSCSegmentProducer::~CSCSegmentProducer
~CSCSegmentProducer() override
Destructor.
Definition:
CSCSegmentProducer.cc:26
edm::EDGetTokenT< CSCRecHit2DCollection >
EDProducer.h
CSCSegmentProducer
Definition:
CSCSegmentProducer.h:19
CSCSegmentProducer::iev
int iev
Definition:
CSCSegmentProducer.h:29
CSCSegmentProducer::segmentBuilder_
CSCSegmentBuilder * segmentBuilder_
Definition:
CSCSegmentProducer.h:30
CSCSegmentProducer::CSCSegmentProducer
CSCSegmentProducer(const edm::ParameterSet &)
Constructor.
Definition:
CSCSegmentProducer.cc:18
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
Frameworkfwd.h
CSCSegmentProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Produce the CSCSegment collection.
Definition:
CSCSegmentProducer.cc:31
CSCSegmentBuilder
Definition:
CSCSegmentBuilder.h:25
ConsumesCollector.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16