Gaudi Framework, version v23r7

Home   Generated: Wed Mar 20 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IMagneticFieldSvc.h
Go to the documentation of this file.
1 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiKernel/GaudiKernel/IMagneticFieldSvc.h,v 1.8 2006/05/29 08:46:06 hmd Exp $
2 #ifndef GAUDIKERNEL_IMAGNETICFIELDSVC_H
3 #define GAUDIKERNEL_IMAGNETICFIELDSVC_H
4 
5 
6 // Include files
7 #include "GaudiKernel/IService.h"
9 
10 
11 // Forward declarations
12 template <class TYPE> class SvcFactory;
13 namespace ROOT {
14  namespace Math {
15  class DefaultCoordinateSystemTag;
16 
17  // from Math/Point3Dfwd.h
18  template<class CoordSystem, class Tag> class PositionVector3D;
19  // from Math/Vector3Dfwd.h
20  template<class CoordSystem, class Tag> class DisplacementVector3D;
21  // from Math/Point3Dfwd.h
22  template<typename T> class Cartesian3D;
23  // from Math/Point3Dfwd.h
24  typedef PositionVector3D< Cartesian3D<double>,DefaultCoordinateSystemTag> XYZPoint;
25  // from Math/Vector3Dfwd.h
26  typedef DisplacementVector3D< Cartesian3D<double>,DefaultCoordinateSystemTag > XYZVector;
27  }
28 }
29 
36 class GAUDI_API IMagneticFieldSvc: virtual public IService {
37 
38 public:
41 
42  // Get the magnetic field vector at a given point in space.
43  // Input: XYZPoint - Point at which magnetic field vector is to be given.
44  // Output: XYZVector - Magnetic field vector.
45  // Return: StatusCode SUCCESS if calculation was performed.
46  virtual StatusCode fieldVector( const ROOT::Math::XYZPoint& xyz,
47  ROOT::Math::XYZVector& fvec ) const = 0;
48 
49 };
50 
51 #endif // GAUDIKERNEL_IMAGNETICFIELDSVC_H

Generated at Wed Mar 20 2013 17:59:38 for Gaudi Framework, version v23r7 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004