Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

IMagneticFieldSvc.h

Go to the documentation of this file.
00001 // $Header: /nfs/slac/g/glast/ground/cvs/GaudiKernel/GaudiKernel/IMagneticFieldSvc.h,v 1.1.1.1 2001/04/18 18:14:18 tlindner Exp $
00002 #ifndef GAUDIKERNEL_IMAGNETICFIELDSVC_H
00003 #define GAUDIKERNEL_IMAGNETICFIELDSVC_H
00004 
00005 
00006 // Include files
00007 #include "GaudiKernel/IService.h"
00008 #include "GaudiKernel/StatusCode.h"
00009 
00010 
00011 // Forward declarations
00012 template <class TYPE> class SvcFactory;
00013 class HepPoint3D;
00014 class HepVector3D;
00015 
00016 
00017 // Declaration of the interface ID ( interface id, major version, minor version) 
00018 static const InterfaceID IID_IMagneticFieldSvc(80, 1 , 0); 
00019 
00020 
00027 class IMagneticFieldSvc : virtual public IService   {
00028 
00029 public:
00031   static const InterfaceID& interfaceID() { return IID_IMagneticFieldSvc; }
00032 
00033   // Get the magnetic field vector at a given point in space.
00034   // Input: Point3D - Point at which magnetic field vector is to be given.
00035   // Output: Vector3D - Magnectic field vector.
00036   // Return: StatusCode SUCCESS if calculation was performed.
00037   virtual StatusCode fieldVector( const HepPoint3D& xyz, HepVector3D& fvec ) const = 0;
00038 
00039 };
00040 
00041 #endif  // GAUDIKERNEL_IMAGNETICFIELDSVC_H

Generated at Wed Nov 21 12:22:04 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000