Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Field.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file Field.h
1
/*
2
Authors: Haiwang Yu
3
*/
8
#ifndef GENFITEXP_FIELD_H
9
#define GENFITEXP_FIELD_H
10
11
#include <GenFit/AbsBField.h>
12
13
#include <TVector3.h>
14
15
class
PHField
;
16
17
namespace
genfit
18
{
24
class
Field
:
public
AbsBField
25
{
26
public
:
27
Field
(
const
PHField
*
field
);
28
29
~Field
()
override
{}
30
31
// void plot(std::string option = "");
32
34
TVector3
get
(
const
TVector3&
pos
)
const
override
;
35
void
get
(
const
double
& posX,
const
double
& posY,
const
double
& posZ,
double
& Bx,
double
& By,
double
&
Bz
)
const
override
;
36
37
const
PHField
*
get_field
()
const
38
{
39
return
field_
;
40
}
41
42
void
set_field
(
const
PHField
* field)
43
{
44
field_
=
field
;
45
}
46
47
private
:
48
const
PHField
*
field_
;
49
};
50
51
}
/* End of namespace genfit */
54
#endif // genfit_Field_h
coresoftware
blob
master
offline
packages
PHGenFitPkg
GenFitExp
Field.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:08
using
1.8.2 with
sPHENIX GitHub integration