ATLAS Offline Software
Loading...
Searching...
No Matches
TauClusterFinder.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 TAURECTOOLS_TAUCLUSTERFINDER_H
6#define TAURECTOOLS_TAUCLUSTERFINDER_H
7
9
10#include "AsgTools/ToolHandle.h"
11
20
22
23 public:
24
26
28 TauClusterFinder(const std::string& name);
29
31 ~TauClusterFinder() = default;
32
35 virtual StatusCode executeTool(xAOD::TauJet& tau,
36 const EventContext& ctx) const override;
37
38 private:
39
40 std::vector<const xAOD::CaloCluster*> getClusterList(const xAOD::Jet& jet) const;
41
42 Gaudi::Property<bool> m_useOrigCluster {this, "UseOriginalCluster", true,
43 "Use original cluster object if jet constituent is a shallow copy"};
44};
45
46#endif // TAURECTOOLS_TAUCLUSTERFINDER_H
The base class for all tau tools.
ASG_TOOL_CLASS2(TauClusterFinder, TauRecToolBase, ITauToolBase)
Gaudi::Property< bool > m_useOrigCluster
virtual StatusCode executeTool(xAOD::TauJet &tau, const EventContext &ctx) const override
Execute - called for each tau candidate.
TauClusterFinder(const std::string &name)
Constructor.
~TauClusterFinder()=default
Destructor.
std::vector< const xAOD::CaloCluster * > getClusterList(const xAOD::Jet &jet) const
TauRecToolBase(const std::string &name)
virtual StatusCode executeTool(xAOD::TauJet &, const EventContext &) const override
Execute - called for each tau candidate.
Jet_v1 Jet
Definition of the current "jet version".
TauJet_v3 TauJet
Definition of the current "tau version".
Definition TauJet.h:17