ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
CaloClusterRemoveBad.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_CALOCLUSTERREMOVEBAD_H
6
#define CALOCLUSTERCORRECTION_CALOCLUSTERREMOVEBAD_H
7
8
/**************************************************************************
9
10
NAME: CaloClusterRemoveBad.h
11
AUTHORS: H. Ma
12
13
CREATED: July 2010
14
15
PURPOSE: remove clusters that have low energy after corrections.
16
17
Base class: CaloClusterProcessor
18
19
***************************************************************************/
20
21
// INCLUDE HEADER FILES:
22
#include "
CaloUtils/CaloClusterProcessor.h
"
23
#include "CaloEvent/CaloCluster.h"
24
25
class
CaloClusterRemoveBad
:
public
CaloClusterProcessor
26
{
27
public
:
34
CaloClusterRemoveBad
(
const
std::string&
type
,
35
const
std::string& name,
36
const
IInterface* parent);
37
38
39
using
CaloClusterProcessor::execute
;
40
41
51
virtual
StatusCode
execute
(
const
EventContext& ctx,
52
xAOD::CaloCluster
* cluster)
const override
;
53
54
60
virtual
StatusCode
execute
(
const
EventContext& ctx,
61
xAOD::CaloClusterContainer
* clusColl)
const override
;
62
63
64
private
:
65
// property, energy threshold below which a cluster will be rejected.
66
Gaudi::Property<float>
m_eThreshold
{
this
,
"EMin"
, 0.0,
"Energy threshold for cluster removal"
};
67
};
68
69
#endif
CaloClusterProcessor.h
Base class for cluster processing tools called from CaloClusterMaker that operate on individual clust...
CaloClusterProcessor::CaloClusterProcessor
CaloClusterProcessor(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Definition
CaloClusterProcessor.cxx:26
CaloClusterProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const =0
Execute on a single cluster.
CaloClusterRemoveBad::m_eThreshold
Gaudi::Property< float > m_eThreshold
Definition
CaloClusterRemoveBad.h:66
CaloClusterRemoveBad::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const override
Execute on a single cluster.
Definition
CaloClusterRemoveBad.cxx:47
CaloClusterRemoveBad
Definition
CaloClusterRemoveBad.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