Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:21:26

0001 #ifndef JetMETCorrections_FFTJetObjects_FFTJetCorrectionsTypemap_h
0002 #define JetMETCorrections_FFTJetObjects_FFTJetCorrectionsTypemap_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 "CondFormats/JetMETObjects/interface/FFTJetCorrTypes.h"
0013 
0014 template <typename Correction>
0015 struct FFTJetCorrectionsTypemap {};
0016 
0017 #define FFTJET_CORRECTIONS_TYPEMAP_ENTRY(fromtype, totype)  \
0018   template <>                                               \
0019   struct FFTJetCorrectionsTypemap<fftcorrtypes::fromtype> { \
0020     typedef reco::FFTAnyJet<reco::totype> jet_type;         \
0021   }
0022 
0023 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(BasicJet, BasicJet);
0024 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(GenJet, GenJet);
0025 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(CaloJet, CaloJet);
0026 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PFJet, PFJet);
0027 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(TrackJet, TrackJet);
0028 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(JPTJet, JPTJet);
0029 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PFCHS0, PFJet);
0030 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PFCHS1, PFJet);
0031 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PFCHS2, PFJet);
0032 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(BasicJetSys, BasicJet);
0033 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(GenJetSys, GenJet);
0034 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(CaloJetSys, CaloJet);
0035 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PFJetSys, PFJet);
0036 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(TrackJetSys, TrackJet);
0037 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(JPTJetSys, JPTJet);
0038 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PFCHS0Sys, PFJet);
0039 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PFCHS1Sys, PFJet);
0040 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PFCHS2Sys, PFJet);
0041 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Gen0, GenJet);
0042 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Gen1, GenJet);
0043 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Gen2, GenJet);
0044 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PF0, PFJet);
0045 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PF1, PFJet);
0046 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PF2, PFJet);
0047 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PF3, PFJet);
0048 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PF4, PFJet);
0049 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Calo0, CaloJet);
0050 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Calo1, CaloJet);
0051 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Calo2, CaloJet);
0052 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Calo3, CaloJet);
0053 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Calo4, CaloJet);
0054 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Gen0Sys, GenJet);
0055 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Gen1Sys, GenJet);
0056 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Gen2Sys, GenJet);
0057 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PF0Sys, PFJet);
0058 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PF1Sys, PFJet);
0059 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PF2Sys, PFJet);
0060 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PF3Sys, PFJet);
0061 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PF4Sys, PFJet);
0062 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PF5Sys, PFJet);
0063 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PF6Sys, PFJet);
0064 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PF7Sys, PFJet);
0065 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PF8Sys, PFJet);
0066 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(PF9Sys, PFJet);
0067 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Calo0Sys, CaloJet);
0068 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Calo1Sys, CaloJet);
0069 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Calo2Sys, CaloJet);
0070 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Calo3Sys, CaloJet);
0071 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Calo4Sys, CaloJet);
0072 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Calo5Sys, CaloJet);
0073 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Calo6Sys, CaloJet);
0074 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Calo7Sys, CaloJet);
0075 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Calo8Sys, CaloJet);
0076 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(Calo9Sys, CaloJet);
0077 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(CHS0Sys, PFJet);
0078 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(CHS1Sys, PFJet);
0079 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(CHS2Sys, PFJet);
0080 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(CHS3Sys, PFJet);
0081 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(CHS4Sys, PFJet);
0082 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(CHS5Sys, PFJet);
0083 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(CHS6Sys, PFJet);
0084 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(CHS7Sys, PFJet);
0085 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(CHS8Sys, PFJet);
0086 FFTJET_CORRECTIONS_TYPEMAP_ENTRY(CHS9Sys, PFJet);
0087 
0088 #endif  // JetMETCorrections_FFTJetObjects_FFTJetCorrectionsTypemap_h