00001 00010 #ifndef ESDARKDETECTORALG_H 00011 #define ESDARKDETECTORALG_H 00012 00013 #include "DybAlg/DybAlgorithm.h" 00014 #include "Event/SimHeader.h" 00015 #include "Context/TimeStamp.h" 00016 00017 class EsDarkDetectorAlg : public DybAlgorithm<DayaBay::SimHeader> 00018 { 00019 00020 public: 00021 00022 EsDarkDetectorAlg(const std::string& name, ISvcLocator* pSvcLocator); 00023 virtual ~EsDarkDetectorAlg(); 00024 00025 virtual StatusCode initialize(); 00026 virtual StatusCode execute(); 00027 virtual StatusCode finalize(); 00028 00029 private: 00030 00035 std::string m_simLocation; 00036 00037 // Property Detectors - List of detectors to simulate 00038 std::vector<std::string> m_detectors; 00039 // Property SimWindow - Length of the simulation time window 00040 double m_simWindow; 00041 // Property SimDeltaT - Time between simulation windows 00042 double m_simDeltaT; 00043 // Property SimStartTime - Starting TimeStamp of the simulation 00044 double m_simStartTime; 00045 // Current TimeStamp of the simulation 00046 TimeStamp m_currentTime; 00047 00048 }; 00049 00050 #endif // ESDARKDETECTORALG_H