4 #include "FairParamList.h"
12 : FairParGenericSet(name, title, context),
58 list->add(
"Field Type",
fType);
59 list->add(
"Field map name",
fMapName);
60 list->add(
"Field x position",
fPosX);
61 list->add(
"Field y position",
fPosY);
62 list->add(
"Field z position",
fPosZ);
63 list->add(
"Field scaling factor",
fScale);
72 if ( ! list )
return kFALSE;
74 if ( ! list->fill(
"Field Type", &
fType) )
return kFALSE;
77 if ( ! list->fill(
"Field map name", mapName, 80) )
return kFALSE;
79 if ( ! list->fill(
"Field x position", &
fPosX) )
return kFALSE;
80 if ( ! list->fill(
"Field y position", &
fPosY) )
return kFALSE;
81 if ( ! list->fill(
"Field z position", &
fPosZ) )
return kFALSE;
82 if ( ! list->fill(
"Field scaling factor", &
fScale) )
return kFALSE;
94 cerr <<
"-W- PndMapPar::SetParameters: Empty field pointer!" << endl;
105 fType = fieldMap->GetType();
Double_t GetPositionY() const
Double_t GetScale() const
Double_t GetPositionX() const
virtual void putParams(FairParamList *list)
virtual Bool_t getParams(FairParamList *list)
Double_t GetPositionZ() const
void SetParameters(FairField *field)