lccd::SimpleFileHandler Class Reference
Implementation of ConditionsHandlerBase that reads the conditions data from an LCIO file.
More...
#include <SimpleFileHandler.hh>
Inheritance diagram for lccd::SimpleFileHandler:
List of all members.
|
Public Member Functions |
| SimpleFileHandler (const std::string &fileName, const std::string &name, const std::string &inputCollection="") |
| Default constructor.
|
virtual void | update (LCCDTimeStamp timestamp) |
| Retrieves the conditions data on first call.
|
Protected Attributes |
std::string | _fileName |
| Name of LCIO input file with conditions data.
|
std::string | _inputCollection |
| Name of LCCollection in first event.
|
bool | _firstCall |
Detailed Description
Implementation of ConditionsHandlerBase that reads the conditions data from an LCIO file.
The conditions data has to be in the first event. The data will get an infinite validity time intervall assigned.
This can be used, e.g. to read a set of calibration constants that will be used unaltered throughout the job.
Note: The data isn't read from the file until update() is called.
- Author:
- F.Gaede, DESY
- Version:
- Id
- SimpleFileHandler.hh,v 1.2 2005/08/30 13:36:20 gaede Exp
Constructor & Destructor Documentation
lccd::SimpleFileHandler::SimpleFileHandler |
( |
const std::string & |
fileName, |
|
|
const std::string & |
name, |
|
|
const std::string & |
inputCollection = "" |
|
) |
|
|
|
Default constructor.
You have to specify the following parameters:
- Parameters:
-
fileName: | the LCIO file that holds the conditions data. |
name: | of this conditions data set - used, e.g. as collection name in update(LCEvent* evt) |
inputCollection: | name of collection in input file - if not given the name of this conditions data set is used |
|
Member Function Documentation
virtual void lccd::SimpleFileHandler::update |
( |
LCCDTimeStamp |
timestamp |
) |
[virtual] |
|
|
Retrieves the conditions data on first call.
Subsequent calls have no effect.
Notifies all registered listeners on first call.
Implements lccd::ConditionsHandlerBase. |
The documentation for this class was generated from the following file:
Generated on Fri Sep 9 12:30:32 2005 for LCCD by
1.3.5