11#include <TClonesArray.h>
19 class RelationElement;
68 virtual void Clear(Option_t* =
"");
In the store you can park objects that have to be accessed by various modules.
Low-level class to create/modify relations between StoreArrays.
Class to store relations between StoreArrays in the DataStore.
bool getModified() const
check for modification since creation or deserialization.
virtual void Clear(Option_t *="")
Clear container to free memory.
void setFromDurability(int durability)
Set durability of the StoreArray we relate from.
int getToDurability() const
Get durability of the StoreArray we relate to.
TClonesArray m_elements
TClonesArray to store all elements.
const std::string & getFromName() const
Get name of the StoreArray we relate from.
void setToDurability(int durability)
Set durability of the StoreArray we relate to.
int getFromDurability() const
Get durability of the StoreArray we relate from.
const TClonesArray & elements() const
Get const reference to the elements.
const RelationElement & getElement(int i) const
Get reference to RelationElement at index i.
RelationContainer()
Default constructor, initialize all values to sane default.
int m_toDurability
durability of the StoreArray we relate to.
const std::string & getToName() const
Get name of the StoreArray we relate to.
bool isDefaultConstructed() const
Returns true if no information was set yet or Clear() was called.
ClassDef(RelationContainer, 1)
Class to store relations between StoreArrays in the DataStore.
std::string m_fromName
name of the StoreArray we relate from.
void setModified(bool modified)
check for modification since creation or deserialization.
bool m_modified
check for modification since creation or deserialization.
std::string m_toName
name of the StoreArray we relate to.
int getEntries() const
Get number of elements.
void setToName(const std::string &name)
Set name of the StoreArray we relate to.
void setFromName(const std::string &name)
Set name of the StoreArray we relate from.
int m_fromDurability
durability of the StoreArray we relate from.
TClonesArray & elements()
Get reference to the elements.
Class to store a single element of a relation.
Abstract base class for different kinds of events.