00001 #ifndef ITOFGEOMSVC_H_ 00002 #define ITOFGEOMSVC_H_ 00003 #include "GaudiKernel/IInterface.h" 00004 #include "GaudiKernel/Kernel.h" 00005 #include "TofGeomSvc/BTofGeo.h" 00006 #include "TofGeomSvc/ETofGeo.h" 00007 00008 // Declaration of the interface ID 00009 static const InterfaceID IID_ITofGeomSvc = 1058; 00010 00011 class BTofGeo; 00012 class ETofGeo; 00013 00014 class ITofGeomSvc : virtual public IInterface { 00015 public: 00016 static const InterfaceID& interfaceID() { return IID_ITofGeomSvc; } 00017 virtual BTofGeo* BTof(unsigned id) const= 0; 00018 virtual ETofGeo* ETof(unsigned id) const= 0; 00019 virtual const double getBPhiMax(unsigned id)=0; 00020 virtual const double getBPhiMin(unsigned id)=0; 00021 virtual const double getEPhiMax(unsigned id)=0; 00022 virtual const double getEPhiMin(unsigned id)=0; 00023 virtual void Dump() = 0; 00024 }; 00025 00026 #endif // ITOFGEOMSVC_H