00001
00002
00004
00005
00006 #ifndef _H_IGlastDetSvc_
00007 #define _H_IGlastDetSvc_
00008
00009
00010 #include "GaudiKernel/IInterface.h"
00011
00012
00013
00014 class DetectorConverter;
00015 class GlastDetector;
00016 namespace xml {class IFile; }
00017
00018
00019 static const InterfaceID IID_IGlastDetSvc(901, 1 , 0);
00021
00022 class IGlastDetSvc : virtual public IInterface {
00023 public:
00024
00026 virtual StatusCode openIRF(std::string filename)=0;
00027
00029 virtual StatusCode readIRF ()=0;
00030
00031
00033 virtual int detectors_with_data()const=0;
00034
00035
00037 virtual void accept(DetectorConverter&)const=0;
00038
00040 virtual const xml::IFile* iniFile()const=0;
00041
00043 virtual void setDetector(GlastDetector* d)=0;
00044
00046 static const InterfaceID& interfaceID() { return IID_IGlastDetSvc; }
00047
00048
00049 };
00050
00051
00052
00053 #endif // _H_IGlastDetSvc_