CMS 3D CMS Logo

AbsFFTSpecificScaleCalculator.cc
Go to the documentation of this file.
3 
8 
10 {
11  (*this)["L2ResScaleCalculator"] = new ConcreteFFTJetObjectFactory<
13 
14  (*this)["L2RecoScaleCalculator"] = new ConcreteFFTJetObjectFactory<
15  AbsFFTSpecificScaleCalculator,L2RecoScaleCalculator>();
16 
17  (*this)["L2AbsScaleCalculator"] = new ConcreteFFTJetObjectFactory<
18  AbsFFTSpecificScaleCalculator,L2AbsScaleCalculator>();
19 
20  (*this)["FFTGenericScaleCalculator"] = new ConcreteFFTJetObjectFactory<
21  AbsFFTSpecificScaleCalculator,FFTGenericScaleCalculator>();
22 }
23 
25  const edm::ParameterSet& ps, const std::string& tableDescription)
26 {
27  std::string mapper_type(ps.getParameter<std::string>("Class"));
28  if (!mapper_type.compare("auto"))
29  mapper_type = tableDescription;
30 
32  mapper_type, ps);
33 }
T getParameter(std::string const &) const
AbsFFTSpecificScaleCalculator * parseFFTSpecificScaleCalculator(const edm::ParameterSet &ps, const std::string &tableDescription)
static const Factory & instance()