ATLAS Offline Software
Loading...
Searching...
No Matches
TauElectronVetoVariables.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 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
39 virtual StatusCode execute(xAOD::TauJet& pTau) const override;
40
41private:
42
43 Gaudi::Property<bool> m_doVertexCorrection {this, "VertexCorrection", true, "switch of vertex correction"};
44 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."};
45 ToolHandle<Trk::IParticleCaloExtensionTool> m_caloExtensionTool {this,
46 "ParticleCaloExtensionTool", "Trk::ParticleCaloExtensionTool/ParticleCaloExtensionTool", "Tool for calculating track extrapolation"};
48 "tauEVParticleCache", "ParticleCaloExtension", "Name of the particle measurement extrapolation cache for TauEV Algorithm"};
49};
50
51#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 execute(xAOD::TauJet &pTau) const override
Execute - called for each tau candidate.
Gaudi::Property< bool > m_doVertexCorrection
TauRecToolBase(const std::string &name)
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".