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
PndSolenoidMap.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PndSolenoidMap.h
1
17
#ifndef PNDSOLENOIDMAP_H
18
#define PNDSOLENOIDMAP_H 1
19
20
21
#include "
PndFieldMap.h
"
22
class
PndMapPar
;
23
class
PndFieldPar
;
24
class
PndSolenoidPar
;
25
26
class
PndSolenoidMap
:
public
PndFieldMap
{
27
28
29
public
:
30
31
33
PndSolenoidMap
();
34
35
40
PndSolenoidMap
(
const
char
* mapName,
const
char
* fileType =
"R"
);
41
42
44
PndSolenoidMap
(
PndMapPar
* fieldPar);
45
46
48
virtual
~PndSolenoidMap
();
49
50
void
FillParContainer
();
51
58
virtual
Bool_t
IsInside
(Double_t
x
, Double_t
y
, Double_t
z
,
59
Int_t& ix, Int_t& iy, Int_t& iz,
60
Double_t&
dx
, Double_t&
dy
, Double_t&
dz
);
61
62
static
Int_t
fNumberOfRegions
;
63
Int_t
fRegionNo
;
64
65
Int_t
GetRegionNo
(){
return
fRegionNo
;}
66
67
void
GetBxyz
(
const
Double_t
point
[3], Double_t*
bField
);
68
protected
:
69
70
// Hemispheres of a point (for temporary use)
71
Double_t
fHemiX
,
fHemiY
;
72
73
74
ClassDef(
PndSolenoidMap
,2)
75
76
};
77
78
79
#endif
EicRoot
blob
master
field
PndSolenoidMap.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:36
using
1.8.2 with
EIC GitHub integration