Belle II Software development
|
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. | |
static AlgoritmType::Type | getTypeEnum (std::string type) |
for given string name of a AlgoritmType the corresponding AlgoritmType will be returned. | |
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 | |
static std::map< std::string, Type > | s_fromStringToType |
static map allowing translation from a given name stored as a string to its type | |
Small class for classifying types of analyzing algorithms.
Contains enums and converter from and to strings
Definition at line 25 of file AlgoritmType.h.
enum Type |
allows classifying Analyzing algorithms
Definition at line 29 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 98 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 86 of file AlgoritmType.h.
|
inlinestatic |
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
Definition at line 118 of file AlgoritmType.h.
|
inlinestatic |
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
Definition at line 122 of file AlgoritmType.h.
|
inlinestatic |
returns true if given AlgoritmType is a an algorithm which calculates a residual in double for each TC passed, false if not
Definition at line 114 of file AlgoritmType.h.
|
inlinestatic |
checks if the name given is a valid name for an AlgoritmType
Definition at line 79 of file AlgoritmType.h.
|
inlinestatic |
checks if a type given is a valid type for an AlgoritmType
Definition at line 72 of file AlgoritmType.h.
|
inlinestatic |
returns true if given AlgoritmType is a an algorithm which calculates a value in double for each TC passed, false if not
Definition at line 110 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 130 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 127 of file AlgoritmType.h.