00001 /* 00002 * ICalibTool.h 00003 * 00004 * Generic Calibration Tool Interface 00005 * 00006 * 00007 * wenlj@ihep.ac.cn 2008/11/09 00008 */ 00009 00010 #ifndef ICALIBTOOL_H 00011 #define ICALIBTOOL_H 1 00012 00013 #include "GaudiKernel/IAlgTool.h" 00014 #include <string> 00015 00016 namespace DayaBay{ 00017 class DaqCrate; 00018 class CalibReadout; 00019 } 00020 00021 class ICalibTool : virtual public IAlgTool 00022 { 00023 public: 00025 static const InterfaceID& interfaceID(); 00026 00028 virtual StatusCode calibration(const DayaBay::DaqCrate*, 00029 DayaBay::CalibReadout*) = 0; 00030 00031 protected: 00032 00033 virtual ~ICalibTool(); 00034 00035 }; 00036 00037 #endif // ICALIBTOOL_H