ATLAS Offline Software
VP1TrackSanity.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 // //
8 // Header file for class VP1TrackSanity //
9 // //
10 // Description: Helper class for ensuring track parameters, //
11 // measurements, etc. are constructed properly //
12 // before we start to ask them about their //
13 // global positions, etc. //
14 // //
15 // Authors: Edward Moyse (Edward.Moyse@cern.ch) //
16 // Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
17 // Initial version: March 2008 //
18 // //
20 
21 #ifndef VP1TRACKSANITY_H
22 #define VP1TRACKSANITY_H
23 
26 
27 namespace Trk {
28  class TrackStateOnSurface;
29  class MeasurementBase;
30  class RIO_OnTrack;
31  class PrepRawData;
32 }
33 
35 public:
36 
37  VP1TrackSanity(IVP1System * sys=0);//sys!=0 for messages in gui.
38  virtual ~VP1TrackSanity();
39 
40  static bool isSafe(const Trk::TrackStateOnSurface* ) ;
41  static bool isSafe(const Trk::TrackParameters* ) ;
42  static bool isSafe(const Trk::MeasurementBase* ) ;
43  static bool isSafe(const Trk::RIO_OnTrack* ) ;
44  static bool isSafe(const Trk::PrepRawData* ) ;
45 
46  //TK: OK, maybe we can't call all of these "isSafe", if more than
47  //one of the arguments inherit from the same baseclass (not sure if
48  //they do apart from measurementbase/rioontrack).
49 private:
50 
51  class Imp;
52  Imp * m_d;
53 
54 };
55 
56 #endif
VP1TrackSanity::Imp
Definition: VP1TrackSanity.cxx:26
TrackParameters.h
VP1TrackSanity::isSafe
static bool isSafe(const Trk::TrackStateOnSurface *)
Definition: VP1TrackSanity.cxx:46
Trk::RIO_OnTrack
Definition: RIO_OnTrack.h:70
VP1TrackSanity
Definition: VP1TrackSanity.h:34
mapkey::sys
@ sys
Definition: TElectronEfficiencyCorrectionTool.cxx:42
VP1TrackSanity::m_d
Imp * m_d
Definition: VP1TrackSanity.h:51
IVP1System
Definition: IVP1System.h:36
Trk::ParametersBase
Definition: ParametersBase.h:55
VP1HelperClassBase
Definition: VP1HelperClassBase.h:28
Trk::PrepRawData
Definition: PrepRawData.h:62
Trk::MeasurementBase
Definition: MeasurementBase.h:58
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::TrackStateOnSurface
represents the track state (measurement, material, fit parameters and quality) at a surface.
Definition: TrackStateOnSurface.h:71
VP1HelperClassBase.h
Trk::MeasurementBaseType::RIO_OnTrack
@ RIO_OnTrack
Definition: MeasurementBase.h:49
VP1TrackSanity::~VP1TrackSanity
virtual ~VP1TrackSanity()
Definition: VP1TrackSanity.cxx:40
VP1TrackSanity::VP1TrackSanity
VP1TrackSanity(IVP1System *sys=0)
Definition: VP1TrackSanity.cxx:31