ATLAS Offline Software
Loading...
Searching...
No Matches
IBPhysTrackVertexMapTool.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id: $
8#ifndef BPHYSTOOLS_IBPHYSTRACKVERTEXMAPTOOL_H
9#define BPHYSTOOLS_IBPHYSTRACKVERTEXMAPTOOL_H
10
11// Framework includes
12#include "AsgTools/IAsgTool.h"
13
14// EDM includes
17// System include(s):
18#include <string>
19#include <vector>
20
21namespace xAOD {
31 class IBPhysTrackVertexMapTool : virtual public asg::IAsgTool {
32
33 public:
36
37
38 virtual StatusCode logEvent() = 0;
39
41 virtual StatusCode finalize() = 0;
42
44 virtual bool doLog() const = 0;
45
46 public:
50 virtual StatusCode cacheEvent() = 0;
51
53 virtual std::vector<const xAOD::Vertex*>
55
58 virtual std::vector<const xAOD::Vertex*>
60
62 virtual std::vector<const xAOD::Vertex*>
64
65 // track-vertex association related
67 unsigned int indent=0,
68 bool withPV=false,
69 bool withRefPV=false,
70 bool withSV=false) = 0;
71
72 virtual std::string pvToString(const xAOD::Vertex* vtx,
73 unsigned int indent=0,
74 bool withTracks=false) = 0;
75
76 virtual std::string refPVToString(const xAOD::Vertex* vtx,
77 unsigned int indent=0,
78 bool withTracks=false) = 0;
79 virtual std::string svToString(const xAOD::Vertex* vtx,
80 unsigned int indent=0,
81 bool withTracks=false,
82 bool withMasses=false) = 0;
84 tpc,
85 unsigned int indent=0,
86 bool withPV=false,
87 bool withRefPV=false,
88 bool withSV=false) = 0;
89
90 virtual std::string pvsToString(const xAOD::VertexContainer* pvc,
91 unsigned int indent=0,
92 bool withTracks=false) = 0;
94 unsigned int indent=0,
95 bool withTracks=false) =0;
96 virtual std::string svsToString(const xAOD::VertexContainer* svc,
97 unsigned int indent=0,
98 bool withTracks=false,
99 bool withMasses=false) = 0;
100 virtual std::string summaryToString(std::string prefix) = 0;
102
103 }; // class IBPhysTrackVertexMapTool
104
105} // namespace xAOD
106
107#endif // BPHYSTOOLS_IBPHYSTRACKVERTEXMAPTOOL_H
#define ASG_TOOL_INTERFACE(CLASSNAME)
Base class for the dual-use tool interface classes.
Definition IAsgTool.h:41
Interface for dual-use tool createing a track-to-vertex map from the vertex-to-track information.
virtual std::string pvsToString(const xAOD::VertexContainer *pvc, unsigned int indent=0, bool withTracks=false)=0
virtual std::string pvToString(const xAOD::Vertex *vtx, unsigned int indent=0, bool withTracks=false)=0
virtual std::string summaryToString(std::string prefix)=0
virtual bool doLog() const =0
Function indicating whether log counter allows logging of current event.
virtual std::string svsToString(const xAOD::VertexContainer *svc, unsigned int indent=0, bool withTracks=false, bool withMasses=false)=0
virtual std::string idTracksToString(const xAOD::TrackParticleContainer *tpc, unsigned int indent=0, bool withPV=false, bool withRefPV=false, bool withSV=false)=0
virtual std::string refPVToString(const xAOD::Vertex *vtx, unsigned int indent=0, bool withTracks=false)=0
virtual std::vector< const xAOD::Vertex * > refPVsForIDTrack(const xAOD::TrackParticle *track) const =0
obtain refitted primary vertices for a given ID track (may return empty vector)
virtual StatusCode cacheEvent()=0
virtual StatusCode logEvent()=0
Declare the correct interface for Athena.
virtual StatusCode finalize()=0
Function finalizing the tool.
virtual std::string svToString(const xAOD::Vertex *vtx, unsigned int indent=0, bool withTracks=false, bool withMasses=false)=0
virtual std::string refPVsToString(const xAOD::VertexContainer *rpvc, unsigned int indent=0, bool withTracks=false)=0
virtual std::vector< const xAOD::Vertex * > svsForIDTrack(const xAOD::TrackParticle *track) const =0
obtain secondary vertices for a given ID track (may return empty vector)
virtual std::vector< const xAOD::Vertex * > pvsForIDTrack(const xAOD::TrackParticle *track) const =0
obtain primary vertices for a given ID track (may return empty vector)
virtual std::string idTrackToString(const xAOD::TrackParticle *track, unsigned int indent=0, bool withPV=false, bool withRefPV=false, bool withSV=false)=0
STL namespace.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
Vertex_v1 Vertex
Define the latest version of the vertex class.
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".