ATLAS Offline Software
Loading...
Searching...
No Matches
TauAxisSetter.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 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
41 virtual StatusCode execute(xAOD::TauJet& tau) const override;
42
43private:
44
46 TLorentzVector getVertexCorrectedP4(const xAOD::JetConstituent& constituent,
47 const Amg::Vector3D& position) const;
48
50 TLorentzVector getVertexCorrectedP4(const xAOD::FlowElement& fe,
51 const Amg::Vector3D& position) const;
52
53 Gaudi::Property<double> m_clusterCone {this, "ClusterCone", 0.2, "cone of tau candidate"};
54 Gaudi::Property<bool> m_doVertexCorrection {this, "VertexCorrection", true, "switch of tau vertex correction"};
55};
56
57#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 execute(xAOD::TauJet &tau) const override
Execution of this tool.
TauAxisSetter(const std::string &name)
Constructor.
Gaudi::Property< double > m_clusterCone
TauRecToolBase(const std::string &name)
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".