00001 #ifndef SimpleFileHandler_h
00002 #define SimpleFileHandler_h
00003
00004
00005 #include "ConditionsHandlerBase.hh"
00006
00007 using namespace lcio ;
00008
00009 namespace lccd {
00010
00022 class SimpleFileHandler : public ConditionsHandlerBase {
00023
00024 public:
00025
00034 SimpleFileHandler(const std::string& fileName,
00035 const std::string& name,
00036 const std::string& inputCollection="" ) ;
00037
00038
00039 virtual ~SimpleFileHandler() ;
00040
00045 virtual void update( LCCDTimeStamp timestamp ) ;
00046
00047
00048 protected :
00049
00050 SimpleFileHandler() {}
00051
00052
00053
00055 std::string _fileName ;
00056
00058 std::string _inputCollection ;
00059
00060
00061 bool _firstCall ;
00062
00063 };
00064 } ;
00065
00066 #endif // SimpleFileHandler_h