CMS 3D CMS Logo

L3NominalEfficiencyConfigurator.cc
Go to the documentation of this file.
3 
4 using namespace muonisolation;
5 
7  : theConfig(pset), theWeights(std::vector<double>(1, 1.)) {
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 
23 
24 {
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::cuts
Cuts cuts(float nominalEfficiency) const
Definition: IsolatorByNominalEfficiency.cc:144
L3NominalEfficiencyConfigurator.h
muonisolation::Cuts
Definition: Cuts.h:14
L3NominalEfficiencyConfigurator::theFileName
std::string theFileName
Definition: L3NominalEfficiencyConfigurator.h:18
muonisolation::IsolatorByNominalEfficiency
Definition: IsolatorByNominalEfficiency.h:22
L3NominalEfficiencyConfigurator::cuts
muonisolation::Cuts cuts() const
Definition: L3NominalEfficiencyConfigurator.cc:22
edm::ParameterSet
Definition: ParameterSet.h:47
IsolatorByNominalEfficiency.h
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
muonisolation
Definition: CandViewExtractor.h:16
std
Definition: JetResolutionObject.h:76
L3NominalEfficiencyConfigurator::theConfig
edm::ParameterSet theConfig
Definition: L3NominalEfficiencyConfigurator.h:15
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
remoteMonitoring_LED_IterMethod_cfg.threshold
threshold
Definition: remoteMonitoring_LED_IterMethod_cfg.py:430
lumi
Definition: LumiSectionData.h:20
L3NominalEfficiencyConfigurator::L3NominalEfficiencyConfigurator
L3NominalEfficiencyConfigurator(const edm::ParameterSet &pset)
Definition: L3NominalEfficiencyConfigurator.cc:6
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23