Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
TauAnalysis
MCEmbeddingTools
plugins
MuonCaloDistanceProducer.h
Go to the documentation of this file.
1
#ifndef TauAnalysis_MCEmbeddingTools_MuonCaloDistanceProducer_h
2
#define TauAnalysis_MCEmbeddingTools_MuonCaloDistanceProducer_h
3
19
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
20
#include "
FWCore/Framework/interface/EDProducer.h
"
21
#include "
FWCore/Framework/interface/Event.h
"
22
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
23
#include "
FWCore/Utilities/interface/InputTag.h
"
24
25
#include "
TrackingTools/TrackAssociator/interface/TrackDetectorAssociator.h
"
26
#include "
TrackingTools/TrackAssociator/interface/TrackAssociatorParameters.h
"
27
28
#include <
DataFormats/MuonReco/interface/Muon.h
>
29
30
class
MuonCaloDistanceProducer
:
public
edm::EDProducer
31
{
32
public
:
33
explicit
MuonCaloDistanceProducer
(
const
edm::ParameterSet
&);
34
~MuonCaloDistanceProducer
();
35
36
private
:
37
virtual
void
produce
(
edm::Event
&,
const
edm::EventSetup
&);
38
39
typedef
std::map<uint32_t, float>
detIdToFloatMap
;
40
void
fillDistanceMap
(
edm::Event
&,
const
edm::EventSetup
&,
const
reco::Candidate
*,
detIdToFloatMap
&,
detIdToFloatMap
&);
41
42
edm::InputTag
srcSelectedMuons_
;
43
44
TrackDetectorAssociator
trackAssociator_
;
45
TrackAssociatorParameters
trackAssociatorParameters_
;
46
};
47
48
#endif
TrackDetectorAssociator.h
Event.h
reco::Candidate
Definition:
Candidate.h:32
MuonCaloDistanceProducer::detIdToFloatMap
std::map< uint32_t, float > detIdToFloatMap
Definition:
MuonCaloDistanceProducer.h:39
MuonCaloDistanceProducer
Definition:
MuonCaloDistanceProducer.h:30
Frameworkfwd.h
edm::EDProducer
Definition:
EDProducer.h:35
ParameterSet.h
MuonCaloDistanceProducer::produce
virtual void produce(edm::Event &, const edm::EventSetup &)
Definition:
MuonCaloDistanceProducer.cc:45
MuonCaloDistanceProducer::fillDistanceMap
void fillDistanceMap(edm::Event &, const edm::EventSetup &, const reco::Candidate *, detIdToFloatMap &, detIdToFloatMap &)
Definition:
MuonCaloDistanceProducer.cc:75
MuonCaloDistanceProducer::~MuonCaloDistanceProducer
~MuonCaloDistanceProducer()
Definition:
MuonCaloDistanceProducer.cc:40
edm::EventSetup
Definition:
EventSetup.h:44
Muon.h
EDProducer.h
TrackDetectorAssociator
Definition:
TrackDetectorAssociator.h:50
edm::InputTag
Definition:
InputTag.h:17
MuonCaloDistanceProducer::trackAssociator_
TrackDetectorAssociator trackAssociator_
Definition:
MuonCaloDistanceProducer.h:44
InputTag.h
MuonCaloDistanceProducer::MuonCaloDistanceProducer
MuonCaloDistanceProducer(const edm::ParameterSet &)
Definition:
MuonCaloDistanceProducer.cc:24
edm::ParameterSet
Definition:
ParameterSet.h:35
MuonCaloDistanceProducer::trackAssociatorParameters_
TrackAssociatorParameters trackAssociatorParameters_
Definition:
MuonCaloDistanceProducer.h:45
TrackAssociatorParameters.h
MuonCaloDistanceProducer::srcSelectedMuons_
edm::InputTag srcSelectedMuons_
Definition:
MuonCaloDistanceProducer.h:42
edm::Event
Definition:
Event.h:59
TrackAssociatorParameters
Definition:
TrackAssociatorParameters.h:33
Generated for CMSSW Reference Manual by
1.8.5