Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:23

0001 /** \class reco::FFTAnyJet
0002  *
0003  * \short Implements inheritance relationships for FFTJet jets
0004  *
0005  * \author Igor Volobouev, TTU
0006  *
0007  ************************************************************/
0008 
0009 #ifndef DataFormats_JetReco_FFTAnyJet_h
0010 #define DataFormats_JetReco_FFTAnyJet_h
0011 
0012 #include "DataFormats/JetReco/interface/FFTJet.h"
0013 
0014 namespace reco {
0015   template <class AnyJet>
0016   class FFTAnyJet : public AnyJet {
0017   public:
0018     typedef AnyJet Base;
0019 
0020     inline FFTAnyJet() : AnyJet(), fftJetSpecific_() {}
0021     inline ~FFTAnyJet() override {}
0022 
0023     inline FFTAnyJet(const AnyJet& jet, const FFTJet<float>& fftjet) : AnyJet(jet), fftJetSpecific_(fftjet) {}
0024 
0025     inline FFTAnyJet* clone() const override { return new FFTAnyJet(*this); }
0026 
0027     inline const FFTJet<float>& getFFTSpecific() const { return fftJetSpecific_; }
0028 
0029   private:
0030     FFTJet<float> fftJetSpecific_;
0031   };
0032 }  // namespace reco
0033 
0034 #endif  // DataFormats_JetReco_FFTAnyJet_h