RecoMuon
MuonIdentification
plugins
InterestingEcalDetIdProducer.h
Go to the documentation of this file.
1
#ifndef MuonIdentification_InterestingEcalDetIdProducer_h
2
#define MuonIdentification_InterestingEcalDetIdProducer_h
3
// -*- C++ -*-
4
#include <memory>
5
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
6
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
7
#include "
FWCore/Utilities/interface/InputTag.h
"
8
#include "
FWCore/Utilities/interface/ESGetToken.h
"
9
10
#include "
DataFormats/MuonReco/interface/Muon.h
"
11
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
12
#include "
Geometry/Records/interface/CaloTopologyRecord.h
"
13
#include "
Geometry/CaloTopology/interface/CaloTopology.h
"
14
15
class
CaloTopology
;
16
class
InterestingEcalDetIdProducer
:
public
edm::stream::EDProducer
<> {
17
public
:
18
explicit
InterestingEcalDetIdProducer
(
const
edm::ParameterSet
&);
19
~InterestingEcalDetIdProducer
()
override
;
20
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
21
void
beginRun
(
const
edm::Run
&,
const
edm::EventSetup
&)
override
;
22
23
private
:
24
edm::InputTag
inputCollection_
;
25
edm::EDGetTokenT<reco::MuonCollection>
muonToken_
;
26
edm::ESGetToken<CaloTopology, CaloTopologyRecord>
caloTopoToken_
;
27
const
CaloTopology
*
caloTopology_
;
28
};
29
30
#endif
InterestingEcalDetIdProducer::InterestingEcalDetIdProducer
InterestingEcalDetIdProducer(const edm::ParameterSet &)
Definition:
InterestingEcalDetIdProducer.cc:20
Muon.h
InterestingEcalDetIdProducer::caloTopoToken_
edm::ESGetToken< CaloTopology, CaloTopologyRecord > caloTopoToken_
Definition:
InterestingEcalDetIdProducer.h:26
InterestingEcalDetIdProducer::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition:
InterestingEcalDetIdProducer.cc:29
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< reco::MuonCollection >
EDProducer.h
ESGetToken.h
CaloTopology
Definition:
CaloTopology.h:19
InterestingEcalDetIdProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
InterestingEcalDetIdProducer.cc:34
InterestingEcalDetIdProducer::caloTopology_
const CaloTopology * caloTopology_
Definition:
InterestingEcalDetIdProducer.h:27
MuonFwd.h
InterestingEcalDetIdProducer::~InterestingEcalDetIdProducer
~InterestingEcalDetIdProducer() override
Definition:
InterestingEcalDetIdProducer.cc:27
InterestingEcalDetIdProducer
Definition:
InterestingEcalDetIdProducer.h:16
edm::ParameterSet
Definition:
ParameterSet.h:47
InterestingEcalDetIdProducer::muonToken_
edm::EDGetTokenT< reco::MuonCollection > muonToken_
Definition:
InterestingEcalDetIdProducer.h:25
edm::stream::EDProducer
Definition:
EDProducer.h:36
edm::EventSetup
Definition:
EventSetup.h:58
edm::ESGetToken< CaloTopology, CaloTopologyRecord >
InputTag.h
CaloTopology.h
CaloTopologyRecord.h
Frameworkfwd.h
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
InterestingEcalDetIdProducer::inputCollection_
edm::InputTag inputCollection_
Definition:
InterestingEcalDetIdProducer.h:24
Generated for CMSSW Reference Manual by
1.8.16