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
PndFieldPar.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PndFieldPar.h
1
6
#ifndef PNDFIELDPAR_H
7
#define PNDFIELDPAR_H 1
8
9
#include "
FairField.h
"
10
#include "
FairParGenericSet.h
"
11
12
class
FairParamList
;
13
14
class
PndFieldPar
:
public
FairParGenericSet
15
{
16
public
:
17
19
PndFieldPar
(
const
char
*
name
,
const
char
*
title
,
const
char
* context);
20
22
PndFieldPar
();
23
25
~PndFieldPar
();
26
28
virtual
void
putParams
(
FairParamList
*
list
);
29
31
virtual
Bool_t
getParams
(
FairParamList
* list);
32
34
void
SetParameters
(FairField* field);
35
37
Int_t
GetType
()
const
{
return
fType
; }
38
Double_t
GetXmin
()
const
{
return
fXmin
; }
39
Double_t
GetXmax
()
const
{
return
fXmax
; }
40
Double_t
GetYmin
()
const
{
return
fYmin
; }
41
Double_t
GetYmax
()
const
{
return
fYmax
; }
42
Double_t
GetZmin
()
const
{
return
fZmin
; }
43
Double_t
GetZmax
()
const
{
return
fZmax
; }
44
Double_t
GetBx
()
const
{
return
fBx
; }
45
Double_t
GetBy
()
const
{
return
fBy
; }
46
Double_t
GetBz
()
const
{
return
fBz
; }
47
void
MapName
(TString& name) { name =
fMapName
; }
48
Double_t
GetPositionX
()
const
{
return
fPosX
; }
49
Double_t
GetPositionY
()
const
{
return
fPosY
; }
50
Double_t
GetPositionZ
()
const
{
return
fPosZ
; }
51
Double_t
GetScale
()
const
{
return
fScale
; }
52
53
private
:
54
61
Int_t
fType
;
62
64
Double_t
fXmin
,
fXmax
;
65
Double_t
fYmin
,
fYmax
;
66
Double_t
fZmin
,
fZmax
;
67
69
Double_t
fBx
,
fBy
,
fBz
;
70
72
TString
fMapName
;
73
75
Double_t
fPosX
,
fPosY
,
fPosZ
;
76
78
Double_t
fScale
;
79
80
ClassDef
(
PndFieldPar
,1);
81
};
82
83
84
#endif
EicRoot
blob
master
field
PndFieldPar.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:36
using
1.8.2 with
EIC GitHub integration