ATLAS Offline Software
TauVertexVariables.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_TAUVERTEXVARIABLES_H
6 #define TAURECTOOLS_TAUVERTEXVARIABLES_H
7 
11 #include "GaudiKernel/ToolHandle.h"
12 
15 
24 public:
25  //-----------------------------------------------------------------
26  // Constructor and destructor
27  //-----------------------------------------------------------------
28  TauVertexVariables(const std::string& name);
31 
32  virtual StatusCode initialize() override;
33  virtual StatusCode executeVertexVariables(xAOD::TauJet& pTau, xAOD::VertexContainer& pVertexContainer) const override;
34 
35  //-------------------------------------------------------------
38  //-------------------------------------------------------------
39  double trFlightPathSig(const xAOD::TauJet& pTau, const xAOD::Vertex& secVertex) const;
40 
41 private:
42  ToolHandle<Trk::IVertexFitter> m_fitTool {this, "VertexFitter", "Trk::AdaptiveVertexFitter"};
43  ToolHandle<Trk::IVertexSeedFinder> m_SeedFinder {this, "SeedFinder", "Trk::CrossDistancesSeedFinder"};
44 };
45 
46 #endif // TAURECTOOLS_TAUVERTEXVARIABLES_H
IVertexSeedFinder.h
TauVertexVariables::trFlightPathSig
double trFlightPathSig(const xAOD::TauJet &pTau, const xAOD::Vertex &secVertex) const
determines the transverse flight path significance from the primary vertex and the secondary vertex o...
Definition: TauVertexVariables.cxx:126
TauVertexVariables::TauVertexVariables
TauVertexVariables(const std::string &name)
Definition: TauVertexVariables.cxx:20
TauVertexVariables
Class for calculating vertex variables.
Definition: TauVertexVariables.h:23
TauVertexVariables::initialize
virtual StatusCode initialize() override
Tool initializer.
Definition: TauVertexVariables.cxx:36
TauRecToolBase.h
TauRecToolBase
The base class for all tau tools.
Definition: TauRecToolBase.h:21
TauVertexVariables::ASG_TOOL_CLASS2
ASG_TOOL_CLASS2(TauVertexVariables, TauRecToolBase, ITauToolBase)
TauVertexVariables::m_SeedFinder
ToolHandle< Trk::IVertexSeedFinder > m_SeedFinder
Definition: TauVertexVariables.h:43
TauVertexVariables::~TauVertexVariables
~TauVertexVariables()
Definition: TauVertexVariables.cxx:28
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAOD::TauJet_v3
Class describing a tau jet.
Definition: TauJet_v3.h:41
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ITauToolBase
The base class for all tau tools.
Definition: ITauToolBase.h:30
IVertexFitter.h
TauVertexVariables::m_fitTool
ToolHandle< Trk::IVertexFitter > m_fitTool
Definition: TauVertexVariables.h:42
VertexContainer.h
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
TauVertexVariables::executeVertexVariables
virtual StatusCode executeVertexVariables(xAOD::TauJet &pTau, xAOD::VertexContainer &pVertexContainer) const override
Definition: TauVertexVariables.cxx:47
VertexAuxContainer.h