#include <DBFileHandler.hh>
Inheritance diagram for lccd::DBFileHandler:
Public Member Functions | |
DBFileHandler (const std::string &fileName, const std::string &name, const std::string &inputCollection="") | |
Default constructor. | |
virtual void | update (LCCDTimeStamp timestamp) |
Reads the event with the conditions data valid for the given time stamp, if: . | |
Protected Member Functions | |
void | init () |
Initializes the validity intervall map from the run header. | |
int | findEventNumber (LCCDTimeStamp timeStamp) |
The conditions event number for the given time stamp. | |
Protected Attributes | |
std::string | _fileName |
Name of LCIO input file with conditions data. | |
std::string | _inputCollection |
Name of LCCollection in first event. | |
ValidityVector | _valVec |
Vector that holds the validity time intervalls for all events. | |
LCReader * | _lcReader |
The LCIO input file reader. |
The file has to be extracted from a data base beforehand. e.g. with lccd::DBInterface::createDBFile() or created otherwise by fullfilling the following requirements:
|
Default constructor. You have to specify the following parameters:
|
|
Reads the event with the conditions data valid for the given time stamp, if:
Implements lccd::ConditionsHandlerBase. |