25 from PhysicsTools.PatUtils.tools.muonRecoMitigation
import muonRecoMitigation
26 from PhysicsTools.PatUtils.tools.runMETCorrectionsAndUncertainties
import runMetCorAndUncFromMiniAOD, runMetCorAndUncForMiniAODProduction
29 pfCandCollection=pfCandCollection,
30 runOnMiniAOD=runOnMiniAOD,
31 muonCollection=muonCollection,
32 selection=muSelection,
33 cleaningScheme=
"duplicated",
38 pfCandColl=
"cleanMuonsPFCandidates"+postfix,
40 postfix=
"MuClean"+postfix
44 pfCandColl=
"cleanMuonsPFCandidates"+postfix,
46 postfix=
"MuClean"+postfix
51 from PhysicsTools.PatUtils.tools.eGammaCorrection
import eGammaCorrection
55 pFix=
"MuClean"+postfix
if muCorrection
else eGPFix
56 metCollections=[
"patPFMetT1"+pFix]
58 metCollections.extend([
60 "patPFMetT0pcT1"+pFix,
62 "patPFMetT1Smear"+pFix,
63 "patPFMetT1SmearTxy"+pFix,
64 "patPFMetT0pcT1SmearTxy"+pFix,
66 "patPFMetT0pcT1Txy"+pFix,
70 variations=[
"Up",
"Down"]
71 for var
in variations:
72 metCollections.extend([
73 "patPFMetT1JetEn"+var+pFix,
74 "patPFMetT1JetRes"+var+pFix,
75 "patPFMetT1SmearJetRes"+var+pFix,
76 "patPFMetT1ElectronEn"+var+pFix,
77 "patPFMetT1PhotonEn"+var+pFix,
78 "patPFMetT1MuonEn"+var+pFix,
79 "patPFMetT1TauEn"+var+pFix,
80 "patPFMetT1UnclusteredEn"+var+pFix,
83 eGPfCandCollection= pfCandCollection
if not muCorrection
else "cleanMuonsPFCandidates"+postfix
85 electronCollection=electronCollection,
86 photonCollection=photonCollection,
87 corElectronCollection=corElectronCollection,
88 corPhotonCollection=corPhotonCollection,
89 metCollections=metCollections,
90 pfCandMatching=eGPfCandMatching,
91 pfCandidateCollection=eGPfCandCollection,
92 corMetName=corMetName,
def runMetCorAndUncForMiniAODProduction
def runMetCorAndUncFromMiniAOD