11#include <framework/logging/Logger.h>
35 AnalyzingAlgorithmValuePY,
36 AnalyzingAlgorithmValuePZ,
37 AnalyzingAlgorithmValuePT,
38 AnalyzingAlgorithmValueP,
39 AnalyzingAlgorithmValuePTheta,
40 AnalyzingAlgorithmValuePPhi,
41 AnalyzingAlgorithmValueDistSeed2IP,
42 AnalyzingAlgorithmValueDistSeed2IPZ,
43 AnalyzingAlgorithmValueDistSeed2IPXY,
44 AnalyzingAlgorithmValueQI,
47 AnalyzingAlgorithmResidualPY,
48 AnalyzingAlgorithmResidualPZ,
49 AnalyzingAlgorithmResidualPT,
50 AnalyzingAlgorithmResidualP,
51 AnalyzingAlgorithmResidualPTheta,
52 AnalyzingAlgorithmResidualPPhi,
53 AnalyzingAlgorithmResidualPAngle,
54 AnalyzingAlgorithmResidualPTAngle,
55 AnalyzingAlgorithmResidualPosition,
56 AnalyzingAlgorithmResidualPositionXY,
59 AnalyzingAlgorithmLostVClusters,
60 AnalyzingAlgorithmTotalUClusters,
61 AnalyzingAlgorithmTotalVClusters,
64 AnalyzingAlgorithmLostVEDep,
65 AnalyzingAlgorithmTotalUEDep,
66 AnalyzingAlgorithmTotalVEDep,
90 B2ERROR(
"AlgoritmType::getTypeName(): given iD " << type <<
" is not a valid AlgoritmType, return AlgoritmType::UnknownType!");
102 B2ERROR(
"AlgoritmType::getTypeName(): given iD " << type <<
" is not a valid AlgoritmType, return AlgoritmType::UnknownType!");
115 {
return aType < AlgoritmType::AnalyzingAlgorithmLostUClusters and aType > AlgoritmType::AnalyzingAlgorithmValueQI; }
123 {
return aType > AlgoritmType::AnalyzingAlgorithmTotalVClusters and aType < AlgoritmType::NTypes; }
Small class for classifying types of analyzing algorithms.
static std::map< std::string, Type > s_fromStringToType
static map allowing translation from a given name stored as a string to its type
static bool isValidName(std::string type)
checks if the name given is a valid name for an AlgoritmType
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...
Type
allows classifying Analyzing algorithms
@ AnalyzingAlgorithmResidualPX
residual type, stores double. defined in ..tracking/trackFindingVXD/analyzingTools/algorithms/Analyzi...
@ AnalyzingAlgorithmBase
base type, template for all the other analyzing algorithms, contains essential functions for all algo...
@ AnalyzingAlgorithmLostUEDep
value type hit (with access to clusters via relations), stores vector< double >. defined in ....
@ AnalyzingAlgorithmLostUClusters
value type hit (with access to clusters via relations), stores int. defined in ..tracking/trackFindin...
@ AnalyzingAlgorithmValuePX
value type, stores double. defined in ..tracking/trackFindingVXD/analyzingTools/algorithms/AnalyzingA...
static bool isValueDoubleType(AlgoritmType::Type aType)
returns true if given AlgoritmType is a an algorithm which calculates a value in double for each TC p...
static bool isResidualDoubleType(AlgoritmType::Type aType)
returns true if given AlgoritmType is a an algorithm which calculates a residual in double for each T...
static std::map< Type, std::string > s_fromTypeToString
static map allowing translation from a given type to its name stored as a string
static bool isHitValueVecDoubleType(AlgoritmType::Type aType)
returns true if given AlgoritmType is a an algorithm which calculates a value in vector< double> base...
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 isValidType(AlgoritmType::Type type)
checks if a type given is a valid type for an AlgoritmType
Abstract base class for different kinds of events.