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
15
16#include "GaudiKernel/ToolHandle.h"
18
19namespace Trk {
21}
22
30
32
33public:
34
36
37 TauElectronVetoVariables(const std::string& name);
38
39 virtual ~TauElectronVetoVariables() = default;
40
41 virtual StatusCode initialize() override;
42
44 virtual StatusCode executeTool(xAOD::TauJet& pTau,
45 const EventContext& ctx) const override;
46
47private:
48
49 Gaudi::Property<bool> m_doVertexCorrection {this, "VertexCorrection", true, "switch of vertex correction"};
50 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."};
51 ToolHandle<Trk::IParticleCaloExtensionTool> m_caloExtensionTool {this,
52 "ParticleCaloExtensionTool", "Trk::ParticleCaloExtensionTool/ParticleCaloExtensionTool", "Tool for calculating track extrapolation"};
54 "tauEVParticleCache", "ParticleCaloExtension", "Name of the particle measurement extrapolation cache for TauEV Algorithm"};
55
56
57 // ACTS Extrapolator
58 Gaudi::Property<bool> m_useACTSExtrapolator{this, "useACTSExtrapolator", false};
59 ToolHandle<ActsTrk::IExtrapolationTool> m_extrapolationTool {this, "ExtrapolationTool", "ExtrapolationTool", "Tool to run propagation in an ACTS tracking geometry" };
60 ServiceHandle<ActsTrk::ITrackingGeometrySvc> m_trackingGeometrySvc{this, "TrackingGeometrySvc", "ActsTrackingGeometrySvc"};
61
62 std::map<unsigned int, std::string> m_caloNameGeoIDMap;
63
64
65};
66
67#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
std::map< unsigned int, std::string > m_caloNameGeoIDMap
Gaudi::Property< bool > m_useOldCalo
Gaudi::Property< bool > m_useACTSExtrapolator
virtual ~TauElectronVetoVariables()=default
ToolHandle< Trk::IParticleCaloExtensionTool > m_caloExtensionTool
ToolHandle< ActsTrk::IExtrapolationTool > m_extrapolationTool
ServiceHandle< ActsTrk::ITrackingGeometrySvc > m_trackingGeometrySvc
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