ATLAS Offline Software
Loading...
Searching...
No Matches
Trk::ITrackSummaryHelperTool Class Referenceabstract

Interface for structuring the summary creation into sub-detector specific tools. More...

#include <ITrackSummaryHelperTool.h>

Inheritance diagram for Trk::ITrackSummaryHelperTool:
Collaboration diagram for Trk::ITrackSummaryHelperTool:

Public Member Functions

 DeclareInterfaceID (ITrackSummaryHelperTool, 1, 0)
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'.
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 searchForHoles (const Trk::Track &track, std::vector< int > &information, const Trk::ParticleHypothesis partHyp=Trk::pion) const =0
virtual void addDetailedTrackSummary (const EventContext &ctx, const Trk::Track &track, Trk::TrackSummary &summary) const =0

Detailed Description

Interface for structuring the summary creation into sub-detector specific tools.

This tool is aimed to be implemented once in the Inner Detector and once in the Muon Spectrometer, allowing each implementation to access detector-specific information while a master tool can decide at run-time which implementation to call, depending on the type of hit on the track.

Author
Edward Moyse, Martin Siebel http://consult.cern.ch/xwho

Definition at line 36 of file ITrackSummaryHelperTool.h.

Member Function Documentation

◆ addDetailedTrackSummary()

virtual void Trk::ITrackSummaryHelperTool::addDetailedTrackSummary ( const EventContext & ctx,
const Trk::Track & track,
Trk::TrackSummary & summary ) const
pure virtual

◆ analyse() [1/2]

virtual void Trk::ITrackSummaryHelperTool::analyse ( const EventContext & ctx,
const Trk::Track & track,
const CompetingRIOsOnTrack * crot,
const TrackStateOnSurface * tsos,
std::vector< int > & information,
std::bitset< Trk::numberOfDetectorTypes > & hitPattern ) const
pure virtual

◆ analyse() [2/2]

virtual void Trk::ITrackSummaryHelperTool::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
pure virtual

fill 'information' and 'hitpattern' using information from 'rot'.

Should be overloaded by concrete TrackSummaryHelperTools. It is mandatory that the RIO_OnTrack* points to exactly the object contained inside the TrackStateOnSurface. This is to avoid that the RTTI from the TrackSummaryTool is done twice.

◆ DeclareInterfaceID()

Trk::ITrackSummaryHelperTool::DeclareInterfaceID ( ITrackSummaryHelperTool ,
1 ,
0  )

◆ searchForHoles()

virtual void Trk::ITrackSummaryHelperTool::searchForHoles ( const Trk::Track & track,
std::vector< int > & information,
const Trk::ParticleHypothesis partHyp = Trk::pion ) const
pure virtual

The documentation for this class was generated from the following file: