Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
std::string
name
=
theConfig
.
getParameter
<
std::string
>(
"ComponentName"
);
9
std::string
lumi
=
theConfig
.
getParameter
<
std::string
>(
"LumiOption"
);
10
11
std::string
dir
=
"RecoMuon/L3MuonIsolationProducer/data/"
;
12
if
(name ==
"L3NominalEfficiencyCuts_PXLS"
) {
13
if
(lumi ==
"2E33"
) {
14
theFileName
= dir +
"L3Pixel_PTDR_2x1033.dat"
;
15
theBestCones
= std::vector<std::string>(1,
"8:0.97"
);
16
}
17
}
else
if
(name ==
"L3NominalEfficiencyCuts_TRKS"
) {
18
}
else
{
19
}
20
}
21
22
Cuts
L3NominalEfficiencyConfigurator::cuts
()
const
23
24
{
25
IsolatorByNominalEfficiency
nomEff(
theFileName
,
theBestCones
,
theWeights
);
26
double
threshold
=
theConfig
.
getParameter
<
double
>(
"NominalEfficiency"
);
27
return
nomEff.
cuts
(threshold);
28
}
L3NominalEfficiencyConfigurator::theWeights
std::vector< double > theWeights
Definition:
L3NominalEfficiencyConfigurator.h:17
L3NominalEfficiencyConfigurator::theBestCones
std::vector< std::string > theBestCones
Definition:
L3NominalEfficiencyConfigurator.h:16
muonisolation::IsolatorByNominalEfficiency
Definition:
IsolatorByNominalEfficiency.h:22
TrackValidation_cff.pset
tuple pset
Definition:
TrackValidation_cff.py:591
L3NominalEfficiencyConfigurator::theConfig
edm::ParameterSet theConfig
Definition:
L3NominalEfficiencyConfigurator.h:15
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:78
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DeadROC_duringRun.dir
string dir
Definition:
DeadROC_duringRun.py:23
muonisolation::Cuts
Definition:
Cuts.h:14
dtDQMClient_cfg.threshold
tuple threshold
Definition:
dtDQMClient_cfg.py:15
muonisolation::IsolatorByNominalEfficiency::cuts
Cuts cuts(float nominalEfficiency) const
Definition:
IsolatorByNominalEfficiency.cc:144
dqmdumpme.lumi
list lumi
Definition:
dqmdumpme.py:53
L3NominalEfficiencyConfigurator::cuts
muonisolation::Cuts cuts() const
Definition:
L3NominalEfficiencyConfigurator.cc:22
IsolatorByNominalEfficiency.h
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition:
ParameterSet.h:303
L3NominalEfficiencyConfigurator::theFileName
std::string theFileName
Definition:
L3NominalEfficiencyConfigurator.h:18
L3NominalEfficiencyConfigurator::L3NominalEfficiencyConfigurator
L3NominalEfficiencyConfigurator(const edm::ParameterSet &pset)
Definition:
L3NominalEfficiencyConfigurator.cc:6
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
L3NominalEfficiencyConfigurator.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Generated for CMSSW Reference Manual by
1.8.5