ATLAS Offline Software
Loading...
Searching...
No Matches
CaloClusterRemoveBad.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_CALOCLUSTERREMOVEBAD_H
6#define CALOCLUSTERCORRECTION_CALOCLUSTERREMOVEBAD_H
7
8/**************************************************************************
9
10NAME: CaloClusterRemoveBad.h
11AUTHORS: H. Ma
12
13CREATED: July 2010
14
15PURPOSE: remove clusters that have low energy after corrections.
16
17Base class: CaloClusterProcessor
18
19***************************************************************************/
20
21// INCLUDE HEADER FILES:
23#include "CaloEvent/CaloCluster.h"
24
26{
27public:
34 CaloClusterRemoveBad (const std::string& type,
35 const std::string& name,
36 const IInterface* parent);
37
38
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
67
68 // property, energy threshold below which a cluster will be rejected.
69 float m_eThreshold ;
70};
71
72#endif
Base class for cluster processing tools called from CaloClusterMaker that operate on individual clust...
CaloClusterProcessor(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const =0
Execute on a single cluster.
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const override
Execute on a single cluster.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.