 |
Belle II Software
release-05-01-25
|
13 #include <framework/logging/Logger.h>
68 B2ERROR(
"TCType::getTypeName(): given iD " << type <<
" is not a valid TCType, returnint TCType::UnknownType!");
80 B2ERROR(
"TCType::getTypeName(): given iD " << type <<
" is not a valid TCType, returnint TCType::UnknownType!");
90 return aType == TCType::Reference
91 or aType == TCType::Lost
92 or aType == TCType::RefOutlier;
99 return aType > TCType::RefOutlier
100 and aType < TCType::AllTCTypes;
107 return aType > TCType::Clone
108 and aType < TCType::AllTCTypes;
static std::string getTypeName(TCType::Type type)
for given TCType the corresponding string-name will be returned.
Type
allows classifying TCs
static bool isReference(TCType::Type aType)
returns true if given TCType is a reference-Type, false if not
static TCType::Type getTypeEnum(std::string type)
for given string name of a TCType the corresponding TCType will be returned.
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.
static bool isValidType(TCType::Type type)
checks if a type given is a valid type for a TCType
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 isGoodTestTC(TCType::Type aType)
returns true if given TCType is a testTC-Type and did successfully reconstruct a track
static bool isTestTC(TCType::Type aType)
returns true if given TCType is a testTC-Type, false if not
static bool isValidName(std::string type)
checks if the name given is a valid name for a TCType