FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MyFieldPar Class Reference

#include <MyFieldPar.h>

Inheritance diagram for MyFieldPar:
FairParGenericSet FairParGenericSet FairParSet FairParSet

Public Member Functions

 MyFieldPar (const char *name, const char *title, const char *context)
 
 MyFieldPar ()
 
 ~MyFieldPar ()
 
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
 
Double_t GetPeak () const
 
Double_t GetMiddle () const
 
 MyFieldPar (const char *name, const char *title, const char *context)
 
 MyFieldPar ()
 
 ~MyFieldPar ()
 
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
 
Double_t GetPeak () const
 
Double_t GetMiddle () const
 
- Public Member Functions inherited from FairParGenericSet
 FairParGenericSet (const char *name, const char *title, const char *context, Bool_t ownership=kFALSE)
 
virtual ~FairParGenericSet ()
 
virtual void printParams ()
 
Bool_t init (FairParIo *inp)
 
Int_t write (FairParIo *output)
 
void fill (UInt_t)
 
void store (UInt_t)
 
- Public Member Functions inherited from FairParSet
 FairParSet (const char *name="", const char *title="", const char *context="", Bool_t owner=kFALSE)
 
virtual ~FairParSet ()
 
virtual const char * GetName () const
 
virtual const char * GetTitle () const
 
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 setOwnership (Bool_t flag=kTRUE)
 
Bool_t isOwned ()
 
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)
 
FairParSetoperator= (const FairParSet &)
 
 FairParSet (const FairParSet &)
 
 ClassDef (FairParSet, 2)
 

Additional Inherited Members

- Protected Member Functions inherited from FairParGenericSet
 FairParGenericSet ()
 
 ClassDef (FairParGenericSet, 1)
 
- Protected Attributes inherited from FairParSet
TString fName
 
TString fTitle
 
TString detName
 
Int_t versions [3]
 name of the detector the container belongs to More...
 
Bool_t status
 versions of container in the 2 possible inputs More...
 
Bool_t changed
 static flag More...
 
Bool_t owned
 flag is kTRUE if parameters have changed More...
 
TString paramContext
 if flag is KTRUE FairDB has the par. class ownership More...
 
TString author
 
TString description
 
FairLoggerfLogger
 

Detailed Description

Definition at line 24 of file MyFieldPar.h.

Constructor & Destructor Documentation

MyFieldPar::MyFieldPar ( const char *  name,
const char *  title,
const char *  context 
)

Standard constructor

Definition at line 27 of file MyFieldPar.cxx.

MyFieldPar::MyFieldPar ( )

default constructor

Definition at line 50 of file MyFieldPar.cxx.

MyFieldPar::~MyFieldPar ( )

Destructor

Definition at line 74 of file MyFieldPar.cxx.

MyFieldPar::MyFieldPar ( const char *  name,
const char *  title,
const char *  context 
)

Standard constructor

MyFieldPar::MyFieldPar ( )

default constructor

MyFieldPar::~MyFieldPar ( )

Destructor

Member Function Documentation

Double_t MyFieldPar::GetBx ( ) const
inline

Definition at line 54 of file MyFieldPar.h.

Double_t MyFieldPar::GetBx ( ) const
inline

Definition at line 54 of file MyFieldPar.h.

Double_t MyFieldPar::GetBy ( ) const
inline

Definition at line 55 of file MyFieldPar.h.

Double_t MyFieldPar::GetBy ( ) const
inline

Definition at line 55 of file MyFieldPar.h.

Double_t MyFieldPar::GetBz ( ) const
inline

Definition at line 56 of file MyFieldPar.h.

Double_t MyFieldPar::GetBz ( ) const
inline

Definition at line 56 of file MyFieldPar.h.

Double_t MyFieldPar::GetMiddle ( ) const
inline

Definition at line 63 of file MyFieldPar.h.

Double_t MyFieldPar::GetMiddle ( ) const
inline

Definition at line 63 of file MyFieldPar.h.

