Associate a vertex (origin) to the tau candidate. More...
#include <TauVertexFinder.h>
Public Member Functions | |
TauVertexFinder (const std::string &name) | |
Constructor and Destructor. | |
ASG_TOOL_CLASS2 (TauVertexFinder, TauRecToolBase, ITauToolBase) | |
virtual StatusCode | initialize () |
Algorithm functions. | |
virtual StatusCode | eventInitialize () |
Event initializer - called at the beginning of each event. | |
virtual StatusCode | execute (xAOD::TauJet &pTau) |
Execute - called for each tau candidate. | |
virtual StatusCode | eventFinalize () |
Event finalizer - called at the end of each event. | |
virtual StatusCode | finalize () |
Finalizer. | |
virtual void | cleanup (xAOD::TauJet *) |
virtual void | print () const |
Print the state of the tool. | |
ElementLink < xAOD::VertexContainer > | getPV_TJVA (const xAOD::TauJet &tauJet, const xAOD::VertexContainer &vertices) |
Associate a vertex (origin) to the tau candidate.
The vertex has to be consistent with the origin of tau jet seed. The vertex is determined in the following order: TJVA -> first PV in vertex container -> 0 Attention: all downstream tau variables will be calculated to the vertex set here!