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

Helper class to store ID numbers of AFP proton reconstruction algorithms. More...

#include <AFPProtonRecoAlgID.h>

Collaboration diagram for xAOD::AFPProtonRecoAlgID:

Static Public Attributes

static constexpr int analytical {0}
 analytical algorithm id=0
static constexpr int chi2minuit {1}
 chi2minuit algorithm id=1

Detailed Description

Helper class to store ID numbers of AFP proton reconstruction algorithms.

This class contains public static const variables which can be used instead of raw numbers for refering to algorithms used for AFP proton 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 analytical algorithm is used
}
static constexpr int analytical
analytical algorithm id=0
AFPProton_v1 AFPProton
Definition AFPProton.h:11

Algorithms indexing follows the scheme

ID Algorithm Comments
0 Analytical algorithm (AFP_GlobReco/AFP_ProtonRecoAnalytical)
1 Chi^2 Minuit algorithm (AFP_GlobReco/AFP_ProtonRecoChi2Minuit)

Definition at line 44 of file AFPProtonRecoAlgID.h.

Member Data Documentation

◆ analytical

int xAOD::AFPProtonRecoAlgID::analytical {0}
staticconstexpr

analytical algorithm id=0

Definition at line 47 of file AFPProtonRecoAlgID.h.

47{0};

◆ chi2minuit

int xAOD::AFPProtonRecoAlgID::chi2minuit {1}
staticconstexpr

chi2minuit algorithm id=1

Definition at line 48 of file AFPProtonRecoAlgID.h.

48{1};

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