src
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
CSCSegmentProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Produce the CSCSegment collection.
Definition:
CSCSegmentProducer.cc:30
CSCRecHit2DCollection.h
MuonGeometryRecord.h
Event.h
CSCSegmentProducer::m_token
edm::EDGetTokenT< CSCRecHit2DCollection > m_token
Definition:
CSCSegmentProducer.h:34
edm::EDGetTokenT< CSCRecHit2DCollection >
Frameworkfwd.h
ParameterSet.h
CSCSegmentBuilder
Definition:
CSCSegmentBuilder.h:25
CSCSegmentProducer
Definition:
CSCSegmentProducer.h:22
EDProducer.h
edm::ESGetToken< CSCGeometry, MuonGeometryRecord >
ESGetToken.h
edm::EventSetup
Definition:
EventSetup.h:59
CSCSegmentProducer::segmentBuilder_
CSCSegmentBuilder * segmentBuilder_
Definition:
CSCSegmentProducer.h:33
CSCSegmentProducer::m_cscGeometryToken
edm::ESGetToken< CSCGeometry, MuonGeometryRecord > m_cscGeometryToken
Definition:
CSCSegmentProducer.h:35
CSCSegmentProducer::CSCSegmentProducer
CSCSegmentProducer(const edm::ParameterSet &)
Constructor.
Definition:
CSCSegmentProducer.cc:16
edm::stream::EDProducer
Definition:
EDProducer.h:36
CSCSegmentProducer::iev
int iev
Definition:
CSCSegmentProducer.h:32
edm::ParameterSet
Definition:
ParameterSet.h:47
CSCSegmentProducer::~CSCSegmentProducer
~CSCSegmentProducer() override
Destructor.
Definition:
CSCSegmentProducer.cc:25
edm::Event
Definition:
Event.h:73
ConsumesCollector.h
CSCGeometry.h
Generated for CMSSW Reference Manual by
1.8.14