11#include <framework/logging/Logger.h>
66 B2ERROR(
"TCType::getTypeName(): given iD " << type <<
" is not a valid TCType, returnint TCType::UnknownType!");
78 B2ERROR(
"TCType::getTypeName(): given iD " << type <<
" is not a valid TCType, returnint TCType::UnknownType!");
88 return aType == TCType::Reference
89 or aType == TCType::Lost
90 or aType == TCType::RefOutlier;
97 return aType > TCType::RefOutlier
98 and aType < TCType::AllTCTypes;
105 return aType > TCType::Clone
106 and aType < TCType::AllTCTypes;
Small class for classifying types of reconstructed track candidates.
static std::string getTypeName(TCType::Type type)
for given TCType the corresponding string-name will be returned.
static bool isValidType(TCType::Type type)
checks if a type given is a valid type for a TCType
static bool isValidName(std::string type)
checks if the name given is a valid name for a TCType
static bool isTestTC(TCType::Type aType)
returns true if given TCType is a testTC-Type, false if not
Type
allows classifying TCs
static bool isReference(TCType::Type aType)
returns true if given TCType is a reference-Type, false if not
static std::map< std::string, Type > s_fromStringToType
static map allowing translation from a given name stored as a string to its type
static TCType::Type getTypeEnum(std::string type)
for given string name of a TCType the corresponding TCType will be returned.
static bool isGoodTestTC(TCType::Type aType)
returns true if given TCType is a testTC-Type and did successfully reconstruct a track
static std::map< Type, std::string > s_fromTypeToString
static map allowing translation from a given type to its name stored as a string
Abstract base class for different kinds of events.