#include <ExtBesMagneticField.h>
◆ ExtBesMagneticField() [1/2]
ExtBesMagneticField::ExtBesMagneticField |
( |
| ) |
|
Definition at line 28 of file ExtBesMagneticField.cxx.
29{
32
33
34 ISvcLocator* svcLocator = Gaudi::svcLocator();
35 StatusCode sc = svcLocator->service("MagneticFieldSvc",m_pIMF);
36 if(sc!=StatusCode::SUCCESS) {
37 G4cout<< "Unable to open Magnetic field service"<<G4endl;
38 }
39}
G4FieldManager * GetFieldManager()
◆ ~ExtBesMagneticField() [1/2]
ExtBesMagneticField::~ExtBesMagneticField |
( |
| ) |
|
◆ ExtBesMagneticField() [2/2]
ExtBesMagneticField::ExtBesMagneticField |
( |
| ) |
|
◆ ~ExtBesMagneticField() [2/2]
ExtBesMagneticField::~ExtBesMagneticField |
( |
| ) |
|
◆ GetFieldManager() [1/2]
G4FieldManager * ExtBesMagneticField::GetFieldManager |
( |
| ) |
|
◆ GetFieldManager() [2/2]
G4FieldManager * ExtBesMagneticField::GetFieldManager |
( |
| ) |
|
◆ GetFieldValue() [1/2]
void ExtBesMagneticField::GetFieldValue |
( |
const double |
Point[3], |
|
|
double * |
Bfield |
|
) |
| const |
Definition at line 45 of file ExtBesMagneticField.cxx.
46{
49 double z=Point[2];
50
53
56 else
58
62}
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
virtual bool ifRealField() const =0
◆ GetFieldValue() [2/2]
void ExtBesMagneticField::GetFieldValue |
( |
const double |
Point[3], |
|
|
double * |
Bfield |
|
) |
| const |
The documentation for this class was generated from the following files: