9 #include <framework/dataobjects/BackgroundMetaData.h>
10 #include <framework/logging/Logger.h>
20 B2ERROR(
"BackgroundMetaData: objects cannot be merged (different backgroundType)");
25 B2ERROR(
"BackgroundMetaData: objects cannot be merged (different backgroundTag)");
30 B2ERROR(
"BackgroundMetaData: objects cannot be merged (different fileType)");
42 if (otherObj->getBackgroundType().empty())
return;
44 if (m_backgroundType.empty()) {
49 if (!canBeMerged(otherObj))
throw BackgroundMetaDataNotMergeable();
55 void BackgroundMetaData::clear()
Abstract base class for objects that can be merged.
std::vector< std::vector< double > > merge(std::vector< std::vector< std::vector< double >>> toMerge)
merge { vector<double> a, vector<double> b} into {a, b}
Abstract base class for different kinds of events.