 |
Belle II Software
release-05-02-19
|
1 #include <framework/datastore/SelectSubset.h>
3 #include <framework/datastore/RelationArray.h>
Low-level class to create/modify relations between StoreArrays.
static DataStore & Instance()
Instance of singleton Store.
const std::string & getName() const
Return name under which the object is saved in the DataStore.
void replaceData(const StoreAccessorBase &from, const StoreAccessorBase &to)
For two StoreAccessors of same type, move all data in 'from' into 'to', discarding previous contents ...
Base class for StoreObjPtr and StoreArray for easier common treatment.
Abstract base class for different kinds of events.
std::vector< std::string > m_inheritToArrays
array names we inherit relations to.
virtual StoreAccessorBase * getSet()=0
Get accessor for original set.
static std::string relationName(const std::string &fromName, const std::string &toName, std::string const &namedRelation="")
Return storage name for a relation between two arrays of the given names.
virtual StoreAccessorBase * getSubSet()=0
Get accessor for reduced set.
void swapSetsAndDestroyOriginal()
Swap set and subset (+relations), and keep only the reduced set.
std::vector< std::string > m_inheritFromArrays
array names we inherit relations from.