ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
tauRecTools
src
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
8
#include "
tauRecTools/TauRecToolBase.h
"
9
10
#include "
AsgTools/ToolHandle.h
"
11
12
#include "
xAODPFlow/FlowElement.h
"
13
#include "
PFlowUtils/FEHelpers.h
"
14
27
28
class
TauAxisSetter
:
public
TauRecToolBase
{
29
30
public
:
31
32
ASG_TOOL_CLASS2
(
TauAxisSetter
,
TauRecToolBase
,
ITauToolBase
)
33
34
35
TauAxisSetter
(
const
std::string& name);
36
38
virtual
~TauAxisSetter
() =
default
;
39
41
virtual
StatusCode
execute
(
xAOD::TauJet
& tau)
const override
;
42
43
private
:
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
ASG_TOOL_CLASS2
#define ASG_TOOL_CLASS2(CLASSNAME, INT1, INT2)
Definition
AsgToolMacros.h:77
FlowElement.h
FEHelpers.h
TauRecToolBase.h
ToolHandle.h
ITauToolBase
The base class for all tau tools.
Definition
ITauToolBase.h:30
TauAxisSetter::getVertexCorrectedP4
TLorentzVector getVertexCorrectedP4(const xAOD::JetConstituent &constituent, const Amg::Vector3D &position) const
Get the vertex corrected four momentum.
Definition
TauAxisSetter.cxx:117
TauAxisSetter::m_doVertexCorrection
Gaudi::Property< bool > m_doVertexCorrection
Definition
TauAxisSetter.h:54
TauAxisSetter::~TauAxisSetter
virtual ~TauAxisSetter()=default
Destructor.
TauAxisSetter::execute
virtual StatusCode execute(xAOD::TauJet &tau) const override
Execution of this tool.
Definition
TauAxisSetter.cxx:13
TauAxisSetter::TauAxisSetter
TauAxisSetter(const std::string &name)
Constructor.
Definition
TauAxisSetter.cxx:10
TauAxisSetter::m_clusterCone
Gaudi::Property< double > m_clusterCone
Definition
TauAxisSetter.h:53
TauRecToolBase::TauRecToolBase
TauRecToolBase(const std::string &name)
Definition
TauRecToolBase.cxx:125
xAOD::JetConstituent
4-vector of jet constituent at the scale used during jet finding.
Definition
JetConstituentVector.h:61
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
xAOD::FlowElement
FlowElement_v1 FlowElement
Definition of the current "pfo version".
Definition
FlowElement.h:16
xAOD::TauJet
TauJet_v3 TauJet
Definition of the current "tau version".
Definition
TauJet.h:17
Generated on
for ATLAS Offline Software by
1.17.0