CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L3NominalEfficiencyConfigurator.cc
Go to the documentation of this file.
3 
4 using namespace muonisolation;
5 
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 
27 
28 {
29 
31  double threshold = theConfig.getParameter<double>("NominalEfficiency");
32  return nomEff.cuts(threshold);
33 
34 }
35 
T getParameter(std::string const &) const
tuple lumi
Definition: fjr2json.py:41
L3NominalEfficiencyConfigurator(const edm::ParameterSet &pset)
dbl *** dir
Definition: mlp_gen.cc:35