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
#include "
FWCore/Utilities/interface/ESGetToken.h
"
15
16
#include "
DataFormats/CSCRecHit/interface/CSCRecHit2DCollection.h
"
17
#include "
Geometry/Records/interface/MuonGeometryRecord.h
"
18
#include "
Geometry/CSCGeometry/interface/CSCGeometry.h
"
19
20
class
CSCSegmentBuilder
;
21
22
class
CSCSegmentProducer
:
public
edm::stream::EDProducer
<> {
23
public
:
25
explicit
CSCSegmentProducer
(
const
edm::ParameterSet
&);
27
~CSCSegmentProducer
()
override
;
29
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
30
31
private
:
32
int
iev
;
// events through
33
CSCSegmentBuilder
*
segmentBuilder_
;
34
edm::EDGetTokenT<CSCRecHit2DCollection>
m_token
;
35
edm::ESGetToken<CSCGeometry, MuonGeometryRecord>
m_cscGeometryToken
;
36
};
37
38
#endif
CSCRecHit2DCollection.h
CSCSegmentProducer::m_token
edm::EDGetTokenT< CSCRecHit2DCollection > m_token
Definition:
CSCSegmentProducer.h:34
CSCSegmentProducer::~CSCSegmentProducer
~CSCSegmentProducer() override
Destructor.
Definition:
CSCSegmentProducer.cc:25
edm::EDGetTokenT< CSCRecHit2DCollection >
CSCSegmentProducer::m_cscGeometryToken
edm::ESGetToken< CSCGeometry, MuonGeometryRecord > m_cscGeometryToken
Definition:
CSCSegmentProducer.h:35
EDProducer.h
CSCSegmentProducer
Definition:
CSCSegmentProducer.h:22
ESGetToken.h
CSCSegmentProducer::iev
int iev
Definition:
CSCSegmentProducer.h:32
CSCSegmentProducer::segmentBuilder_
CSCSegmentBuilder * segmentBuilder_
Definition:
CSCSegmentProducer.h:33
CSCSegmentProducer::CSCSegmentProducer
CSCSegmentProducer(const edm::ParameterSet &)
Constructor.
Definition:
CSCSegmentProducer.cc:16
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
edm::ESGetToken< CSCGeometry, MuonGeometryRecord >
Frameworkfwd.h
CSCSegmentProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Produce the CSCSegment collection.
Definition:
CSCSegmentProducer.cc:30
CSCSegmentBuilder
Definition:
CSCSegmentBuilder.h:25
ConsumesCollector.h
ParameterSet.h
MuonGeometryRecord.h
edm::Event
Definition:
Event.h:73
CSCGeometry.h
Generated for CMSSW Reference Manual by
1.8.16