diff --git a/PhysicsAnalysis/AnalysisCommon/IsolationSelection/share/testIsoCloseByCorr_jobOptions.py b/PhysicsAnalysis/AnalysisCommon/IsolationSelection/share/testIsoCloseByCorr_jobOptions.py index 42c8d47889439d1a4f8475c07bc791a9df80ddd1..c7104823bd8bedfade29d1c5b0a7b1446edad9db 100644 --- a/PhysicsAnalysis/AnalysisCommon/IsolationSelection/share/testIsoCloseByCorr_jobOptions.py +++ b/PhysicsAnalysis/AnalysisCommon/IsolationSelection/share/testIsoCloseByCorr_jobOptions.py @@ -55,7 +55,7 @@ ToolSvc += CfgMgr.CP__IsolationSelectionTool("MySelectionTool", MuonWP = "FixedC ## Configure CorrectionTool, feeding it our selection tool ToolSvc += CfgMgr.CP__IsolationCloseByCorrectionTool("IsolationCloseByCorrectionTool", IsolationSelectionTool=ToolSvc.MySelectionTool, - SelectionDecorator = "quality", + SelectionDecorator = "isCloseByObject", # PassOverlapDecorator = "passOR", IsolationSelectionDecorator = "CorrectedIsol" , BackupPrefix = "Default") diff --git a/PhysicsAnalysis/AnalysisCommon/IsolationSelection/src/TestIsolationCloseByCorrAthenaAlg.cxx b/PhysicsAnalysis/AnalysisCommon/IsolationSelection/src/TestIsolationCloseByCorrAthenaAlg.cxx index 0f8b9fe5ade829039f9b87c0d10f9fc6a90028d6..a78c15614b029789fb7195d765f036aec73745c3 100644 --- a/PhysicsAnalysis/AnalysisCommon/IsolationSelection/src/TestIsolationCloseByCorrAthenaAlg.cxx +++ b/PhysicsAnalysis/AnalysisCommon/IsolationSelection/src/TestIsolationCloseByCorrAthenaAlg.cxx @@ -15,12 +15,13 @@ #include <IsolationSelection/IIsolationSelectionTool.h> #include <IsolationSelection/IsoVariableHelper.h> #include <IsolationSelection/TestMacroHelpers.h> +#include <IsolationSelection/Defs.h> namespace CP { - static SG::AuxElement::Decorator<char> dec_PassQuality("quality"); - static SG::AuxElement::Decorator<char> dec_PassIsol("DefaultIso"); + static CharDecorator dec_PassQuality("isCloseByObject"); + static CharDecorator dec_PassIsol("defaultIso"); TestIsolationCloseByCorrAthenaAlg::TestIsolationCloseByCorrAthenaAlg(const std::string& name, ISvcLocator* svcLoc) : AthAlgorithm(name, svcLoc), diff --git a/PhysicsAnalysis/AnalysisCommon/IsolationSelection/util/testIsolationCloseByCorrectionTool.cxx b/PhysicsAnalysis/AnalysisCommon/IsolationSelection/util/testIsolationCloseByCorrectionTool.cxx index 12f9555887852e8fb061de731e0456ef5000c9f5..cef09e40f60df18eaace86899e926774a5918d5b 100644 --- a/PhysicsAnalysis/AnalysisCommon/IsolationSelection/util/testIsolationCloseByCorrectionTool.cxx +++ b/PhysicsAnalysis/AnalysisCommon/IsolationSelection/util/testIsolationCloseByCorrectionTool.cxx @@ -110,7 +110,7 @@ int main(int argc, char** argv) { CHECK(m_isoCloseByTool.setProperty("IsolationSelectionTool", m_isoSelTool.getHandle())); //Name of the quality decorator defining all nearby particles used to correct the isolation of a given particle - CHECK(m_isoCloseByTool.setProperty("SelectionDecorator", "quality")); + CHECK(m_isoCloseByTool.setProperty("SelectionDecorator", "isCloseByObject")); //If you want to use only particles survivving the overlap removal. Then just add this line. Only particles with auxdata<char>("passOR") == 1 are used //CHECK(m_isoCloseByTool.setProperty("PassOverlapDecorator","passOR")); @@ -153,7 +153,7 @@ int main(int argc, char** argv) { xAOD::ElectronContainer* Electrons = nullptr; xAOD::PhotonContainer* Photons = nullptr; - SG::AuxElement::Decorator<char> dec_PassQuality("quality"); + SG::AuxElement::Decorator<char> dec_PassQuality("isCloseByObject"); SG::AuxElement::Decorator<char> dec_PassIsol("DefaultIso"); for (Long64_t entry = 0; entry < maxEVT; ++entry) {