diff --git a/PhysicsAnalysis/AnalysisCommon/IsolationSelection/CMakeLists.txt b/PhysicsAnalysis/AnalysisCommon/IsolationSelection/CMakeLists.txt index 26a5f2b88b4eaf198aae85acb1682258b621778e..028f59e96b0bfd71fd731a9ea15f45a4675d38b8 100644 --- a/PhysicsAnalysis/AnalysisCommon/IsolationSelection/CMakeLists.txt +++ b/PhysicsAnalysis/AnalysisCommon/IsolationSelection/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration +# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration # Declare the package name: atlas_subdir( IsolationSelection ) @@ -18,7 +18,8 @@ atlas_add_library( IsolationSelectionLib PRIVATE_INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} LINK_LIBRARIES AthContainers AsgTools xAODBase xAODEgamma xAODMuon xAODEventInfo ${extra_libs} xAODPrimitives PATCoreLib PATInterfaces InDetTrackSelectionToolLib xAODTracking - PRIVATE_LINK_LIBRARIES ${ROOT_LIBRARIES} PathResolver FourMomUtils TrackVertexAssociationToolLib InDetTrackSelectionToolLib ) + ${ROOT_LIBRARIES} + PRIVATE_LINK_LIBRARIES PathResolver FourMomUtils TrackVertexAssociationToolLib InDetTrackSelectionToolLib ) if( NOT XAOD_STANDALONE ) atlas_add_component( IsolationSelection diff --git a/PhysicsAnalysis/AnalysisCommon/IsolationSelection/Root/IsolationSelectionTool.cxx b/PhysicsAnalysis/AnalysisCommon/IsolationSelection/Root/IsolationSelectionTool.cxx index d0bc43403a314e18e540cf9c3372105ed5d9e5b0..4af1ca374800bb883639cbfc3c67a3bb454c5510 100644 --- a/PhysicsAnalysis/AnalysisCommon/IsolationSelection/Root/IsolationSelectionTool.cxx +++ b/PhysicsAnalysis/AnalysisCommon/IsolationSelection/Root/IsolationSelectionTool.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration */ #include <xAODPrimitives/IsolationType.h> @@ -290,8 +290,14 @@ namespace CP { addCutToWP(wp, m_elWPKey, xAOD::Iso::ptvarcone20, "0.057*x+95.57"); addCutToWP(wp, m_elWPKey, xAOD::Iso::topoetcone20, "0.057*x+95.57"); // Using fixed cuts + } else if (elWPname == "FixedCutTight") { + wp->addCut(new IsolationConditionFormula("ptvarcone20R0p06", xAOD::Iso::ptvarcone20, "0.06*x")); + wp->addCut(new IsolationConditionFormula("topoetcone20R0p06", xAOD::Iso::topoetcone20, "0.06*x")); } else if (elWPname == "FixedCutTightTrackOnly") { wp->addCut(new IsolationConditionFormula("ptvarcone20R0p06", xAOD::Iso::ptvarcone20, "0.06*x")); + } else if (elWPname == "FixedCutLoose") { + wp->addCut(new IsolationConditionFormula("FixedCutLoose_track", xAOD::Iso::ptvarcone20, "0.15*x")); + wp->addCut(new IsolationConditionFormula("FixedCutLoose_calo", xAOD::Iso::topoetcone20, "0.20*x")); }else if(elWPname == "FCHighPtCaloOnly" || elWPname == "HighPtCaloOnly"){ wp->addCut(new IsolationConditionFormula("FCHighPtCaloOnly_calo", xAOD::Iso::topoetcone20, "std::max(0.015*x,3.5E3)")); //units are MeV! }else if(elWPname == "TightTrackCone40"){