CMS 3D CMS Logo

AbsFFTSpecificScaleCalculator.h
Go to the documentation of this file.
1 #ifndef JetMETCorrections_FFTJetObjects_AbsFFTSpecificScaleCalculator_h
2 #define JetMETCorrections_FFTJetObjects_AbsFFTSpecificScaleCalculator_h
3 
8 
9 //
10 // A non-templated base class which can often be used to provide
11 // the mapping from jet quantities into lookup table variables
12 //
14 {
15  inline virtual ~AbsFFTSpecificScaleCalculator() {}
16 
17  virtual void mapFFTJet(const reco::Jet& jet,
18  const reco::FFTJet<float>& fftJet,
19  const math::XYZTLorentzVector& current,
20  double* buf, unsigned dim) const = 0;
21 };
22 
23 //
24 // The factory for classes derived from AbsFFTSpecificScaleCalculator.
25 // Note that there are no public constructors of this factory. All API
26 // is via the static wrapper.
27 //
29  public DefaultFFTJetObjectFactory<AbsFFTSpecificScaleCalculator>
30 {
34 };
35 
38 
40  const edm::ParameterSet& ps, const std::string& tableDescription);
41 
42 #endif // JetMETCorrections_FFTJetObjects_AbsFFTSpecificScaleCalculator_h
Base class for all types of Jets.
Definition: Jet.h:20
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
virtual void mapFFTJet(const reco::Jet &jet, const reco::FFTJet< float > &fftJet, const math::XYZTLorentzVector &current, double *buf, unsigned dim) const =0
DefaultFFTJetObjectFactory< AbsFFTSpecificScaleCalculator > Base
AbsFFTSpecificScaleCalculator * parseFFTSpecificScaleCalculator(const edm::ParameterSet &ps, const std::string &tableDescription)
StaticFFTJetObjectFactory< FFTSpecificScaleCalculatorFactory > StaticFFTSpecificScaleCalculatorFactory