BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
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"
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()