Main Page
Namespaces
Classes
Package Documentation
RecoMuon
L3MuonIsolationProducer
src
L3NominalEfficiencyConfigurator.cc
Go to the documentation of this file.
1
#include "
L3NominalEfficiencyConfigurator.h
"
2
#include "
RecoMuon/MuonIsolation/interface/IsolatorByNominalEfficiency.h
"
3
4
using namespace
muonisolation
;
5
6
L3NominalEfficiencyConfigurator::L3NominalEfficiencyConfigurator
(
const
edm::ParameterSet
&
pset
)
7
: theConfig(pset), theWeights(
std
::vector<double>(1,1.))
8
{
9
std::string
name
=
theConfig
.
getParameter
<
std::string
>(
"ComponentName"
);
10
std::string
lumi
=
theConfig
.
getParameter
<
std::string
>(
"LumiOption"
);
11
12
std::string
dir
=
"RecoMuon/L3MuonIsolationProducer/data/"
;
13
if
(name==
"L3NominalEfficiencyCuts_PXLS"
) {
14
if
(lumi==
"2E33"
) {
15
theFileName
= dir+
"L3Pixel_PTDR_2x1033.dat"
;
16
theBestCones
= std::vector<std::string>(1,
"8:0.97"
);
17
}
18
}
19
else
if
( name==
"L3NominalEfficiencyCuts_TRKS"
) {
20
}
21
else
{
22
23
}
24
}
25
26
Cuts
L3NominalEfficiencyConfigurator::cuts
()
const
27
28
{
29
30
IsolatorByNominalEfficiency
nomEff(
theFileName
,
theBestCones
,
theWeights
);
31
double
threshold
=
theConfig
.
getParameter
<
double
>(
"NominalEfficiency"
);
32
return
nomEff.
cuts
(threshold);
33
34
}
35
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
L3NominalEfficiencyConfigurator::theWeights
std::vector< double > theWeights
Definition:
L3NominalEfficiencyConfigurator.h:16
L3NominalEfficiencyConfigurator::theBestCones
std::vector< std::string > theBestCones
Definition:
L3NominalEfficiencyConfigurator.h:15
muonisolation::IsolatorByNominalEfficiency
Definition:
IsolatorByNominalEfficiency.h:20
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
L3NominalEfficiencyConfigurator::theConfig
edm::ParameterSet theConfig
Definition:
L3NominalEfficiencyConfigurator.h:14
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
std
Definition:
JetResolutionObject.h:80
electronIdCutBased_cfi.threshold
threshold
Definition:
electronIdCutBased_cfi.py:6
muonisolation::Cuts
Definition:
Cuts.h:12
muonisolation
Definition:
CandViewExtractor.h:17
muonisolation::IsolatorByNominalEfficiency::cuts
Cuts cuts(float nominalEfficiency) const
Definition:
IsolatorByNominalEfficiency.cc:145
L3NominalEfficiencyConfigurator::cuts
muonisolation::Cuts cuts() const
Definition:
L3NominalEfficiencyConfigurator.cc:26
IsolatorByNominalEfficiency.h
L3NominalEfficiencyConfigurator::theFileName
std::string theFileName
Definition:
L3NominalEfficiencyConfigurator.h:17
L3NominalEfficiencyConfigurator::L3NominalEfficiencyConfigurator
L3NominalEfficiencyConfigurator(const edm::ParameterSet &pset)
Definition:
L3NominalEfficiencyConfigurator.cc:6
L3NominalEfficiencyConfigurator.h
edm::ParameterSet
Definition:
ParameterSet.h:36
dir
dbl *** dir
Definition:
mlp_gen.cc:35
lumi
Definition:
LumiSectionData.h:20
dataset.name
name
Definition:
dataset.py:45
Generated for CMSSW Reference Manual by
1.8.11