RecoLocalMuon
GEMCSCSegment
plugins
GEMCSCSegmentProducer.h
Go to the documentation of this file.
1
#ifndef GEMCSCSegment_GEMCSCSegmentProducer_h
2
#define GEMCSCSegment_GEMCSCSegmentProducer_h
3
12
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
13
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
14
#include "
FWCore/Framework/interface/Event.h
"
15
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
16
#include "
FWCore/Utilities/interface/InputTag.h
"
17
18
#include "
DataFormats/CSCRecHit/interface/CSCSegmentCollection.h
"
19
#include "
DataFormats/GEMRecHit/interface/GEMRecHitCollection.h
"
20
21
class
GEMCSCSegmentBuilder
;
22
23
class
GEMCSCSegmentProducer
:
public
edm::stream::EDProducer
<> {
24
public
:
26
explicit
GEMCSCSegmentProducer
(
const
edm::ParameterSet
&);
28
~GEMCSCSegmentProducer
()
override
;
30
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
31
32
private
:
33
int
iev
;
// events through
34
GEMCSCSegmentBuilder
*
segmentBuilder_
;
35
edm::EDGetTokenT<CSCSegmentCollection>
csc_token
;
36
edm::EDGetTokenT<GEMRecHitCollection>
gem_token
;
37
};
38
39
#endif
GEMCSCSegmentProducer::iev
int iev
Definition:
GEMCSCSegmentProducer.h:33
edm::EDGetTokenT< CSCSegmentCollection >
EDProducer.h
GEMCSCSegmentProducer::gem_token
edm::EDGetTokenT< GEMRecHitCollection > gem_token
Definition:
GEMCSCSegmentProducer.h:36
GEMCSCSegmentProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Produce the GEM-CSCSegment collection.
Definition:
GEMCSCSegmentProducer.cc:36
GEMCSCSegmentProducer::segmentBuilder_
GEMCSCSegmentBuilder * segmentBuilder_
Definition:
GEMCSCSegmentProducer.h:34
GEMCSCSegmentProducer::~GEMCSCSegmentProducer
~GEMCSCSegmentProducer() override
Destructor.
Definition:
GEMCSCSegmentProducer.cc:31
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
GEMCSCSegmentProducer::csc_token
edm::EDGetTokenT< CSCSegmentCollection > csc_token
Definition:
GEMCSCSegmentProducer.h:35
edm::stream::EDProducer
Definition:
EDProducer.h:36
GEMRecHitCollection.h
edm::EventSetup
Definition:
EventSetup.h:58
InputTag.h
Frameworkfwd.h
GEMCSCSegmentProducer::GEMCSCSegmentProducer
GEMCSCSegmentProducer(const edm::ParameterSet &)
Constructor.
Definition:
GEMCSCSegmentProducer.cc:22
ParameterSet.h
GEMCSCSegmentBuilder
Definition:
GEMCSCSegmentBuilder.h:69
edm::Event
Definition:
Event.h:73
GEMCSCSegmentProducer
Definition:
GEMCSCSegmentProducer.h:23
CSCSegmentCollection.h
Generated for CMSSW Reference Manual by
1.8.16