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
PndGenfitField.cxx
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PndGenfitField.cxx
1
#include "
PndGenfitField.h
"
2
#include "
FairRunAna.h
"
3
#include "
FairField.h
"
4
5
PndGenfitField::PndGenfitField
() :
GFAbsBField
()
6
{
7
}
8
9
TVector3
PndGenfitField::get
(
const
TVector3&
pos
)
const
10
{
11
double
x
[3] = {pos.X(), pos.Y(), pos.Z()};
12
double
B[3] = {0,0,0};
13
FairRunAna::Instance
()->
GetField
()->Field(x,B);
14
return
TVector3(B[0], B[1], B[2]);
15
}
EicRoot
blob
master
GenfitTools
adapters
PndGenfitField.cxx
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:36
using
1.8.2 with
EIC GitHub integration