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 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
L3NominalEfficiencyConfigurator(const edm::ParameterSet &pset)