CMS 3D CMS Logo

Classes | Typedefs | Functions
AbsFFTSpecificScaleCalculator.h File Reference
#include "DataFormats/JetReco/interface/Jet.h"
#include "DataFormats/JetReco/interface/FFTJet.h"
#include "DataFormats/Math/interface/LorentzVector.h"
#include "JetMETCorrections/FFTJetObjects/interface/FFTJetObjectFactory.h"

Go to the source code of this file.

Classes

struct  AbsFFTSpecificScaleCalculator
 
class  FFTSpecificScaleCalculatorFactory
 

Typedefs

typedef StaticFFTJetObjectFactory< FFTSpecificScaleCalculatorFactoryStaticFFTSpecificScaleCalculatorFactory
 

Functions

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

Typedef Documentation

◆ StaticFFTSpecificScaleCalculatorFactory

Definition at line 34 of file AbsFFTSpecificScaleCalculator.h.

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