00001 00011 #ifndef SIMPRPCCALIBTOOL_H 00012 #define SIMPRPCCALIBTOOL_H 1 00013 00014 #include "CalibAlg/ICalibTool.h" 00015 00016 #include "GaudiAlg/GaudiTool.h" 00017 00018 namespace DayaBay{ 00019 class DaqCrate; 00020 class CalibReadout; 00021 } 00022 00023 //class ICalibDataSvc; 00024 class ISimDataSvc; 00025 class ICableSvc; 00026 00027 class SimpRpcCalibTool : public GaudiTool , virtual public ICalibTool 00028 { 00029 public: 00030 00031 SimpRpcCalibTool(const std::string& type, 00032 const std::string& name, 00033 const IInterface* parent); 00034 00035 virtual ~SimpRpcCalibTool(); 00036 00037 virtual StatusCode calibration(const DayaBay::DaqCrate*, 00038 DayaBay::CalibReadout*); 00039 virtual StatusCode initialize(); 00040 virtual StatusCode finalize(); 00041 00042 private: 00043 00044 // Property CalibDataSvcName - Name of the CalibData service 00045 //std::string m_calibDataSvcName; 00046 00047 // Pmt calibration data Service 00048 //ICalibDataSvc* m_calibDataSvc; 00049 00050 //========================================================= 00051 // Temporarily use ISimDataSvc, should be removed from here 00052 // Property SimDataSvcName - Name of the SimData service 00053 std::string m_simDataSvcName; 00054 00055 // Pmt simulation data Service 00056 ISimDataSvc* m_simDataSvc; 00057 //========================================================= 00058 00059 // Property CableSvcName - Name of the Cable service 00060 std::string m_cableSvcName; 00061 00062 // CableSvc 00063 ICableSvc* m_cableSvc; 00064 00065 }; 00066 00067 #endif // SIMPRPCCALIBTOOL_H