18#include "Gaudi/Property.h"
42 ATH_MSG_ERROR(
"Invalid configuration of cluster sortin method");
43 return StatusCode::FAILURE;
46 return StatusCode::SUCCESS;
53 return StatusCode::SUCCESS;
75 return StatusCode::SUCCESS;
79 for(
const auto *
const cl : *clustersToDecorate) {
83 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
virtual StatusCode initialize()
Gaudi::Property< int > m_clusterSortMethod
virtual StatusCode finalize()
ToolHandle< ICaloClusterMatchingTool > m_clusterMatch
virtual StatusCode execute(const EventContext &ctx) const
virtual ~CaloClusterMatchLinkAlg()
Destructor:
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterKey
SG::WriteDecorHandleKey< xAOD::CaloClusterContainer > m_elementLinkName
Gaudi::Property< bool > m_useLeadCellEtaPhi
static bool gtrMatchedEFrac(const tcmatch_pair &a, const tcmatch_pair &b)
static bool gtrClusterE(const tcmatch_pair &a, const tcmatch_pair &b)
std::pair< const xAOD::CaloCluster *, float > tcmatch_pair
static bool gtrMatchedE(const tcmatch_pair &a, const tcmatch_pair &b)
setBGCode setTAP setLVL2ErrorBits bool