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