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.

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 }

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

Referenced by parseFFTJetScaleCalculator().

StaticFFTJetObjectFactory::instance
static const Factory & instance()
Definition: FFTJetObjectFactory.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet::getParameter
T getParameter(std::string const &) const