00001 00010 #ifndef ESIDEALPULSETOOL_H 00011 #define ESIDEALPULSETOOL_H 1 00012 00013 #include "ElecSim/IEsPulseTool.h" 00014 #include "GaudiAlg/GaudiTool.h" 00015 #include "DataSvc/ICableSvc.h" 00016 00017 namespace DayaBay{ 00018 class SimHitCollection; 00019 class ElecPulseCollection; 00020 } 00021 00022 class EsIdealPulseTool : public GaudiTool , virtual public IEsPulseTool 00023 { 00024 public: 00025 00026 EsIdealPulseTool(const std::string& type, 00027 const std::string& name, 00028 const IInterface* parent); 00029 00030 virtual ~EsIdealPulseTool(); 00031 00032 virtual StatusCode generatePulses(DayaBay::SimHitCollection*, 00033 DayaBay::ElecPulseCollection*); 00034 virtual StatusCode initialize(); 00035 virtual StatusCode finalize(); 00036 00037 private: 00038 00039 // Property CableSvcName - Name of the cable service (default="StaticCableSvc") 00040 std::string m_cableSvcName; 00041 00042 // CableSvc 00043 ICableSvc *m_cableSvc; 00044 00045 }; 00046 00047 #endif // ESIDEALPULSETOOL_H