EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/field/PndFieldPar.h>
Public Member Functions | |
PndFieldPar (const char *name, const char *title, const char *context) | |
PndFieldPar () | |
~PndFieldPar () | |
virtual void | putParams (FairParamList *list) |
virtual Bool_t | getParams (FairParamList *list) |
void | SetParameters (FairField *field) |
Int_t | GetType () const |
Double_t | GetXmin () const |
Double_t | GetXmax () const |
Double_t | GetYmin () const |
Double_t | GetYmax () const |
Double_t | GetZmin () const |
Double_t | GetZmax () const |
Double_t | GetBx () const |
Double_t | GetBy () const |
Double_t | GetBz () const |
void | MapName (TString &name) |
Double_t | GetPositionX () const |
Double_t | GetPositionY () const |
Double_t | GetPositionZ () const |
Double_t | GetScale () const |
Public Member Functions inherited from FairParGenericSet | |
FairParGenericSet (const char *name, const char *title, const char *context) | |
virtual | ~FairParGenericSet () |
virtual void | printParams () |
Bool_t | init (FairParIo *inp) |
Int_t | write (FairParIo *output) |
Public Member Functions inherited from FairParSet | |
FairParSet (const char *name="", const char *title="", const char *context="") | |
virtual | ~FairParSet () |
virtual Bool_t | init () |
virtual Int_t | write () |
virtual void | clear () |
virtual void | print () |
const char * | getDetectorName () |
void | resetInputVersions () |
void | setInputVersion (Int_t v=-1, Int_t i=0) |
Int_t | getInputVersion (Int_t i) |
void | setStatic (Bool_t flag=kTRUE) |
Bool_t | isStatic () |
void | setChanged (Bool_t flag=kTRUE) |
Bool_t | hasChanged () |
const char * | getParamContext () const |
void | setAuthor (const char *s) |
const char * | getAuthor () const |
void | setDescription (const char *s) |
const char * | getDescription () const |
void | copyComment (FairParSet &r) |
Private Member Functions | |
ClassDef (PndFieldPar, 1) | |
Private Attributes | |
Int_t | fType |
Double_t | fXmin |
Double_t | fXmax |
Double_t | fYmin |
Double_t | fYmax |
Double_t | fZmin |
Double_t | fZmax |
Double_t | fBx |
Double_t | fBy |
Double_t | fBz |
TString | fMapName |
Double_t | fPosX |
Double_t | fPosY |
Double_t | fPosZ |
Double_t | fScale |
Additional Inherited Members | |
Protected Member Functions inherited from FairParGenericSet | |
FairParGenericSet () | |
Protected Attributes inherited from FairParSet | |
TString | detName |
Int_t | versions [3] |
name of the detector the container belongs to | |
Bool_t | status |
versions of container in the 2 possible inputs | |
Bool_t | changed |
static flag | |
TString | paramContext |
flag is kTRUE if parameters have changed | |
TString | author |
TString | description |
FairLogger * | fLogger |
Definition at line 14 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 14 of file PndFieldPar.h
PndFieldPar::PndFieldPar | ( | const char * | name, |
const char * | title, | ||
const char * | context | ||
) |
Standard constructor
Definition at line 12 of file PndFieldPar.cxx.
View newest version in sPHENIX GitHub at line 12 of file PndFieldPar.cxx
PndFieldPar::PndFieldPar | ( | ) |
default constructor
Definition at line 35 of file PndFieldPar.cxx.
View newest version in sPHENIX GitHub at line 35 of file PndFieldPar.cxx
PndFieldPar::~PndFieldPar | ( | ) |
Destructor
Definition at line 56 of file PndFieldPar.cxx.
View newest version in sPHENIX GitHub at line 56 of file PndFieldPar.cxx
|
private |
|
inline |
Definition at line 44 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 44 of file PndFieldPar.h
References fBx.
|
inline |
Definition at line 45 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 45 of file PndFieldPar.h
References fBy.
|
inline |
Definition at line 46 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 46 of file PndFieldPar.h
References fBz.
|
virtual |
Get parameters
Implements FairParGenericSet.
Definition at line 95 of file PndFieldPar.cxx.
View newest version in sPHENIX GitHub at line 95 of file PndFieldPar.cxx
References fBx, fBy, fBz, FairParamList::fill(), fMapName, fPosX, fPosY, fPosZ, fScale, fType, fXmax, fXmin, fYmax, fYmin, fZmax, and fZmin.
|
inline |
Definition at line 48 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 48 of file PndFieldPar.h
References fPosX.
Referenced by PndFieldMap::PndFieldMap().
|
inline |
Definition at line 49 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 49 of file PndFieldPar.h
References fPosY.
Referenced by PndFieldMap::PndFieldMap().
|
inline |
Definition at line 50 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 50 of file PndFieldPar.h
References fPosZ.
Referenced by PndFieldMap::PndFieldMap().
|
inline |
Definition at line 51 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 51 of file PndFieldPar.h
References fScale.
Referenced by PndFieldMap::PndFieldMap().
|
inline |
Accessors
Definition at line 37 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 37 of file PndFieldPar.h
References fType.
Referenced by PndFieldCreator::createFairField(), and PndFieldMap::PndFieldMap().
|
inline |
Definition at line 39 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 39 of file PndFieldPar.h
References fXmax.
|
inline |
Definition at line 38 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 38 of file PndFieldPar.h
References fXmin.
|
inline |
Definition at line 41 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 41 of file PndFieldPar.h
References fYmax.
|
inline |
Definition at line 40 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 40 of file PndFieldPar.h
References fYmin.
|
inline |
Definition at line 43 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 43 of file PndFieldPar.h
References fZmax.
|
inline |
Definition at line 42 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 42 of file PndFieldPar.h
References fZmin.
|
inline |
Definition at line 47 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 47 of file PndFieldPar.h
References fMapName.
Referenced by PndFieldMap::PndFieldMap().
|
virtual |
Put parameters
Implements FairParGenericSet.
Definition at line 62 of file PndFieldPar.cxx.
View newest version in sPHENIX GitHub at line 62 of file PndFieldPar.cxx
References FairParamList::add(), fBx, fBy, fBz, fMapName, fPosX, fPosY, fPosZ, fScale, fType, fXmax, fXmin, fYmax, fYmin, fZmax, and fZmin.
void PndFieldPar::SetParameters | ( | FairField * | field | ) |
Set parameters from FairField
Definition at line 130 of file PndFieldPar.cxx.
View newest version in sPHENIX GitHub at line 130 of file PndFieldPar.cxx
References fBx, fBy, fBz, fMapName, fPosX, fPosY, fPosZ, fScale, fType, fXmax, fXmin, fYmax, fYmin, fZmax, fZmin, PndConstField::GetBx(), PndConstField::GetBy(), PndConstField::GetBz(), PndMultiField::GetFieldList(), PndFieldMap::GetPositionX(), PndFieldMap::GetPositionY(), PndFieldMap::GetPositionZ(), PndFieldMap::GetScale(), PndConstField::GetXmax(), PndConstField::GetXmin(), PndConstField::GetYmax(), PndConstField::GetYmin(), PndConstField::GetZmax(), and PndConstField::GetZmin().
|
private |
Field values in case of constant field [kG]
Definition at line 69 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 69 of file PndFieldPar.h
Referenced by GetBx(), getParams(), putParams(), and SetParameters().
|
private |
Definition at line 69 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 69 of file PndFieldPar.h
Referenced by GetBy(), getParams(), putParams(), and SetParameters().
|
private |
Definition at line 69 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 69 of file PndFieldPar.h
Referenced by GetBz(), getParams(), putParams(), and SetParameters().
|
private |
Field map name in case of field map
Definition at line 72 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 72 of file PndFieldPar.h
Referenced by getParams(), MapName(), putParams(), and SetParameters().
|
private |
Field centre position for field map
Definition at line 75 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 75 of file PndFieldPar.h
Referenced by getParams(), GetPositionX(), putParams(), and SetParameters().
|
private |
Definition at line 75 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 75 of file PndFieldPar.h
Referenced by getParams(), GetPositionY(), putParams(), and SetParameters().
|
private |
Definition at line 75 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 75 of file PndFieldPar.h
Referenced by getParams(), GetPositionZ(), putParams(), and SetParameters().
|
private |
Scaling factor for field map
Definition at line 78 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 78 of file PndFieldPar.h
Referenced by getParams(), GetScale(), putParams(), and SetParameters().
|
private |
Field type 0 = constant field 1 = field map 2 = field map sym2 (symmetries in x and y) 3 = field map sym3 (symmetries in x, y and z)
Definition at line 61 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 61 of file PndFieldPar.h
Referenced by getParams(), GetType(), putParams(), and SetParameters().
|
private |
Definition at line 64 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 64 of file PndFieldPar.h
Referenced by getParams(), GetXmax(), putParams(), and SetParameters().
|
private |
Field limits in case of constant field
Definition at line 64 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 64 of file PndFieldPar.h
Referenced by getParams(), GetXmin(), putParams(), and SetParameters().
|
private |
Definition at line 65 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 65 of file PndFieldPar.h
Referenced by getParams(), GetYmax(), putParams(), and SetParameters().
|
private |
Definition at line 65 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 65 of file PndFieldPar.h
Referenced by getParams(), GetYmin(), putParams(), and SetParameters().
|
private |
Definition at line 66 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 66 of file PndFieldPar.h
Referenced by getParams(), GetZmax(), putParams(), and SetParameters().
|
private |
Definition at line 66 of file PndFieldPar.h.
View newest version in sPHENIX GitHub at line 66 of file PndFieldPar.h
Referenced by getParams(), GetZmin(), putParams(), and SetParameters().