diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopCPTools/Root/TopJetMETCPTools.cxx b/PhysicsAnalysis/TopPhys/xAOD/TopCPTools/Root/TopJetMETCPTools.cxx index bbc12e482acf210847f7e02057d47ac58fbdd27f..f5649401e524b1a17b54b0284028b3207bd45e8e 100644 --- a/PhysicsAnalysis/TopPhys/xAOD/TopCPTools/Root/TopJetMETCPTools.cxx +++ b/PhysicsAnalysis/TopPhys/xAOD/TopCPTools/Root/TopJetMETCPTools.cxx @@ -445,10 +445,12 @@ namespace top { // jets) are applied bool JERisMC = true; - m_jetUncertaintiesToolLargeR - = setupJetUncertaintiesTool("JetUncertaintiesToolLargeR", - jetCalibrationNameLargeR, MC_type, JERisMC, - configDir + "/R10_" + largeRJESJMS_config + ".config", nullptr, "", calibArea); + if(m_config->largeRJESJMSConfig() != "UFOSDMass"){ + m_jetUncertaintiesToolLargeR + = setupJetUncertaintiesTool("JetUncertaintiesToolLargeR", + jetCalibrationNameLargeR, MC_type, JERisMC, + configDir + "/R10_" + largeRJESJMS_config + ".config", nullptr, "", calibArea); + } return StatusCode::SUCCESS; } diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopSystematicObjectMaker/Root/JetObjectCollectionMaker.cxx b/PhysicsAnalysis/TopPhys/xAOD/TopSystematicObjectMaker/Root/JetObjectCollectionMaker.cxx index 03b216796bfb45dbf89590b47d1fcc43b06d5697..741fd788bc65b710fe5ef19323ebb5dc962473f0 100644 --- a/PhysicsAnalysis/TopPhys/xAOD/TopSystematicObjectMaker/Root/JetObjectCollectionMaker.cxx +++ b/PhysicsAnalysis/TopPhys/xAOD/TopSystematicObjectMaker/Root/JetObjectCollectionMaker.cxx @@ -94,8 +94,10 @@ namespace top { if (m_config->useLargeRJets()) { top::check(m_jetCalibrationToolLargeR.retrieve(), "Failed to retrieve JetCalibrationToolLargeR"); - top::check(m_jetUncertaintiesToolLargeR.retrieve(), - "Failed to retrieve JetUncertaintiesToolLargeR"); + if(m_config->largeRJESJMSConfig() != "UFOSDMass"){ + top::check(m_jetUncertaintiesToolLargeR.retrieve(), + "Failed to retrieve JetUncertaintiesToolLargeR"); + } } if (m_config->getDerivationStream() == "PHYS") {