test
CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 24 of file AbsFFTSpecificScaleCalculator.cc.

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

Referenced by parseFFTJetScaleCalculator().

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
static const Factory & instance()