ATLAS Offline Software
Loading...
Searching...
No Matches
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
22
24public:
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
41private:
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
The base class for all tau tools.
TauRecToolBase(const std::string &name)
virtual StatusCode executeVertexVariables(xAOD::TauJet &pTau, xAOD::VertexContainer &pVertexContainer) const override
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...
ToolHandle< Trk::IVertexFitter > m_fitTool
TauVertexVariables(const std::string &name)
ToolHandle< Trk::IVertexSeedFinder > m_SeedFinder
virtual StatusCode initialize() override
Tool initializer.
ASG_TOOL_CLASS2(TauVertexVariables, TauRecToolBase, ITauToolBase)
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
Vertex_v1 Vertex
Define the latest version of the vertex class.
TauJet_v3 TauJet
Definition of the current "tau version".