Main Page
Namespaces
Classes
Package Documentation
RecoMuon
MuonIsolation
interface
CutsConeSizeFunction.h
Go to the documentation of this file.
1
#ifndef MuonIsolation_CutsConeSizeFunction_H
2
#define MuonIsolation_CutsConeSizeFunction_H
3
4
#include "
RecoMuon/MuonIsolation/interface/Cuts.h
"
5
#include "
RecoMuon/MuonIsolation/interface/IsolatorByDeposit.h
"
6
7
namespace
muonisolation
{
8
class
CutsConeSizeFunction
:
public
IsolatorByDeposit::ConeSizeFunction
{
9
public
:
10
CutsConeSizeFunction
(
const
Cuts
&
cuts
) :
theLastCut
(0),
theCuts
(cuts) {}
11
virtual
~CutsConeSizeFunction
() =
default
;
12
float
threshold
()
const
{
return
theLastCut
->
threshold
; }
13
float
coneSize
(
float
eta
,
float
pt
)
const
{
14
theLastCut
= &
theCuts
(eta);
15
return
theLastCut
->
conesize
;
16
}
17
private
:
18
mutable
const
Cuts::CutSpec
*
theLastCut
;
19
const
Cuts
&
theCuts
;
20
};
21
}
22
#endif
stringResolutionProvider_cfi.eta
eta
Definition:
stringResolutionProvider_cfi.py:14
muonisolation::Cuts::CutSpec::threshold
double threshold
Definition:
Cuts.h:15
particleFlowClusterECALTimeSelected_cfi.cuts
cuts
Definition:
particleFlowClusterECALTimeSelected_cfi.py:6
muonisolation::IsolatorByDeposit::ConeSizeFunction
Definition:
IsolatorByDeposit.h:21
EnergyCorrector.pt
pt
Definition:
EnergyCorrector.py:45
muonisolation::CutsConeSizeFunction
Definition:
CutsConeSizeFunction.h:8
muonisolation::CutsConeSizeFunction::theCuts
const Cuts & theCuts
Definition:
CutsConeSizeFunction.h:19
muonisolation::Cuts::CutSpec::conesize
double conesize
Definition:
Cuts.h:15
Cuts.h
muonisolation::Cuts
Definition:
Cuts.h:12
muonisolation::CutsConeSizeFunction::threshold
float threshold() const
Definition:
CutsConeSizeFunction.h:12
muonisolation::CutsConeSizeFunction::theLastCut
const Cuts::CutSpec * theLastCut
Definition:
CutsConeSizeFunction.h:18
muonisolation
Definition:
CandViewExtractor.h:17
IsolatorByDeposit.h
muonisolation::CutsConeSizeFunction::coneSize
float coneSize(float eta, float pt) const
Definition:
CutsConeSizeFunction.h:13
muonisolation::Cuts::CutSpec
Definition:
Cuts.h:15
muonisolation::CutsConeSizeFunction::CutsConeSizeFunction
CutsConeSizeFunction(const Cuts &cuts)
Definition:
CutsConeSizeFunction.h:10
muonisolation::CutsConeSizeFunction::~CutsConeSizeFunction
virtual ~CutsConeSizeFunction()=default
Generated for CMSSW Reference Manual by
1.8.11