BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/TrkExtAlg/TrkExtAlg/ExtBesMagneticField.h
Go to the documentation of this file.
1#ifndef ExtBesMagneticField_H
2#define ExtBesMagneticField_H 1
3
4#include "globals.hh"
5#include "G4MagneticField.hh"
6#include "MagneticField/IMagneticFieldSvc.h"
7
8class G4FieldManager;
9
10class ExtBesMagneticField : public G4MagneticField
11{
12 public:
15
16 G4FieldManager* GetFieldManager();
17 void GetFieldValue( const double Point[3],double *Bfield ) const;
18
19 private:
20 IMagneticFieldSvc* m_pIMF;
21};
22
23#endif
void GetFieldValue(const double Point[3], double *Bfield) const
G4FieldManager * GetFieldManager()