ATLAS Offline Software
IInDetAlignHitQualSelTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef INDETALIGNTOOLS_IHITQUALSELTOOL_IH
6 #define INDETALIGNTOOLS_IHITQUALSELTOOL_IH
7 
8 #include "GaudiKernel/IAlgTool.h"
9 
11 static const InterfaceID IID_INDETALIGN_IInDetAlignHitQualSelTool( "IInDetAlignHitQualSelTool", 1, 0 ) ;
12 
19  // Many thanks to Carlos Escobar and Sebastian Fleischmann!
20 
21 namespace Trk {
22  class TrackStateOnSurface ;
23  class RIO_OnTrack ;
24 }
25 
26 class IInDetAlignHitQualSelTool : virtual public IAlgTool {
27  public:
29  static const InterfaceID& interfaceID() ;
30 
33  virtual const Trk::RIO_OnTrack* getGoodHit( const Trk::TrackStateOnSurface* tsos ) const = 0 ;
34 
35  virtual bool isGoodSiHit( const Trk::TrackStateOnSurface* tsos ) const = 0 ;
36 
39  virtual bool getGoodHole( const Trk::TrackStateOnSurface* tsos ) const = 0 ;
40 } ;
41 
42 inline const InterfaceID& IInDetAlignHitQualSelTool::interfaceID() {
43  return IID_INDETALIGN_IInDetAlignHitQualSelTool ;
44 }
45 
46 #endif // INDETALIGNTOOLS_IHITQUALSELTOOL_IH
IInDetAlignHitQualSelTool::getGoodHole
virtual bool getGoodHole(const Trk::TrackStateOnSurface *tsos) const =0
from a TrackStateOnSurface select a good hole in track cutting on large incidence angles only
IInDetAlignHitQualSelTool::getGoodHit
virtual const Trk::RIO_OnTrack * getGoodHit(const Trk::TrackStateOnSurface *tsos) const =0
main method: from a TrackStateOnSurface select a good hit cutting on outlier hits,...
Trk::RIO_OnTrack
Definition: RIO_OnTrack.h:70
IInDetAlignHitQualSelTool
Definition: IInDetAlignHitQualSelTool.h:26
IInDetAlignHitQualSelTool::isGoodSiHit
virtual bool isGoodSiHit(const Trk::TrackStateOnSurface *tsos) const =0
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
IInDetAlignHitQualSelTool::interfaceID
static const InterfaceID & interfaceID()
for ToolHandle functionality
Definition: IInDetAlignHitQualSelTool.h:42
Trk::TrackStateOnSurface
represents the track state (measurement, material, fit parameters and quality) at a surface.
Definition: TrackStateOnSurface.h:71
Trk::MeasurementBaseType::RIO_OnTrack
@ RIO_OnTrack
Definition: MeasurementBase.h:49