Bool_t MyFieldPar::getParams ( FairParamList list)
virtual

Get parameters

Implements FairParGenericSet.

Definition at line 110 of file MyFieldPar.cxx.

virtual Bool_t MyFieldPar::getParams ( FairParamList list)
virtual

Get parameters

Implements FairParGenericSet.

Double_t MyFieldPar::GetPeak ( ) const
inline

Definition at line 62 of file MyFieldPar.h.

Double_t MyFieldPar::GetPeak ( ) const
inline

Definition at line 62 of file MyFieldPar.h.

Double_t MyFieldPar::GetPositionX ( ) const
inline

Definition at line 58 of file MyFieldPar.h.

Double_t MyFieldPar::GetPositionX ( ) const
inline

Definition at line 58 of file MyFieldPar.h.

Double_t MyFieldPar::GetPositionY ( ) const
inline

Definition at line 59 of file MyFieldPar.h.

Double_t MyFieldPar::GetPositionY ( ) const
inline

Definition at line 59 of file MyFieldPar.h.

Double_t MyFieldPar::GetPositionZ ( ) const
inline

Definition at line 60 of file MyFieldPar.h.

Double_t MyFieldPar::GetPositionZ ( ) const
inline

Definition at line 60 of file MyFieldPar.h.

Double_t MyFieldPar::GetScale ( ) const
inline

Definition at line 61 of file MyFieldPar.h.

Double_t MyFieldPar::GetScale ( ) const
inline

Definition at line 61 of file MyFieldPar.h.

Int_t MyFieldPar::GetType ( ) const
inline

Accessors

Definition at line 47 of file MyFieldPar.h.

Int_t MyFieldPar::GetType ( ) const
inline

Accessors

Definition at line 47 of file MyFieldPar.h.

Double_t MyFieldPar::GetXmax ( ) const
inline

Definition at line 49 of file MyFieldPar.h.

Double_t MyFieldPar::GetXmax ( ) const
inline

Definition at line 49 of file MyFieldPar.h.

Double_t MyFieldPar::GetXmin ( ) const
inline

Definition at line 48 of file MyFieldPar.h.

Double_t MyFieldPar::GetXmin ( ) const
inline

Definition at line 48 of file MyFieldPar.h.

Double_t MyFieldPar::GetYmax ( ) const
inline

Definition at line 51 of file MyFieldPar.h.

Double_t MyFieldPar::GetYmax ( ) const
inline

Definition at line 51 of file MyFieldPar.h.

Double_t MyFieldPar::GetYmin ( ) const
inline

Definition at line 50 of file MyFieldPar.h.

Double_t MyFieldPar::GetYmin ( ) const
inline

Definition at line 50 of file MyFieldPar.h.

Double_t MyFieldPar::GetZmax ( ) const
inline

Definition at line 53 of file MyFieldPar.h.

Double_t MyFieldPar::GetZmax ( ) const
inline

Definition at line 53 of file MyFieldPar.h.

Double_t MyFieldPar::GetZmin ( ) const
inline

Definition at line 52 of file MyFieldPar.h.

Double_t MyFieldPar::GetZmin ( ) const
inline

Definition at line 52 of file MyFieldPar.h.

void MyFieldPar::MapName ( TString &  name)
inline

Definition at line 57 of file MyFieldPar.h.

void MyFieldPar::MapName ( TString &  name)
inline

Definition at line 57 of file MyFieldPar.h.

virtual void MyFieldPar::putParams ( FairParamList list)
virtual

Put parameters

Implements FairParGenericSet.

void MyFieldPar::putParams ( FairParamList list)
virtual

Put parameters

Implements FairParGenericSet.

Definition at line 78 of file MyFieldPar.cxx.

void MyFieldPar::SetParameters ( FairField field)

Set parameters from CbmField

void MyFieldPar::SetParameters ( FairField field)

Set parameters from CbmField

Definition at line 165 of file MyFieldPar.cxx.


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