00001 #ifndef TESDEMO_TESDEMOOUTPUT_H 00002 #define TESDEMO_TESDEMOOUTPUT_H 1 00003 00004 #include "GaudiAlg/GaudiAlgorithm.h" 00005 00006 #include <deque> 00007 00008 namespace DayaBay { 00009 class RegistrationSequence; 00010 } 00011 00012 class IDybStorageSvc; 00013 class IArchiveTrimSvc; 00014 00015 class TESDemoOutput: 00016 public GaudiAlgorithm { 00017 00018 public: 00019 00020 TESDemoOutput (const std::string& name, 00021 ISvcLocator* pSvcLocator); 00022 StatusCode initialize(); 00023 StatusCode execute(); 00024 StatusCode finalize(); 00025 00026 private: 00027 00028 StringProperty m_regSeqPath; 00029 StringProperty m_readoutPath; 00030 00031 IDybStorageSvc* p_storageSvc; 00032 IArchiveTrimSvc* p_trimSvc; 00033 std::deque<DayaBay::RegistrationSequence*> m_regSeqs; 00034 }; 00035 00036 #endif /* TESDEMO_TESDEMOOUTPUT_H */