10#include <framework/database/DBStore.h>
11#include <framework/database/IntervalOfValidity.h>
120 for (
unsigned i = 1; i <
m_objects.size(); i++) {
139 std::vector<unsigned long long int>
m_tags;
Base class for importing objects to the database.
virtual void addTimeStampDependency(unsigned long long int timeStamp)
add time stamp dependency
const std::string & getName() const
Returns the name under which the object will be stored in the database.
void addIntraRunDependency(unsigned long long int tag, EIntraRunDependency type)
add intra run dependency
EIntraRunDependency
Intra run dependency types (used only internaly)
DBImportBase(const DBImportBase &)
Hidden copy constructor.
virtual void addEventDependency(unsigned int eventNumber)
add event dependency
virtual ~DBImportBase()
Destructor.
std::vector< unsigned long long int > m_tags
container for intra run dep.
DBImportBase(const std::string &name)
Constructor.
bool storeData(TObject *intraRun, const IntervalOfValidity &iov)
Store intra run dependent objects.
std::vector< TObject * > m_objects
container for intra run dependency objects
virtual void addSubrunDependency(int subrun)
add subrun dependency
virtual void clear()
Clear the content, e.g.
std::string m_name
object or array name in database
EIntraRunDependency m_dependency
dependency type
TObject * m_object
pointer to allocated object or array
A class that describes the interval of experiments/runs for which an object in the database is valid.
Abstract base class for different kinds of events.