Main Page
Namespaces
Classes
Package Documentation
RecoMuon
MuonIsolation
interface
MuIsoByTrackPt.h
Go to the documentation of this file.
1
#ifndef MuonIsolation_MuIsoByTrackPt_H
2
#define MuonIsolation_MuIsoByTrackPt_H
3
4
#include "
RecoMuon/MuonIsolation/interface/MuIsoBaseAlgorithm.h
"
5
#include "
RecoMuon/MuonIsolation/interface/CutsConeSizeFunction.h
"
6
7
namespace
reco
{
namespace
isodeposit {
class
IsoDepositExtractor; }}
8
namespace
muonisolation
{
class
IsolatorByDeposit
; }
9
namespace
reco
{
class
Track; }
10
namespace
edm
{
class
Event
; }
11
namespace
edm
{
class
EventSetup
; }
12
namespace
edm
{
class
ConsumesCollector; }
13
namespace
edm
{
class
ParameterSet
; }
14
15
16
class
MuIsoByTrackPt
:
public
MuIsoBaseAlgorithm
{
17
public
:
18
MuIsoByTrackPt
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
&& iC);
19
~
MuIsoByTrackPt
()
override
;
20
21
float
isolation
(
const
edm::Event
&,
const
edm::EventSetup
&,
const
reco::Track
&
muon
)
override
;
22
float
isolation
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& es,
const
reco::TrackRef
& muon)
override
23
{
24
return
isolation
(ev, es, *muon);
25
}
26
bool
isIsolated(
const
edm::Event
&,
const
edm::EventSetup
&,
const
reco::Track
& muon)
override
;
27
bool
isIsolated
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& es,
const
reco::TrackRef
& muon)
override
28
{
29
return
isIsolated(ev, es, *muon);
30
}
31
32
void
setConeSize(
float
dr
);
33
void
setCut
(
float
cut
) { theCut =
cut
; }
34
35
virtual
reco::isodeposit::IsoDepositExtractor
*
extractor
() {
return
theExtractor; }
36
virtual
muonisolation::IsolatorByDeposit
*
isolator
() {
return
theIsolator; }
37
38
private
:
39
float
theCut
;
40
reco::isodeposit::IsoDepositExtractor
*
theExtractor
;
41
muonisolation::IsolatorByDeposit
*
theIsolator
;
42
};
43
44
#endif
MuIsoByTrackPt::isolator
virtual muonisolation::IsolatorByDeposit * isolator()
Definition:
MuIsoByTrackPt.h:36
MuIsoByTrackPt::extractor
virtual reco::isodeposit::IsoDepositExtractor * extractor()
Definition:
MuIsoByTrackPt.h:35
ParameterSet
Definition:
Functions.h:16
edm::Ref< TrackCollection >
MuIsoByTrackPt
Definition:
MuIsoByTrackPt.h:16
MuIsoBaseAlgorithm
Definition:
MuIsoBaseAlgorithm.h:10
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:25
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
muon
Definition:
MuonCocktails.h:17
isolation
double isolation
Definition:
AssociatedVariableMaxCutCandRefSelector.cc:25
MuIsoByTrackPt::isIsolated
bool isIsolated(const edm::Event &ev, const edm::EventSetup &es, const reco::TrackRef &muon) override
Definition:
MuIsoByTrackPt.h:27
MuIsoByTrackPt::theCut
float theCut
Definition:
MuIsoByTrackPt.h:39
EventSetup
muonisolation
Definition:
CandViewExtractor.h:17
edm::EventSetup
Definition:
EventSetup.h:52
MuIsoBaseAlgorithm.h
IsolatorByDeposit
muonisolation::IsolatorByDeposit
Definition:
IsolatorByDeposit.h:17
MuIsoByTrackPt::setCut
void setCut(float cut)
Definition:
MuIsoByTrackPt.h:33
reco::Track
Definition:
Track.h:28
MuIsoByTrackPt::theExtractor
reco::isodeposit::IsoDepositExtractor * theExtractor
Definition:
MuIsoByTrackPt.h:40
Event
runTauDisplay.dr
dr
Definition:
runTauDisplay.py:330
MuIsoByTrackPt::theIsolator
muonisolation::IsolatorByDeposit * theIsolator
Definition:
MuIsoByTrackPt.h:41
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
edm
HLT enums.
Definition:
AlignableModifier.h:17
TkAlMuonSelectors_cfi.cut
cut
Definition:
TkAlMuonSelectors_cfi.py:5
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:70
MuIsoByTrackPt::isolation
float isolation(const edm::Event &ev, const edm::EventSetup &es, const reco::TrackRef &muon) override
Definition:
MuIsoByTrackPt.h:22
CutsConeSizeFunction.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.11