Main Page
Namespaces
Classes
Package Documentation
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
CSCSegmentProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Produce the CSCSegment collection.
Definition:
CSCSegmentProducer.cc:33
CSCRecHit2DCollection.h
Event.h
CSCSegmentProducer::m_token
edm::EDGetTokenT< CSCRecHit2DCollection > m_token
Definition:
CSCSegmentProducer.h:31
edm::EDGetTokenT< CSCRecHit2DCollection >
Frameworkfwd.h
ParameterSet.h
CSCSegmentBuilder
Definition:
CSCSegmentBuilder.h:25
CSCSegmentProducer
Definition:
CSCSegmentProducer.h:19
EDProducer.h
edm::EventSetup
Definition:
EventSetup.h:51
CSCSegmentProducer::segmentBuilder_
CSCSegmentBuilder * segmentBuilder_
Definition:
CSCSegmentProducer.h:30
CSCSegmentProducer::CSCSegmentProducer
CSCSegmentProducer(const edm::ParameterSet &)
Constructor.
Definition:
CSCSegmentProducer.cc:18
edm::stream::EDProducer
Definition:
EDProducer.h:38
CSCSegmentProducer::iev
int iev
Definition:
CSCSegmentProducer.h:29
edm::ParameterSet
Definition:
ParameterSet.h:36
CSCSegmentProducer::~CSCSegmentProducer
~CSCSegmentProducer() override
Destructor.
Definition:
CSCSegmentProducer.cc:27
edm::Event
Definition:
Event.h:70
ConsumesCollector.h
Generated for CMSSW Reference Manual by
1.8.11