 |
Belle II Software
release-05-01-25
|
13 #include <framework/dataobjects/BackgroundMetaData.h>
22 namespace background {
80 if (bgTag == 0)
return "";
82 if (bgTag == tag.second)
return tag.first;
92 std::string
getType(
unsigned int bgTag)
const
94 if (bgTag == 0)
return "";
96 if (bgTag == tag.second)
return tag.first;
109 if (tag.first !=
"other" && tag.second != 0) types += tag.first +
", ";
117 std::map<std::string, BackgroundMetaData::BG_TAG>
m_tags;
BackgroundMetaData::BG_TAG getTag(const std::string &bgType)
Return BG tag for a given BG type.
std::string getBGTypes() const
Return all defined BG types as a string.
std::map< std::string, BackgroundMetaData::BG_TAG > m_tags
a map of BG tags
std::string getType(BackgroundMetaData::BG_TAG bgTag) const
Return BG type for a given BG tag.
Abstract base class for different kinds of events.
BeamBGTypes()
Constructor.