Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:25:22

0001 #ifndef RecoJets_FFTJetProducers_FFTJetParameterParser_h
0002 #define RecoJets_FFTJetProducers_FFTJetParameterParser_h
0003 
0004 #include <memory>
0005 #include <vector>
0006 
0007 #include "fftjet/RecombinedJet.hh"
0008 #include "fftjet/PeakFinder.hh"
0009 #include "fftjet/Grid2d.hh"
0010 #include "fftjet/AbsPeakSelector.hh"
0011 #include "fftjet/ScaleSpaceKernel.hh"
0012 #include "fftjet/ClusteringTreeSparsifier.hh"
0013 #include "fftjet/AbsDistanceCalculator.hh"
0014 #include "fftjet/LinearInterpolator1d.hh"
0015 #include "fftjet/LinearInterpolator2d.hh"
0016 #include "fftjet/SimpleFunctors.hh"
0017 #include "fftjet/JetMagnitudeMapper2d.hh"
0018 
0019 #include "FWCore/ParameterSet/interface/ParameterSetfwd.h"
0020 #include "RecoJets/FFTJetAlgorithms/interface/fftjetTypedefs.h"
0021 #include "RecoJets/FFTJetAlgorithms/interface/LinInterpolatedTable1D.h"
0022 #include "RecoJets/FFTJetAlgorithms/interface/AbsPileupCalculator.h"
0023 
0024 namespace fftjetcms {
0025   // Pseudo-constructors for various FFTJet classes using ParameterSet
0026   // objects as arguments
0027   std::unique_ptr<fftjet::Grid2d<Real> > fftjet_Grid2d_parser(const edm::ParameterSet& ps);
0028 
0029   std::unique_ptr<fftjet::Functor1<bool, fftjet::Peak> > fftjet_PeakSelector_parser(const edm::ParameterSet& ps);
0030 
0031   std::unique_ptr<fftjet::ScaleSpaceKernel> fftjet_MembershipFunction_parser(const edm::ParameterSet& ps);
0032 
0033   std::unique_ptr<AbsBgFunctor> fftjet_BgFunctor_parser(const edm::ParameterSet& ps);
0034 
0035   std::unique_ptr<std::vector<double> > fftjet_ScaleSet_parser(const edm::ParameterSet& ps);
0036 
0037   std::unique_ptr<fftjet::ClusteringTreeSparsifier<fftjet::Peak, long> > fftjet_ClusteringTreeSparsifier_parser(
0038       const edm::ParameterSet& ps);
0039 
0040   std::unique_ptr<fftjet::AbsDistanceCalculator<fftjet::Peak> > fftjet_DistanceCalculator_parser(
0041       const edm::ParameterSet& ps);
0042 
0043   std::unique_ptr<fftjet::LinearInterpolator1d> fftjet_LinearInterpolator1d_parser(const edm::ParameterSet& ps);
0044 
0045   std::unique_ptr<fftjet::LinearInterpolator2d> fftjet_LinearInterpolator2d_parser(const edm::ParameterSet& ps);
0046 
0047   std::unique_ptr<fftjetcms::LinInterpolatedTable1D> fftjet_LinInterpolatedTable1D_parser(const edm::ParameterSet& ps);
0048 
0049   std::unique_ptr<fftjet::Functor1<double, fftjet::Peak> > fftjet_PeakFunctor_parser(const edm::ParameterSet& ps);
0050 
0051   std::unique_ptr<fftjet::Functor1<double, fftjet::RecombinedJet<VectorLike> > > fftjet_JetFunctor_parser(
0052       const edm::ParameterSet& ps);
0053 
0054   std::unique_ptr<fftjet::Functor2<double, fftjet::RecombinedJet<VectorLike>, fftjet::RecombinedJet<VectorLike> > >
0055   fftjet_JetDistance_parser(const edm::ParameterSet& ps);
0056 
0057   std::unique_ptr<fftjet::Functor1<double, double> > fftjet_Function_parser(const edm::ParameterSet& ps);
0058 
0059   std::unique_ptr<AbsPileupCalculator> fftjet_PileupCalculator_parser(const edm::ParameterSet& ps);
0060 
0061   std::unique_ptr<fftjet::JetMagnitudeMapper2d<fftjet::Peak> > fftjet_PeakMagnitudeMapper2d_parser(
0062       const edm::ParameterSet& ps);
0063 
0064   std::unique_ptr<fftjet::JetMagnitudeMapper2d<fftjet::RecombinedJet<VectorLike> > > fftjet_JetMagnitudeMapper2d_parser(
0065       const edm::ParameterSet& ps);
0066 }  // namespace fftjetcms
0067 
0068 #endif  // RecoJets_FFTJetProducers_FFTJetParameterParser_h