CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
AbsFFTSpecificScaleCalculator.cc File Reference
#include "JetMETCorrections/FFTJetObjects/interface/AbsFFTSpecificScaleCalculator.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "JetMETCorrections/FFTJetObjects/interface/FFTGenericScaleCalculator.h"
#include "JetMETCorrections/FFTJetObjects/interface/L2AbsScaleCalculator.h"
#include "JetMETCorrections/FFTJetObjects/interface/L2ResScaleCalculator.h"
#include "JetMETCorrections/FFTJetObjects/interface/L2RecoScaleCalculator.h"

Go to the source code of this file.

Functions

AbsFFTSpecificScaleCalculatorparseFFTSpecificScaleCalculator (const edm::ParameterSet &ps, const std::string &tableDescription)
 

Function Documentation

AbsFFTSpecificScaleCalculator* parseFFTSpecificScaleCalculator ( const edm::ParameterSet ps,
const std::string &  tableDescription 
)

Definition at line 23 of file AbsFFTSpecificScaleCalculator.cc.

References edm::ParameterSet::getParameter(), StaticFFTJetObjectFactory< Factory >::instance(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by parseFFTJetScaleCalculator().

24  {
25  std::string mapper_type(ps.getParameter<std::string>("Class"));
26  if (!mapper_type.compare("auto"))
27  mapper_type = tableDescription;
28 
29  return StaticFFTSpecificScaleCalculatorFactory::instance().create(mapper_type, ps);
30 }
static const Factory & instance()
T getParameter(std::string const &) const
Definition: ParameterSet.h:303