Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
float
threshold
()
const
{
return
theLastCut
->
threshold
; }
12
float
coneSize
(
float
eta
,
float
pt
)
const
{
13
theLastCut
= &
theCuts
(eta);
14
return
theLastCut
->
conesize
;
15
}
16
private
:
17
mutable
const
Cuts::CutSpec
*
theLastCut
;
18
const
Cuts
&
theCuts
;
19
};
20
}
21
#endif
muonisolation::Cuts::CutSpec::threshold
double threshold
Definition:
Cuts.h:15
muonisolation::IsolatorByDeposit::ConeSizeFunction
Definition:
IsolatorByDeposit.h:21
eta
T eta() const
Definition:
Basic3DVectorLD.h:177
muonisolation::CutsConeSizeFunction
Definition:
CutsConeSizeFunction.h:8
muonisolation::CutsConeSizeFunction::theCuts
const Cuts & theCuts
Definition:
CutsConeSizeFunction.h:18
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:11
muonisolation::CutsConeSizeFunction::theLastCut
const Cuts::CutSpec * theLastCut
Definition:
CutsConeSizeFunction.h:17
EnergyCorrector.pt
int pt
Definition:
EnergyCorrector.py:45
IsolatorByDeposit.h
muonisolation::CutsConeSizeFunction::coneSize
float coneSize(float eta, float pt) const
Definition:
CutsConeSizeFunction.h:12
Reconstruction_Data_cff.cuts
tuple cuts
Definition:
Reconstruction_Data_cff.py:22
muonisolation::Cuts::CutSpec
Definition:
Cuts.h:15
muonisolation::CutsConeSizeFunction::CutsConeSizeFunction
CutsConeSizeFunction(const Cuts &cuts)
Definition:
CutsConeSizeFunction.h:10
Generated for CMSSW Reference Manual by
1.8.5