Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #include "FWCore/Framework/interface/MakerMacros.h"
0002 #include "FWCore/Framework/interface/ModuleFactory.h"
0003 #include "FWCore/Framework/interface/SourceFactory.h"
0004 #include "CondCore/ESSources/interface/registration_macros.h"
0005 #include "FWCore/PluginManager/interface/ModuleDef.h"
0006 #include "JetMETCorrections/Objects/interface/JetCorrector.h"
0007 #include "JetMETCorrections/Modules/interface/JetCorrectionESProducer.h"
0008 #include "JetMETCorrections/Modules/interface/JetCorrectionESSource.h"
0009 #include "JetMETCorrections/Modules/interface/JetCorrectionProducer.h"
0010 #include "JetMETCorrections/Modules/interface/JetResolutionESProducer.h"
0011 #include "JetMETCorrections/Algorithms/interface/LXXXCorrector.h"
0012 #include "JetMETCorrections/Algorithms/interface/L1OffsetCorrector.h"
0013 #include "JetMETCorrections/Algorithms/interface/L1JPTOffsetCorrector.h"
0014 #include "JetMETCorrections/Algorithms/interface/L1FastjetCorrector.h"
0015 #include "JetMETCorrections/Algorithms/interface/L6SLBCorrector.h"
0016 #include "DataFormats/JetReco/interface/CaloJet.h"
0017 #include "DataFormats/JetReco/interface/PFJet.h"
0018 #include "DataFormats/JetReco/interface/JPTJet.h"
0019 #include "DataFormats/JetReco/interface/TrackJet.h"
0020 #include "DataFormats/JetReco/interface/GenJet.h"
0021 #include "DataFormats/JetReco/interface/BasicJet.h"
0022 #include "CondFormats/JetMETObjects/interface/QGLikelihoodObject.h"
0023 
0024 using namespace cms;
0025 using namespace reco;
0026 
0027 typedef JetCorrectionProducer<CaloJet> CaloJetCorrectionProducer;
0028 DEFINE_FWK_MODULE(CaloJetCorrectionProducer);
0029 
0030 typedef JetCorrectionProducer<PFJet> PFJetCorrectionProducer;
0031 DEFINE_FWK_MODULE(PFJetCorrectionProducer);
0032 
0033 typedef JetCorrectionProducer<JPTJet> JPTJetCorrectionProducer;
0034 DEFINE_FWK_MODULE(JPTJetCorrectionProducer);
0035 
0036 typedef JetCorrectionProducer<TrackJet> TrackJetCorrectionProducer;
0037 DEFINE_FWK_MODULE(TrackJetCorrectionProducer);
0038 
0039 typedef JetCorrectionProducer<GenJet> GenJetCorrectionProducer;
0040 DEFINE_FWK_MODULE(GenJetCorrectionProducer);
0041 
0042 typedef JetCorrectionProducer<BasicJet> BasicJetCorrectionProducer;
0043 DEFINE_FWK_MODULE(BasicJetCorrectionProducer);
0044 
0045 DEFINE_FWK_EVENTSETUP_MODULE(JetResolutionESProducer);
0046 DEFINE_FWK_EVENTSETUP_MODULE(JetResolutionScaleFactorESProducer);
0047 
0048 //--------------- Generic LX corrections --------------------
0049 DEFINE_JET_CORRECTION_ESSOURCE(LXXXCorrector, LXXXCorrectionESSource);
0050 DEFINE_JET_CORRECTION_ESPRODUCER(LXXXCorrector, LXXXCorrectionESProducer);
0051 
0052 //--------------- L1 Offset subtraction corrections ---------
0053 DEFINE_JET_CORRECTION_ESSOURCE(L1OffsetCorrector, L1OffsetCorrectionESSource);
0054 DEFINE_JET_CORRECTION_ESPRODUCER(L1OffsetCorrector, L1OffsetCorrectionESProducer);
0055 
0056 //--------------- L1 Offset subtraction corrections ---------
0057 DEFINE_JET_CORRECTION_ESSOURCE(L1JPTOffsetCorrector, L1JPTOffsetCorrectionESSource);
0058 DEFINE_JET_CORRECTION_ESPRODUCER(L1JPTOffsetCorrector, L1JPTOffsetCorrectionESProducer);
0059 
0060 //--------------- L1 fastjet UE&PU subtraction corrections --
0061 DEFINE_JET_CORRECTION_ESSOURCE(L1FastjetCorrector, L1FastjetCorrectionESSource);
0062 DEFINE_JET_CORRECTION_ESPRODUCER(L1FastjetCorrector, L1FastjetCorrectionESProducer);
0063 
0064 //---------------  L6 SLB corrections -----------------------
0065 DEFINE_JET_CORRECTION_ESSOURCE(L6SLBCorrector, L6SLBCorrectionESSource);
0066 DEFINE_JET_CORRECTION_ESPRODUCER(L6SLBCorrector, L6SLBCorrectionESProducer);