ATLAS Offline Software
Loading...
Searching...
No Matches
CaloClusterRemoveDuplicates.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef CALOCLUSTERCORRECTION_CALOCLUSTERREMOVEDUPLICATES_H
6#define CALOCLUSTERCORRECTION_CALOCLUSTERREMOVEDUPLICATES_H
7
8/**************************************************************************
9
10NAME: CaloClusterRemoveDuplicates.h
11AUTHORS: M. Cooke
12
13CREATED: May, 2008
14
15PURPOSE: Address duplicate cluster problem (pathology under investigation)
16 Searches for pairs within a window and eliminates one w/ lower Et
17
18Base class: CaloClusterCollectionProcessor
19
20***************************************************************************/
21
22// INCLUDE HEADER FILES:
26
28{
29
30 public:
31
32 // Constructor
33 CaloClusterRemoveDuplicates(const std::string& type,
34 const std::string& name,
35 const IInterface* parent);
36
37 using CaloClusterCollectionProcessor::execute; // xxx temporary
38 StatusCode execute(const EventContext& ctx,
39 xAOD::CaloClusterContainer* clusColl) const override;
40
41 private:
42
43 int compare( xAOD::CaloCluster* clus1 , xAOD::CaloCluster* clus2 ) const;
44
46
47 // If two cluster are within deta_cut and dphi_cut, lower ET one will be removed
50};
51
52#endif
Base class for cluster processing tools called from CaloClusterMaker.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
int compare(xAOD::CaloCluster *clus1, xAOD::CaloCluster *clus2) const
StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *clusColl) const override
Execute on an entire collection of clusters.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.