ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
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

virtual void analyse (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'. More...
 
virtual void analyse (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 Trk::Track &track, Trk::TrackSummary &summary) const =0
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 

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 37 of file ITrackSummaryHelperTool.h.

Member Function Documentation

◆ addDetailedTrackSummary()

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

◆ analyse() [1/2]

virtual void Trk::ITrackSummaryHelperTool::analyse ( 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 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.

Implemented in Trk::IExtendedTrackSummaryHelperTool.

◆ interfaceID()

const InterfaceID & Trk::ITrackSummaryHelperTool::interfaceID ( )
inlinestatic

Definition at line 69 of file ITrackSummaryHelperTool.h.

70  {
71  return IID_ITrackSummaryHelperTool;
72  }

◆ 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: