ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4MagneticField.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4MagneticField.cc
1 // $Id: $
2 
11 #include "PHG4MagneticField.h"
12 
13 #include <phfield/PHField.h>
14 
15 #include <cassert>
16 
18  : field_(field)
19 {
20  assert(field_);
21 }
22 
24 {
25 }
26 
27 void PHG4MagneticField::GetFieldValue(const double Point[4], double* Bfield) const
28 {
29  assert(field_);
30 
31  field_->GetFieldValue(Point, Bfield);
32 }