ATLAS Offline Software
Loading...
Searching...
No Matches
ITrackSummaryHelperTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ITRACKSUMMARYHELPERTOOL
6#define ITRACKSUMMARYHELPERTOOL
7
8
9#include "GaudiKernel/IAlgTool.h"
10#include <vector>
11#include <bitset>
13#include "TrkTrackSummary/TrackSummary.h" // defines Trk::numberOfDetectorTypes used below
14
15class Identifier;
16
17namespace Trk {
18
19 class Track;
20 class RIO_OnTrack;
23
24
36 class ITrackSummaryHelperTool : virtual public IAlgTool {
37 public:
39
44 virtual void analyse(
45 const EventContext& ctx,
46 const Trk::Track& track,
47 const RIO_OnTrack* rot,
48 const TrackStateOnSurface* tsos,
49 std::vector<int>& information,
50 std::bitset<Trk::numberOfDetectorTypes>& hitPattern) const = 0;
51
52 virtual void analyse(
53 const EventContext& ctx,
54 const Trk::Track& track,
55 const CompetingRIOsOnTrack* crot,
56 const TrackStateOnSurface* tsos,
57 std::vector<int>& information,
58 std::bitset<Trk::numberOfDetectorTypes>& hitPattern) const = 0;
59
60 virtual void searchForHoles(
61 const Trk::Track& track,
62 std::vector<int>& information,
63 const Trk::ParticleHypothesis partHyp = Trk::pion) const = 0;
64
66 const EventContext& ctx,
67 const Trk::Track& track,
68 Trk::TrackSummary& summary) const = 0;
69
70 };
71
72}
73#endif
74
Base class for all CompetingRIOsOnTack implementations, extends the common MeasurementBase.
Interface for structuring the summary creation into sub-detector specific tools.
virtual void analyse(const EventContext &ctx, const Trk::Track &track, const RIO_OnTrack *rot, const TrackStateOnSurface *tsos, std::vector< int > &information, std::bitset< Trk::numberOfDetectorTypes > &hitPattern) const =0
fill 'information' and 'hitpattern' using information from 'rot'.
DeclareInterfaceID(ITrackSummaryHelperTool, 1, 0)
virtual void analyse(const EventContext &ctx, const Trk::Track &track, const CompetingRIOsOnTrack *crot, const TrackStateOnSurface *tsos, std::vector< int > &information, std::bitset< Trk::numberOfDetectorTypes > &hitPattern) const =0
virtual void addDetailedTrackSummary(const EventContext &ctx, const Trk::Track &track, Trk::TrackSummary &summary) const =0
virtual void searchForHoles(const Trk::Track &track, std::vector< int > &information, const Trk::ParticleHypothesis partHyp=Trk::pion) const =0
Class to handle RIO On Tracks ROT) for InDet and Muons, it inherits from the common MeasurementBase.
Definition RIO_OnTrack.h:70
represents the track state (measurement, material, fit parameters and quality) at a surface.
A summary of the information contained by a track.
Ensure that the ATLAS eigen extensions are properly loaded.
ParticleHypothesis
Enumeration for Particle hypothesis respecting the interaction with material.