Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

lccd::DataFileHandler Class Reference

Implementation of ConditionsHandlerBase that handles conditions data that is stored in a data LCIO file. More...

#include <DataFileHandler.hh>

Inheritance diagram for lccd::DataFileHandler:

lccd::ConditionsHandlerBase lccd::IConditionsHandler List of all members.

Public Member Functions

 DataFileHandler (const std::string &name)
 Default constructor.

virtual void updateEvent (lcio::LCEvent *evt)
 Checks wether the collection is present in the event, if so it keeps it until a new version is found otherwise it adds the current collection to the event.
The events time stamp is ignored.
Notifies all registered listeners.

virtual void update (LCCDTimeStamp timestamp)
 Retrieves the new conditions data if required by timestamp.


Detailed Description

Implementation of ConditionsHandlerBase that handles conditions data that is stored in a data LCIO file.

The condition collection is kept until an event is presented that has a new version of the particular collection. The time stamps are ignored and the validity of the conditions data is determined by the sequence with which they appear in the data stream.
This can for example be used in cases where the DAQ system writes slow control data into the same data stream as the raw data.

Author:
F.Gaede, DESY
Version:
Id
DataFileHandler.hh,v 1.3 2005/02/25 17:28:54 gaede Exp


Constructor & Destructor Documentation

lccd::DataFileHandler::DataFileHandler const std::string &  name  ) 
 

Default constructor.

Parameters:
name: of this conditions data set - used as collection name


Member Function Documentation

virtual void lccd::DataFileHandler::update LCCDTimeStamp  timestamp  )  [inline, virtual]
 

Retrieves the new conditions data if required by timestamp.

Notifies all registered listeners
See implementation classes for details.

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 doxygen 1.3.5