ATLAS Offline Software
Static Public Attributes | List of all members
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 More...
 
static constexpr int chi2minuit {1}
 chi2minuit algorithm id=1 More...
 

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
}

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

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

analytical algorithm id=0

Definition at line 47 of file AFPProtonRecoAlgID.h.

◆ chi2minuit

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

chi2minuit algorithm id=1

Definition at line 48 of file AFPProtonRecoAlgID.h.


The documentation for this class was generated from the following file:
xAOD::AFPProtonRecoAlgID::analytical
static constexpr int analytical
analytical algorithm id=0
Definition: AFPProtonRecoAlgID.h:47
xAOD::proton
@ proton
Definition: TrackingPrimitives.h:198
xAOD::AFPProton_v1
Class representing a proton reconstructed in AFP.
Definition: AFPProton_v1.h:36