ATLAS Offline Software
Loading...
Searching...
No Matches
xAOD::AFPTrackRecoAlgID Class Reference

Helper class to store ID numbers of track reconstruction algorithms. More...

#include <AFPTrackRecoAlgID.h>

Collaboration diagram for xAOD::AFPTrackRecoAlgID:

Static Public Attributes

static constexpr int basicKalman {0}
 basic Kalman algorithm id=0
static constexpr int linReg {1}
 linear regression algorithm id=1

Detailed Description

Helper class to store ID numbers of track reconstruction algorithms.

This class contains public static const variables which can be used instead of raw numbers for refering to algorithms used for track reconstruction. Enum is not used to allow adding new numbers without the need of modifying the header file.

An example of usage

// do something if basic kalman algorithm is used
}
static constexpr int basicKalman
basic Kalman algorithm id=0
AFPTrack_v2 AFPTrack
Definition AFPTrack.h:12

Algorithms indexing follows the scheme

ID Algorithm Comments
0 Basic Kalman algorithm (AFP_LocReco/AFPSiDBasicKalmanTool)
1 Linear Regression algorithm (AFP_LocRecoAFPSiDLinRegTool)

Definition at line 44 of file AFPTrackRecoAlgID.h.

Member Data Documentation

◆ basicKalman

int xAOD::AFPTrackRecoAlgID::basicKalman {0}
staticconstexpr

basic Kalman algorithm id=0

Definition at line 47 of file AFPTrackRecoAlgID.h.

47{0};

◆ linReg

int xAOD::AFPTrackRecoAlgID::linReg {1}
staticconstexpr

linear regression algorithm id=1

Definition at line 48 of file AFPTrackRecoAlgID.h.

48{1};

The documentation for this class was generated from the following file: