EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PndFieldPar Class Reference

#include <EicRoot/blob/master/field/PndFieldPar.h>

+ Inheritance diagram for PndFieldPar:
+ Collaboration diagram for PndFieldPar:

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
 
FairLoggerfLogger
 

Detailed Description

Definition at line 14 of file PndFieldPar.h.

View newest version in sPHENIX GitHub at line 14 of file PndFieldPar.h

Constructor & Destructor Documentation

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

Member Function Documentation

PndFieldPar::ClassDef ( PndFieldPar  ,
 
)
private
Double_t PndFieldPar::GetBx ( ) const
inline

Definition at line 44 of file PndFieldPar.h.

View newest version in sPHENIX GitHub at line 44 of file PndFieldPar.h

References fBx.

Double_t PndFieldPar::GetBy ( ) const
inline

Definition at line 45 of file PndFieldPar.h.

View newest version in sPHENIX GitHub at line 45 of file PndFieldPar.h

References fBy.

Double_t PndFieldPar::GetBz ( ) const
inline

Definition at line 46 of file PndFieldPar.h.

View newest version in sPHENIX GitHub at line 46 of file PndFieldPar.h

References fBz.

Bool_t PndFieldPar::getParams ( FairParamList list)
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.

+ Here is the call graph for this function:

Double_t PndFieldPar::GetPositionX ( ) const
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().

+ Here is the caller graph for this function:

Double_t PndFieldPar::GetPositionY ( ) const
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().

+ Here is the caller graph for this function:

Double_t PndFieldPar::GetPositionZ ( ) const
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().

+ Here is the caller graph for this function:

Double_t PndFieldPar::GetScale ( ) const
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().

+ Here is the caller graph for this function:

Int_t PndFieldPar::GetType ( ) const
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().

+ Here is the caller graph for this function:

Double_t PndFieldPar::GetXmax ( ) const
inline

Definition at line 39 of file PndFieldPar.h.

View newest version in sPHENIX GitHub at line 39 of file PndFieldPar.h

References fXmax.

Double_t PndFieldPar::GetXmin ( ) const
inline

Definition at line 38 of file PndFieldPar.h.

View newest version in sPHENIX GitHub at line 38 of file PndFieldPar.h

References fXmin.

Double_t PndFieldPar::GetYmax ( ) const
inline

Definition at line 41 of file PndFieldPar.h.

View newest version in sPHENIX GitHub at line 41 of file PndFieldPar.h

References fYmax.

Double_t PndFieldPar::GetYmin ( ) const
inline

Definition at line 40 of file PndFieldPar.h.

View newest version in sPHENIX GitHub at line 40 of file PndFieldPar.h

References fYmin.

Double_t PndFieldPar::GetZmax ( ) const
inline

Definition at line 43 of file PndFieldPar.h.

View newest version in sPHENIX GitHub at line 43 of file PndFieldPar.h

References fZmax.

Double_t PndFieldPar::GetZmin ( ) const
inline

Definition at line 42 of file PndFieldPar.h.

View newest version in sPHENIX GitHub at line 42 of file PndFieldPar.h

References fZmin.

void PndFieldPar::MapName ( TString &  name)
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().

+ Here is the caller graph for this function:

void PndFieldPar::putParams ( FairParamList list)
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.

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

Member Data Documentation

Double_t PndFieldPar::fBx
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().

Double_t PndFieldPar::fBy
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().

Double_t PndFieldPar::fBz
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().

TString PndFieldPar::fMapName
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().

Double_t PndFieldPar::fPosX
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().

Double_t PndFieldPar::fPosY
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().

Double_t PndFieldPar::fPosZ
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().

Double_t PndFieldPar::fScale
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().

Int_t PndFieldPar::fType
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().

Double_t PndFieldPar::fXmax
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().

Double_t PndFieldPar::fXmin
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().

Double_t PndFieldPar::fYmax
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().

Double_t PndFieldPar::fYmin
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().

Double_t PndFieldPar::fZmax
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().

Double_t PndFieldPar::fZmin
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().


The documentation for this class was generated from the following files: