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"

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 20 of file AbsFFTSpecificScaleCalculator.cc.

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

Referenced by parseFFTJetScaleCalculator().

22 {
23  std::string mapper_type(ps.getParameter<std::string>("Class"));
24  if (!mapper_type.compare("auto"))
25  mapper_type = tableDescription;
26 
28  mapper_type, ps);
29 }
T getParameter(std::string const &) const
static const Factory & instance()