![]() |
Belle II Software
release-05-02-19
|
Small class for classifying types of analyzing algorithms. More...
#include <AlgoritmType.h>
Public Types | |
enum | Type { UnknownType, AnalyzingAlgorithmBase, AnalyzingAlgorithmValuePX, AnalyzingAlgorithmValuePY, AnalyzingAlgorithmValuePZ, AnalyzingAlgorithmValuePT, AnalyzingAlgorithmValueP, AnalyzingAlgorithmValuePTheta, AnalyzingAlgorithmValuePPhi, AnalyzingAlgorithmValueDistSeed2IP, AnalyzingAlgorithmValueDistSeed2IPZ, AnalyzingAlgorithmValueDistSeed2IPXY, AnalyzingAlgorithmValueQI, AnalyzingAlgorithmResidualPX, AnalyzingAlgorithmResidualPY, AnalyzingAlgorithmResidualPZ, AnalyzingAlgorithmResidualPT, AnalyzingAlgorithmResidualP, AnalyzingAlgorithmResidualPTheta, AnalyzingAlgorithmResidualPPhi, AnalyzingAlgorithmResidualPAngle, AnalyzingAlgorithmResidualPTAngle, AnalyzingAlgorithmResidualPosition, AnalyzingAlgorithmResidualPositionXY, AnalyzingAlgorithmLostUClusters, AnalyzingAlgorithmLostVClusters, AnalyzingAlgorithmTotalUClusters, AnalyzingAlgorithmTotalVClusters, AnalyzingAlgorithmLostUEDep, AnalyzingAlgorithmLostVEDep, AnalyzingAlgorithmTotalUEDep, AnalyzingAlgorithmTotalVEDep, NTypes } |
allows classifying Analyzing algorithms More... | |
Static Public Member Functions | |
static bool | isValidType (AlgoritmType::Type type) |
checks if a type given is a valid type for an AlgoritmType | |
static bool | isValidName (std::string type) |
checks if the name given is a valid name for an AlgoritmType | |
static std::string | getTypeName (AlgoritmType::Type type) |
for given AlgoritmType the corresponding string-name will be returned. More... | |
static AlgoritmType::Type | getTypeEnum (std::string type) |
for given string name of a AlgoritmType the corresponding AlgoritmType will be returned. More... | |
static bool | isValueDoubleType (AlgoritmType::Type aType) |
returns true if given AlgoritmType is a an algorithm which calculates a value in double for each TC passed, false if not | |
static bool | isResidualDoubleType (AlgoritmType::Type aType) |
returns true if given AlgoritmType is a an algorithm which calculates a residual in double for each TC passed, false if not | |
static bool | isHitValueIntType (AlgoritmType::Type aType) |
returns true if given AlgoritmType is a an algorithm which calculates a value in int based on hits of each TC passed, false if not | |
static bool | isHitValueVecDoubleType (AlgoritmType::Type aType) |
returns true if given AlgoritmType is a an algorithm which calculates a value in vector< double> based on hits of each TC passed, false if not | |
Static Protected Attributes | |
static std::map< Type, std::string > | s_fromTypeToString |
static map allowing translation from a given type to its name stored as a string More... | |
static std::map< std::string, Type > | s_fromStringToType |
static map allowing translation from a given name stored as a string to its type More... | |
Small class for classifying types of analyzing algorithms.
Contains enums and converter from and to strings
Definition at line 35 of file AlgoritmType.h.
enum Type |
allows classifying Analyzing algorithms
Definition at line 39 of file AlgoritmType.h.
|
inlinestatic |
for given string name of a AlgoritmType the corresponding AlgoritmType will be returned.
For invalid types, UnknownType will be passed
Definition at line 108 of file AlgoritmType.h.
|
inlinestatic |
for given AlgoritmType the corresponding string-name will be returned.
For invalid types, UnknownType will be passed
Definition at line 96 of file AlgoritmType.h.
|
staticprotected |
static map allowing translation from a given name stored as a string to its type
setting static dictionary translating string -> type
Definition at line 140 of file AlgoritmType.h.
|
staticprotected |
static map allowing translation from a given type to its name stored as a string
setting static dictionary translating type -> string
Definition at line 137 of file AlgoritmType.h.