ATLAS Offline Software
Loading...
Searching...
No Matches
TauElectronVetoVariables.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_TAUELECTRONVETOVARIABLES_H
6#define TAURECTOOLS_TAUELECTRONVETOVARIABLES_H
7
9
11
12#include "GaudiKernel/ToolHandle.h"
14
15namespace Trk {
17}
18
26
28
29public:
30
32
33 TauElectronVetoVariables(const std::string& name);
34
35 virtual ~TauElectronVetoVariables() = default;
36
37 virtual StatusCode initialize() override;
38
40 virtual StatusCode executeTool(xAOD::TauJet& pTau,
41 const EventContext& ctx) const override;
42
43private:
44
45 Gaudi::Property<bool> m_doVertexCorrection {this, "VertexCorrection", true, "switch of vertex correction"};
46 Gaudi::Property<bool> m_useOldCalo{this,"useOldCalo",false,"If true, it uses the CaloExtensionTool for calculating track extrapolation. Otherwise, it allows the code to read from the cache created by CaloExtensionBuilderalg."};
47 ToolHandle<Trk::IParticleCaloExtensionTool> m_caloExtensionTool {this,
48 "ParticleCaloExtensionTool", "Trk::ParticleCaloExtensionTool/ParticleCaloExtensionTool", "Tool for calculating track extrapolation"};
50 "tauEVParticleCache", "ParticleCaloExtension", "Name of the particle measurement extrapolation cache for TauEV Algorithm"};
51};
52
53#endif // TAURECTOOLS_TAUELECTRONVETOVARIABLES_H
#define ASG_TOOL_CLASS2(CLASSNAME, INT1, INT2)
Property holding a SG store/key/clid from which a ReadHandle is made.
The base class for all tau tools.
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< CaloExtensionCollection > m_ParticleCacheKey
Gaudi::Property< bool > m_useOldCalo
virtual ~TauElectronVetoVariables()=default
ToolHandle< Trk::IParticleCaloExtensionTool > m_caloExtensionTool
TauElectronVetoVariables(const std::string &name)
virtual StatusCode initialize() override
Tool initializer.
virtual StatusCode executeTool(xAOD::TauJet &pTau, const EventContext &ctx) const override
Execute - called for each tau candidate.
Gaudi::Property< bool > m_doVertexCorrection
TauRecToolBase(const std::string &name)
virtual StatusCode executeTool(xAOD::TauJet &, const EventContext &) const override
Execute - called for each tau candidate.
Interface for extending Particles with calo intersections.
Ensure that the ATLAS eigen extensions are properly loaded.
TauJet_v3 TauJet
Definition of the current "tau version".
Definition TauJet.h:17