Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-08-04 22:45:15

0001 #ifndef JetMETCorrections_FFTJetObjects_FFTJetCorrectorSequenceTypemap_h
0002 #define JetMETCorrections_FFTJetObjects_FFTJetCorrectorSequenceTypemap_h
0003 
0004 #include "DataFormats/JetReco/interface/CaloJet.h"
0005 #include "DataFormats/JetReco/interface/GenJet.h"
0006 #include "DataFormats/JetReco/interface/JPTJet.h"
0007 #include "DataFormats/JetReco/interface/PFJet.h"
0008 #include "DataFormats/JetReco/interface/BasicJet.h"
0009 #include "DataFormats/JetReco/interface/TrackJet.h"
0010 #include "DataFormats/JetReco/interface/FFTAnyJet.h"
0011 
0012 #include "JetMETCorrections/FFTJetObjects/interface/FFTJetCorrectorSequenceLoader.h"
0013 
0014 template <typename T>
0015 struct FFTJetCorrectorSequenceTypemap {};
0016 
0017 template <>
0018 struct FFTJetCorrectorSequenceTypemap<reco::FFTAnyJet<reco::BasicJet> > {
0019   typedef FFTBasicJetCorrectorSequenceLoader loader;
0020 };
0021 
0022 template <>
0023 struct FFTJetCorrectorSequenceTypemap<reco::FFTAnyJet<reco::CaloJet> > {
0024   typedef FFTCaloJetCorrectorSequenceLoader loader;
0025 };
0026 
0027 template <>
0028 struct FFTJetCorrectorSequenceTypemap<reco::FFTAnyJet<reco::GenJet> > {
0029   typedef FFTGenJetCorrectorSequenceLoader loader;
0030 };
0031 
0032 template <>
0033 struct FFTJetCorrectorSequenceTypemap<reco::FFTAnyJet<reco::PFJet> > {
0034   typedef FFTPFJetCorrectorSequenceLoader loader;
0035 };
0036 
0037 template <>
0038 struct FFTJetCorrectorSequenceTypemap<reco::FFTAnyJet<reco::TrackJet> > {
0039   typedef FFTTrackJetCorrectorSequenceLoader loader;
0040 };
0041 
0042 template <>
0043 struct FFTJetCorrectorSequenceTypemap<reco::FFTAnyJet<reco::JPTJet> > {
0044   typedef FFTJPTJetCorrectorSequenceLoader loader;
0045 };
0046 
0047 #endif  // JetMETCorrections_FFTJetObjects_FFTJetCorrectorSequenceTypemap_h