2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
6// VertexCaloIsolation.h by Matteo Bedognetti
8//
9// This code is based on CaloIsolationTool of IsolationTools package
10//
11// Etcone is determined as a topoCluster-isolation value minus Energy Density (ED) correction and minus the energy depositions of the muons
12// Muon's energy deposition is already stored in side the xAOD::Muon objects, but the muon-clusters are used to correct for the fact that they muons may have overlapping clusters
13// The muon-clusters are stored as well in connection with the muons themselves
14//
15// The idea of comparing topoClusters with muon-clusters to decide what part of the muon's deposition is of
16// importance had to be abandoned because topCluster cells are not present in xAOD
17//
18// It enforces the fact that for muons no core-surface is removed for the energy-density correction (thus the corrections are independent from each other)
19//
20// "isReliable" flag reports of each isolation value if all particles crossing the cone have been correctly corrected for.
21// In the case of 2mu+ 1 track it mirrors the fact that the track does not extrapolate into the cone (as tracks have no muon-cluster from which to determine the core-correction)