EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
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
17
PHG4MagneticField::PHG4MagneticField
(
const
PHField
* field)
18
: field_(field)
19
{
20
assert(
field_
);
21
}
22
23
PHG4MagneticField::~PHG4MagneticField
()
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
}
fun4all_coresoftware
blob
master
simulation
g4simulation
g4main
PHG4MagneticField.cc
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:50
using
1.8.2 with
EIC GitHub integration