10#include <framework/database/IntraRunDependency.h>
38 void add(
unsigned int event, TObject*
object);
Class for handling changing conditions as a function of event number.
EventDependency(TObject *object=0, bool owner=true)
Constructor for event depenent conditions.
const std::vector< unsigned int > & getBoundaries() const override
Get a vector with the intra-run boundaries (in this case, event numbers).
ClassDefOverride(EventDependency, 1)
class for event number dependent conditions.
void add(unsigned int event, TObject *object)
Add an object to the intra run dependency.
TObject * getObjectByIndex(int indx) const
Get the stored object according to indx.
std::vector< unsigned int > m_eventNumbers
Vector of event number boundaries.
const std::vector< unsigned int > & getEventNumbers() const
Get a vector with event number boundaries In case of no intra-run dependence, the vector is empty In ...
virtual int getIndex(const EventMetaData &event) const override
Get the index of the object that is valid for the given event.
Base class for handling changing conditions during a run.
TObjArray m_objects
Array of intra-run dependent objects.
Abstract base class for different kinds of events.