ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
CaloClusterRemoveDuplicates.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef CALOCLUSTERCORRECTION_CALOCLUSTERREMOVEDUPLICATES_H
6
#define CALOCLUSTERCORRECTION_CALOCLUSTERREMOVEDUPLICATES_H
7
8
/**************************************************************************
9
10
NAME: CaloClusterRemoveDuplicates.h
11
AUTHORS: M. Cooke
12
13
CREATED: May, 2008
14
15
PURPOSE: Address duplicate cluster problem (pathology under investigation)
16
Searches for pairs within a window and eliminates one w/ lower Et
17
18
Base class: CaloClusterCollectionProcessor
19
20
***************************************************************************/
21
22
// INCLUDE HEADER FILES:
23
#include "
CaloUtils/CaloClusterCollectionProcessor.h
"
24
#include "
xAODCaloEvent/CaloCluster.h
"
25
#include "
AthenaBaseComps/AthAlgTool.h
"
26
27
class
CaloClusterRemoveDuplicates
:
public
AthAlgTool
,
virtual
public
CaloClusterCollectionProcessor
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
45
// If two cluster are within deta_cut and dphi_cut, lower ET one will be removed
46
Gaudi::Property<float>
m_deta_cut
{
this
,
"deta_cut"
, 0.05};
47
Gaudi::Property<float>
m_dphi_cut
{
this
,
"dphi_cut"
, 0.05};
48
};
49
50
#endif
AthAlgTool.h
CaloClusterCollectionProcessor.h
Base class for cluster processing tools called from CaloClusterMaker.
CaloCluster.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
CaloClusterCollectionProcessor
Definition
CaloClusterCollectionProcessor.h:29
CaloClusterCollectionProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
CaloClusterRemoveDuplicates::compare
int compare(xAOD::CaloCluster *clus1, xAOD::CaloCluster *clus2) const
Definition
CaloClusterRemoveDuplicates.cxx:87
CaloClusterRemoveDuplicates::m_dphi_cut
Gaudi::Property< float > m_dphi_cut
Definition
CaloClusterRemoveDuplicates.h:47
CaloClusterRemoveDuplicates::execute
StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *clusColl) const override
Execute on an entire collection of clusters.
Definition
CaloClusterRemoveDuplicates.cxx:39
CaloClusterRemoveDuplicates::m_deta_cut
Gaudi::Property< float > m_deta_cut
Definition
CaloClusterRemoveDuplicates.h:46
CaloClusterRemoveDuplicates
Definition
CaloClusterRemoveDuplicates.py:1
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
xAOD::CaloClusterContainer
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloClusterContainer.h:17
type
Generated on
for ATLAS Offline Software by
1.17.0