src
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/Framework/interface/ESHandle.h
"
16
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
17
#include "
FWCore/Utilities/interface/InputTag.h
"
18
19
#include "
DataFormats/CSCRecHit/interface/CSCSegmentCollection.h
"
20
#include "
DataFormats/GEMRecHit/interface/GEMRecHitCollection.h
"
21
22
#include <
Geometry/Records/interface/MuonGeometryRecord.h
>
23
#include "
Geometry/CSCGeometry/interface/CSCGeometry.h
"
24
#include "
Geometry/GEMGeometry/interface/GEMGeometry.h
"
25
26
class
GEMCSCSegmentBuilder
;
27
28
class
GEMCSCSegmentProducer
:
public
edm::stream::EDProducer
<> {
29
public
:
31
explicit
GEMCSCSegmentProducer
(
const
edm::ParameterSet
&);
33
~GEMCSCSegmentProducer
()
override
;
35
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
36
37
private
:
38
const
edm::ESGetToken<CSCGeometry, MuonGeometryRecord>
kCSCGeometryToken_
;
39
const
edm::ESGetToken<GEMGeometry, MuonGeometryRecord>
kGEMGeometryToken_
;
40
const
edm::EDGetTokenT<CSCSegmentCollection>
kCSCSegmentCollectionToken_
;
41
const
edm::EDGetTokenT<GEMRecHitCollection>
kGEMRecHitCollectionToken_
;
42
43
int
iev
;
// events through
44
GEMCSCSegmentBuilder
*
segmentBuilder_
;
45
};
46
47
#endif
GEMCSCSegmentProducer::segmentBuilder_
GEMCSCSegmentBuilder * segmentBuilder_
Definition:
GEMCSCSegmentProducer.h:44
GEMCSCSegmentProducer::kGEMGeometryToken_
const edm::ESGetToken< GEMGeometry, MuonGeometryRecord > kGEMGeometryToken_
Definition:
GEMCSCSegmentProducer.h:39
GEMCSCSegmentProducer::kGEMRecHitCollectionToken_
const edm::EDGetTokenT< GEMRecHitCollection > kGEMRecHitCollectionToken_
Definition:
GEMCSCSegmentProducer.h:41
MuonGeometryRecord.h
GEMCSCSegmentProducer::GEMCSCSegmentProducer
GEMCSCSegmentProducer(const edm::ParameterSet &)
Constructor.
Definition:
GEMCSCSegmentProducer.cc:20
Event.h
edm::EDGetTokenT< CSCSegmentCollection >
Frameworkfwd.h
GEMCSCSegmentBuilder
Definition:
GEMCSCSegmentBuilder.h:69
ParameterSet.h
EDProducer.h
edm::ESGetToken< CSCGeometry, MuonGeometryRecord >
GEMCSCSegmentProducer::~GEMCSCSegmentProducer
~GEMCSCSegmentProducer() override
Destructor.
Definition:
GEMCSCSegmentProducer.cc:32
ESHandle.h
GEMRecHitCollection.h
edm::EventSetup
Definition:
EventSetup.h:59
CSCSegmentCollection.h
GEMCSCSegmentProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Produce the GEM-CSCSegment collection.
Definition:
GEMCSCSegmentProducer.cc:37
GEMGeometry.h
edm::stream::EDProducer
Definition:
EDProducer.h:36
InputTag.h
GEMCSCSegmentProducer::kCSCSegmentCollectionToken_
const edm::EDGetTokenT< CSCSegmentCollection > kCSCSegmentCollectionToken_
Definition:
GEMCSCSegmentProducer.h:40
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
GEMCSCSegmentProducer
Definition:
GEMCSCSegmentProducer.h:28
CSCGeometry.h
GEMCSCSegmentProducer::kCSCGeometryToken_
const edm::ESGetToken< CSCGeometry, MuonGeometryRecord > kCSCGeometryToken_
Definition:
GEMCSCSegmentProducer.h:38
GEMCSCSegmentProducer::iev
int iev
Definition:
GEMCSCSegmentProducer.h:43
Generated for CMSSW Reference Manual by
1.8.14