1 #ifndef DBFileHandler_h
2 #define DBFileHandler_h
5 #include "ConditionsHandlerBase.hh"
13 typedef std::pair<LCCDTimeStamp,LCCDTimeStamp> ValidityInterval ;
14 typedef std::vector< ValidityInterval > ValidityVector ;
65 const std::string& name,
66 const std::string& inputCollection=
"" ) ;
75 virtual void registerDefaultCollection( lcio::LCCollection* col);
110 int findEventNumber( LCCDTimeStamp timeStamp ) ;
135 #endif // DBFileHandler_h
std::string _inputCollection
Name of LCCollection in first event.
Definition: DBFileHandler.hh:118
lcio::LCCollection * _defaultCollection
The registered default collection.
Definition: DBFileHandler.hh:127
lcio::LCCollection * _lastValidCollection
The last valid collection of conditions data.
Definition: DBFileHandler.hh:130
LCReader * _lcReader
The LCIO input file reader.
Definition: DBFileHandler.hh:124
Base implementation of IConditionsHandler.
Definition: ConditionsHandlerBase.hh:27
ValidityVector _valVec
Vector that holds the validity time intervalls for all events.
Definition: DBFileHandler.hh:121
virtual lcio::LCCollection * lastValidCollection()
The last valid collection held by the handler.
Definition: DBFileHandler.hh:85
virtual lcio::LCCollection * defaultCollection()
The default collection registered with the handler.
Definition: DBFileHandler.hh:80
lcio::long64 LCCDTimeStamp
The timestamp in LCCD is a 64bit int as defined in LCIO.
Definition: lccd.h:24
std::string _fileName
Name of LCIO input file with conditions data.
Definition: DBFileHandler.hh:115
Implementation of ConditionsHandlerBase that reads the conditions data from a special LCIO file...
Definition: DBFileHandler.hh:52