00001 /* 00002 * SimHitSplitSvc 00003 * Interface of SimHitSplitSvc 00004 * 00005 * Output one or more SimHitHeader 00006 * 00007 * yczhang@ihep.ac.cn Nov 28, 2010 00008 */ 00009 00010 #ifndef ISIMHITSPLITSVC_H 00011 #define ISIMHITSPLITSVC_H 00012 00013 #include <map> 00014 #include <deque> 00015 #include <string> 00016 #include <vector> 00017 00018 #include "Context/TimeStamp.h" 00019 00020 #include "GaudiKernel/IInterface.h" 00021 00022 namespace DayaBay 00023 { 00024 class SimHeader; 00025 class SimHitHeader; 00026 } 00027 00028 using namespace std; 00029 using namespace DayaBay; 00030 00031 static const InterfaceID IID_ISimHitSplitSvc("ISimHitSplitSvc", 0, 0); 00032 00033 class ISimHitSplitSvc : virtual public IInterface 00034 { 00035 public: 00036 static const InterfaceID& interfaceID() 00037 { return IID_ISimHitSplitSvc; } 00038 00039 //This service gives SimHitHeaders to DigitAlg 00040 virtual StatusCode getSimHitHeader(SimHeader* sh, vector<SimHitHeader*>& shhs, vector<TimeStamp>& hites, vector<TimeStamp>& hitls) = 0; 00041 }; 00042 00043 #endif //ISimHitSplitSvc_H