ATLAS Offline Software
Loading...
Searching...
No Matches
TauAxisSetter.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_TAUAXISSETTER_H
6#define TAURECTOOLS_TAUAXISSETTER_H
7
9
10#include "AsgTools/ToolHandle.h"
11
14
27
29
30public:
31
33
34
35 TauAxisSetter(const std::string& name);
36
38 virtual ~TauAxisSetter() = default;
39
42 virtual StatusCode executeTool(xAOD::TauJet& tau,
43 const EventContext& ctx) const override;
44
45private:
46
48 TLorentzVector getVertexCorrectedP4(const xAOD::JetConstituent& constituent,
49 const Amg::Vector3D& position) const;
50
52 TLorentzVector getVertexCorrectedP4(const xAOD::FlowElement& fe,
53 const Amg::Vector3D& position) const;
54
55 Gaudi::Property<double> m_clusterCone {this, "ClusterCone", 0.2, "cone of tau candidate"};
56 Gaudi::Property<bool> m_doVertexCorrection {this, "VertexCorrection", true, "switch of tau vertex correction"};
57};
58
59#endif // TAURECTOOLS_TAUAXISSETTER_H
#define ASG_TOOL_CLASS2(CLASSNAME, INT1, INT2)
The base class for all tau tools.
TLorentzVector getVertexCorrectedP4(const xAOD::JetConstituent &constituent, const Amg::Vector3D &position) const
Get the vertex corrected four momentum.
Gaudi::Property< bool > m_doVertexCorrection
virtual ~TauAxisSetter()=default
Destructor.
virtual StatusCode executeTool(xAOD::TauJet &tau, const EventContext &ctx) const override
Execute - called for each tau candidate.
TauAxisSetter(const std::string &name)
Constructor.
Gaudi::Property< double > m_clusterCone
TauRecToolBase(const std::string &name)
virtual StatusCode executeTool(xAOD::TauJet &, const EventContext &) const override
Execute - called for each tau candidate.
4-vector of jet constituent at the scale used during jet finding.
Eigen::Matrix< double, 3, 1 > Vector3D
FlowElement_v1 FlowElement
Definition of the current "pfo version".
Definition FlowElement.h:16
TauJet_v3 TauJet
Definition of the current "tau version".
Definition TauJet.h:17