CMS 3D CMS Logo

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

◆ parseFFTSpecificScaleCalculator()

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 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
static const Factory & instance()