File indexing completed on 2024-04-06 12:19:17
0001 #ifndef FFTJetCorrectorTransientFromJet_h
0002 #define FFTJetCorrectorTransientFromJet_h
0003
0004 #include "JetMETCorrections/FFTJetObjects/interface/FFTJetCorrectorTransient.h"
0005 #include "DataFormats/JetReco/interface/Jet.h"
0006
0007 template <typename MyJet>
0008 struct FFTJetCorrectorTransientFromJet {
0009 typedef MyJet jet_type;
0010 typedef FFTJetCorrectorTransient result_type;
0011
0012 inline result_type operator()(const jet_type& j) const { return result_type(j.getFFTSpecific().f_vec()); }
0013 };
0014
0015 #endif