ATLAS Offline Software
TrackTypes.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 TRACKTYPES_H
6 #define TRACKTYPES_H
7 
8 #include <QString>
9 
10 class TrackType {
11 public:
12  //NB: The order listed here is the order presented in the GUI (see TrackCollWidget::sortSections(..))
13  enum Type {
15  };
16 
17  static qint32 typeToInt(const Type&);
18  static Type intToType(const qint32&);
19 
20  static QString typeToString(const Type&);
21  static Type stringToType(const QString&str, bool & status);
22 
23  //For getting a pretty more human-readable string for the section headers:
24  static QString typeToSectionHeader(const Type&);
25  static Type sectionHeaderToType(const QString&, bool & status);
26  static QString typeToSectionHeaderToolTip(const Type&);
27 
28 private:
30 };
31 
32 
33 #endif
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
TrackType::AnalysisObject
@ AnalysisObject
Definition: TrackTypes.h:14
TrackType::sectionHeaderToType
static Type sectionHeaderToType(const QString &, bool &status)
Definition: TrackTypes.cxx:103
TrackType::TrackType
TrackType()
TrackType::typeToSectionHeader
static QString typeToSectionHeader(const Type &)
Definition: TrackTypes.cxx:84
TrackType::LV2Track
@ LV2Track
Definition: TrackTypes.h:14
TrackType::Unknown
@ Unknown
Definition: TrackTypes.h:14
TrackType::stringToType
static Type stringToType(const QString &str, bool &status)
Definition: TrackTypes.cxx:65
TrackType::SimulationTrack
@ SimulationTrack
Definition: TrackTypes.h:14
TrackType::typeToInt
static qint32 typeToInt(const Type &)
Definition: TrackTypes.cxx:8
xAODType
Definition: ObjectType.h:13
TrackType::TrkTrack
@ TrkTrack
Definition: TrackTypes.h:14
TrackType::TrackParticle
@ TrackParticle
Definition: TrackTypes.h:14
TrackType::FatrasTruthTrack
@ FatrasTruthTrack
Definition: TrackTypes.h:14
TrackType::TrkSegment
@ TrkSegment
Definition: TrackTypes.h:14
TrackType::TruthTrack
@ TruthTrack
Definition: TrackTypes.h:14
str
Definition: BTagTrackIpAccessor.cxx:11
merge.status
status
Definition: merge.py:17
TrackType::intToType
static Type intToType(const qint32 &)
Definition: TrackTypes.cxx:27
TrackType::typeToSectionHeaderToolTip
static QString typeToSectionHeaderToolTip(const Type &)
Definition: TrackTypes.cxx:122
TrackType::RefittedTrack
@ RefittedTrack
Definition: TrackTypes.h:14
TrackType::typeToString
static QString typeToString(const Type &)
Definition: TrackTypes.cxx:46
TrackType
Definition: TrackTypes.h:10