RecoMET
METProducers
interface
MuonMETValueMapProducer.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: METProducers
4
// Class: MuonMETValueMapProducer
5
//
6
//
7
11
//
12
// Original Author: Puneeth Kalavase
13
// Created: Sun Mar 15 11:33:20 CDT 2009
14
//
15
//
16
17
//____________________________________________________________________________||
18
#ifndef RecoMET_MuonMETValueMapProducer_h
19
#define RecoMET_MuonMETValueMapProducer_h
20
21
//____________________________________________________________________________||
22
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
23
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
24
#include "
FWCore/Framework/interface/Event.h
"
25
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
26
#include "
DataFormats/Common/interface/Handle.h
"
27
#include "
TrackingTools/TrackAssociator/interface/TrackDetectorAssociator.h
"
28
#include "
TrackingTools/TrackAssociator/interface/TrackAssociatorParameters.h
"
29
30
#include "
DataFormats/MuonReco/interface/Muon.h
"
31
#include "
DataFormats/BeamSpot/interface/BeamSpot.h
"
32
#include "
DataFormats/MuonReco/interface/MuonMETCorrectionData.h
"
33
34
//____________________________________________________________________________||
35
namespace
cms
{
36
37
class
MuonMETValueMapProducer
:
public
edm::stream::EDProducer
<> {
38
public
:
39
explicit
MuonMETValueMapProducer
(
const
edm::ParameterSet
&);
40
~MuonMETValueMapProducer
()
override
{}
41
42
private
:
43
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
44
45
void
determine_deltax_deltay
(
double
& deltax,
46
double
& deltay,
47
const
reco::Muon
&
muon
,
48
double
bfield,
49
edm::Event
&
iEvent
,
50
const
edm::EventSetup
& iSetup);
51
reco::MuonMETCorrectionData::Type
decide_correction_type
(
const
reco::Muon
&
muon
,
52
const
math::XYZPoint
& beamSpotPosition);
53
bool
should_type_MuonCandidateValuesUsed
(
const
reco::Muon
&
muon
,
const
math::XYZPoint
& beamSpotPosition);
54
55
double
minPt_
;
56
double
maxEta_
;
57
bool
isAlsoTkMu_
;
58
double
maxNormChi2_
;
59
double
maxd0_
;
60
int
minnHits_
;
61
int
minnValidStaHits_
;
62
63
bool
useTrackAssociatorPositions_
;
64
bool
useHO_
;
65
double
towerEtThreshold_
;
66
bool
useRecHits_
;
67
68
edm::EDGetTokenT<edm::View<reco::Muon>
>
muonToken_
;
69
edm::EDGetTokenT<reco::BeamSpot>
beamSpotToken_
;
70
71
TrackAssociatorParameters
trackAssociatorParameters_
;
72
TrackDetectorAssociator
trackAssociator_
;
73
};
74
75
}
// namespace cms
76
77
//____________________________________________________________________________||
78
#endif
/* RecoMET_MuonMETValueMapProducer_h */
cms::MuonMETValueMapProducer
Definition:
MuonMETValueMapProducer.h:37
cms::MuonMETValueMapProducer::decide_correction_type
reco::MuonMETCorrectionData::Type decide_correction_type(const reco::Muon &muon, const math::XYZPoint &beamSpotPosition)
Definition:
MuonMETValueMapProducer.cc:140
cms::MuonMETValueMapProducer::~MuonMETValueMapProducer
~MuonMETValueMapProducer() override
Definition:
MuonMETValueMapProducer.h:40
Handle.h
Muon.h
muon
Definition:
MuonCocktails.h:17
TrackDetectorAssociator.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
EDProducer.h
cms::MuonMETValueMapProducer::minnValidStaHits_
int minnValidStaHits_
Definition:
MuonMETValueMapProducer.h:61
reco::Muon
Definition:
Muon.h:27
cms::MuonMETValueMapProducer::muonToken_
edm::EDGetTokenT< edm::View< reco::Muon > > muonToken_
Definition:
MuonMETValueMapProducer.h:68
cms::MuonMETValueMapProducer::beamSpotToken_
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
Definition:
MuonMETValueMapProducer.h:69
BeamSpot.h
cms::MuonMETValueMapProducer::should_type_MuonCandidateValuesUsed
bool should_type_MuonCandidateValuesUsed(const reco::Muon &muon, const math::XYZPoint &beamSpotPosition)
Definition:
MuonMETValueMapProducer.cc:149
cms::MuonMETValueMapProducer::useTrackAssociatorPositions_
bool useTrackAssociatorPositions_
Definition:
MuonMETValueMapProducer.h:63
cms::MuonMETValueMapProducer::useRecHits_
bool useRecHits_
Definition:
MuonMETValueMapProducer.h:66
edm::ParameterSet
Definition:
ParameterSet.h:36
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition:
Point3D.h:12
cms::MuonMETValueMapProducer::towerEtThreshold_
double towerEtThreshold_
Definition:
MuonMETValueMapProducer.h:65
Event.h
cms::MuonMETValueMapProducer::MuonMETValueMapProducer
MuonMETValueMapProducer(const edm::ParameterSet &)
Definition:
MuonMETValueMapProducer.cc:57
TrackDetectorAssociator
Definition:
TrackDetectorAssociator.h:49
cms::MuonMETValueMapProducer::isAlsoTkMu_
bool isAlsoTkMu_
Definition:
MuonMETValueMapProducer.h:57
iEvent
int iEvent
Definition:
GenABIO.cc:224
edm::stream::EDProducer
Definition:
EDProducer.h:38
cms::MuonMETValueMapProducer::trackAssociator_
TrackDetectorAssociator trackAssociator_
Definition:
MuonMETValueMapProducer.h:72
edm::EventSetup
Definition:
EventSetup.h:57
cms::MuonMETValueMapProducer::trackAssociatorParameters_
TrackAssociatorParameters trackAssociatorParameters_
Definition:
MuonMETValueMapProducer.h:71
reco::MuonMETCorrectionData::Type
Type
Definition:
MuonMETCorrectionData.h:9
cms::MuonMETValueMapProducer::determine_deltax_deltay
void determine_deltax_deltay(double &deltax, double &deltay, const reco::Muon &muon, double bfield, edm::Event &iEvent, const edm::EventSetup &iSetup)
Definition:
MuonMETValueMapProducer.cc:117
cms::MuonMETValueMapProducer::minnHits_
int minnHits_
Definition:
MuonMETValueMapProducer.h:60
cms::MuonMETValueMapProducer::minPt_
double minPt_
Definition:
MuonMETValueMapProducer.h:55
Frameworkfwd.h
cms::MuonMETValueMapProducer::maxEta_
double maxEta_
Definition:
MuonMETValueMapProducer.h:56
MuonMETCorrectionData.h
cms::MuonMETValueMapProducer::useHO_
bool useHO_
Definition:
MuonMETValueMapProducer.h:64
ParameterSet.h
cms::MuonMETValueMapProducer::maxNormChi2_
double maxNormChi2_
Definition:
MuonMETValueMapProducer.h:58
cms::MuonMETValueMapProducer::maxd0_
double maxd0_
Definition:
MuonMETValueMapProducer.h:59
edm::Event
Definition:
Event.h:73
cms::MuonMETValueMapProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
MuonMETValueMapProducer.cc:81
TrackAssociatorParameters.h
cms
Namespace of DDCMS conversion namespace.
Definition:
ProducerAnalyzer.cc:21
TrackAssociatorParameters
Definition:
TrackAssociatorParameters.h:34
Generated for CMSSW Reference Manual by
1.8.16