ATLAS Offline Software
TrackCommonFlags.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // //
7 // Various flags - put here to avoid the need to include //
8 // other header files just for the flags //
9 // //
10 // Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
11 // Initial version: March 2008 //
12 // //
14 
15 #ifndef TRACKCOMMONFLAGS_H
16 #define TRACKCOMMONFLAGS_H
17 
18 #include <QFlags>
19 #include <QString>
20 
22 public:
23 
25  NoParts = 0x0000,
26  ActualPath = 0x0001,
27  InDetProjections = 0x0002,
28  MuonProjections = 0x0004,
29  VertexProjections = 0x0008
30  };
31  Q_DECLARE_FLAGS(TrackPartsFlags, TrackPartsFlag)
32 
34  static QString toString(const SELECTIONMODE&);
35 
37  static QString toString(const FITTERMODE&);
38 
40  static QString toString(const DETAILLEVEL& );
41 
43  TSOS_NoObjects = 0x0000,
44  TSOS_TrackPars = 0x0001,
47  TSOS_MeasError = 0x008,
54  TSOS_TubeSurfaces = 0x0400,
57  TSOS_Hole = 0x4000,
58  //Convenience
60  TSOS_AnySurface = 0x0700,
67  TSOS_AnyErrors = 0x10FE
68  };
69  Q_DECLARE_FLAGS(TSOSPartsFlags, TSOSPartsFlag)
70 
71 private:
74 };
75 
76 Q_DECLARE_OPERATORS_FOR_FLAGS(TrackCommonFlags::TrackPartsFlags)
77 Q_DECLARE_OPERATORS_FOR_FLAGS(TrackCommonFlags::TSOSPartsFlags)
78 
79 #endif
TrackCommonFlags::TrackPartsFlag
TrackPartsFlag
Definition: TrackCommonFlags.h:24
TrackCommonFlags::InDetProjections
@ InDetProjections
Definition: TrackCommonFlags.h:27
TrackCommonFlags::SIMPLE
@ SIMPLE
Definition: TrackCommonFlags.h:39
TrackCommonFlags::TSOS_AnyMeasurement
@ TSOS_AnyMeasurement
Definition: TrackCommonFlags.h:61
TrackCommonFlags::EXTENDTRACKWITHPRDS
@ EXTENDTRACKWITHPRDS
Definition: TrackCommonFlags.h:36
TrackCommonFlags::REFITSINGLETRACK
@ REFITSINGLETRACK
Definition: TrackCommonFlags.h:36
TrackCommonFlags::AUTO
@ AUTO
Definition: TrackCommonFlags.h:39
TrackCommonFlags
Definition: TrackCommonFlags.h:21
TrackCommonFlags::MuonProjections
@ MuonProjections
Definition: TrackCommonFlags.h:28
TrackCommonFlags::TSOS_AnySurface
@ TSOS_AnySurface
Definition: TrackCommonFlags.h:60
TrackCommonFlags::TSOS_MaterialEffectsWithNoDeltaE
@ TSOS_MaterialEffectsWithNoDeltaE
bit 12
Definition: TrackCommonFlags.h:55
TrackCommonFlags::TSOS_MeasError
@ TSOS_MeasError
bit 3
Definition: TrackCommonFlags.h:47
TrackCommonFlags::FITTERMODE
FITTERMODE
Definition: TrackCommonFlags.h:36
TrackCommonFlags::TSOS_TrackParsErrorsPerigee
@ TSOS_TrackParsErrorsPerigee
bit 2
Definition: TrackCommonFlags.h:46
TrackCommonFlags::TSOS_AnyErrors
@ TSOS_AnyErrors
Definition: TrackCommonFlags.h:67
TrackCommonFlags::TSOS_AnyMeasCompetingRioOnTrack
@ TSOS_AnyMeasCompetingRioOnTrack
Definition: TrackCommonFlags.h:65
TrackCommonFlags::TSOS_TrackPars
@ TSOS_TrackPars
bit 0
Definition: TrackCommonFlags.h:44
TrackCommonFlags::MULTITRACK
@ MULTITRACK
Definition: TrackCommonFlags.h:33
TrackCommonFlags::DETAILED
@ DETAILED
Definition: TrackCommonFlags.h:39
TrackCommonFlags::TSOS_MeasRioOnTrackOutlier
@ TSOS_MeasRioOnTrackOutlier
bit 6
Definition: TrackCommonFlags.h:50
TrackCommonFlags::VertexProjections
@ VertexProjections
Definition: TrackCommonFlags.h:29
TrackCommonFlags::ActualPath
@ ActualPath
Definition: TrackCommonFlags.h:26
TrackCommonFlags::SINGLEOBJECT
@ SINGLEOBJECT
Definition: TrackCommonFlags.h:33
TrackCommonFlags::TRACKFIT
@ TRACKFIT
Definition: TrackCommonFlags.h:33
TrackCommonFlags::COMBINETWOTRACKS
@ COMBINETWOTRACKS
Definition: TrackCommonFlags.h:36
TrackCommonFlags::TSOS_AnyMaterialEffects
@ TSOS_AnyMaterialEffects
Definition: TrackCommonFlags.h:59
TrackCommonFlags::TSOS_MaterialEffects
@ TSOS_MaterialEffects
bit 13
Definition: TrackCommonFlags.h:56
TrackCommonFlags::~TrackCommonFlags
~TrackCommonFlags()
TrackCommonFlags::TSOS_AnyMeasRioOnTrack
@ TSOS_AnyMeasRioOnTrack
Definition: TrackCommonFlags.h:64
TrackCommonFlags::TSOS_MeasRioOnTrackNotOutlier
@ TSOS_MeasRioOnTrackNotOutlier
bit 4
Definition: TrackCommonFlags.h:48
TrackCommonFlags::NoParts
@ NoParts
Definition: TrackCommonFlags.h:25
TrackCommonFlags::TSOSPartsFlag
TSOSPartsFlag
Definition: TrackCommonFlags.h:42
TrackCommonFlags::TSOS_SurfacesDetElem
@ TSOS_SurfacesDetElem
bit 9
Definition: TrackCommonFlags.h:52
TrackCommonFlags::TSOS_Hole
@ TSOS_Hole
bit 14
Definition: TrackCommonFlags.h:57
TrackCommonFlags::TSOS_MeasCompetingRioOnTrackNotOutlier
@ TSOS_MeasCompetingRioOnTrackNotOutlier
bit 5
Definition: TrackCommonFlags.h:49
TrackCommonFlags::SELECTIONMODE
SELECTIONMODE
Definition: TrackCommonFlags.h:33
TrackCommonFlags::TSOS_AnyMeasurementNotOutlier
@ TSOS_AnyMeasurementNotOutlier
Definition: TrackCommonFlags.h:62
TrackCommonFlags::FROMPRDS
@ FROMPRDS
Definition: TrackCommonFlags.h:36
TrackCommonFlags::TSOS_AnyMeasurementOutlier
@ TSOS_AnyMeasurementOutlier
Definition: TrackCommonFlags.h:63
TrackCommonFlags::TSOS_MeasCompetingRioOnTrackOutlier
@ TSOS_MeasCompetingRioOnTrackOutlier
bit 7
Definition: TrackCommonFlags.h:51
TrackCommonFlags::TSOS_AnyParsErrors
@ TSOS_AnyParsErrors
Definition: TrackCommonFlags.h:66
TrackCommonFlags::TSOS_TrackParsErrorsNotPerigee
@ TSOS_TrackParsErrorsNotPerigee
bit 1
Definition: TrackCommonFlags.h:45
TrackCommonFlags::toString
static QString toString(const SELECTIONMODE &)
Definition: TrackCommonFlags.cxx:18
TrackCommonFlags::TSOS_NoObjects
@ TSOS_NoObjects
Definition: TrackCommonFlags.h:43
TrackCommonFlags::DETAILLEVEL
DETAILLEVEL
Definition: TrackCommonFlags.h:39
TrackCommonFlags::TSOS_SurfacesCustom
@ TSOS_SurfacesCustom
bit 10
Definition: TrackCommonFlags.h:53
TrackCommonFlags::TSOS_TubeSurfaces
@ TSOS_TubeSurfaces
bit 11
Definition: TrackCommonFlags.h:54
TrackCommonFlags::TrackCommonFlags
TrackCommonFlags()