2#ifndef GAUDIKERNEL_IMAGNETICFIELDSVC_H
3#define GAUDIKERNEL_IMAGNETICFIELDSVC_H
7#include "GaudiKernel/IService.h"
8#include "GaudiKernel/StatusCode.h"
14 template <
class T>
class Vector3D;
15 template <
class T>
class Point3D;
20static const InterfaceID IID_IMagneticFieldSvc(80, 1 , 0);
33 static const InterfaceID&
interfaceID() {
return IID_IMagneticFieldSvc; }
virtual StatusCode uniFieldVector(const HepGeom::Point3D< double > &xyz, HepGeom::Vector3D< double > &fvec) const =0
virtual StatusCode fieldVector(const HepGeom::Point3D< double > &xyz, HepGeom::Vector3D< double > &fvec) const =0
static const InterfaceID & interfaceID()
Retrieve interface ID.
virtual double getReferField()=0
virtual bool ifRealField() const =0
Forward and external declarations.