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

#include <FairConstPar.h>

Inheritance diagram for FairConstPar:
FairMapPar FairParGenericSet FairParSet

Public Member Functions

 FairConstPar (const char *name, const char *title, const char *context)
 
 FairConstPar ()
 
 ~FairConstPar ()
 
void putParams (FairParamList *list)
 
Bool_t getParams (FairParamList *list)
 
void SetParameters (FairField *field)
 
Double_t GetBx () const
 
Double_t GetBy () const
 
Double_t GetBz () const
 
- Public Member Functions inherited from FairMapPar
 FairMapPar (const char *name, const char *title, const char *context)
 
 FairMapPar ()
 
 ~FairMapPar ()
 
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
 
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, 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)
 

Protected Member Functions

 ClassDef (FairConstPar, 1)
 
- Protected Member Functions inherited from FairMapPar
 ClassDef (FairMapPar, 1)
 
- Protected Member Functions inherited from FairParGenericSet
 FairParGenericSet ()
 
 ClassDef (FairParGenericSet, 1)
 

Protected Attributes

Double_t fBx
 
Double_t fBy
 
Double_t fBz
 
- Protected Attributes inherited from FairMapPar
Int_t fType
 
Double_t fXmin
 
Double_t fXmax
 
Double_t fYmin
 
Double_t fYmax
 
Double_t fZmin
 
Double_t fZmax
 
TString fMapName
 
Double_t fPosX
 
Double_t fPosY
 
Double_t fPosZ
 
Double_t fScale
 
- 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 26 of file FairConstPar.h.

Constructor & Destructor Documentation

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

Standard constructor

Definition at line 17 of file FairConstPar.cxx.

FairConstPar::FairConstPar ( )

default constructor

Definition at line 26 of file FairConstPar.cxx.

FairConstPar::~FairConstPar ( )

Destructor

Definition at line 35 of file FairConstPar.cxx.

Member Function Documentation

FairConstPar::ClassDef ( FairConstPar  ,
 
)
protected
Double_t FairConstPar::GetBx ( ) const
inline

Definition at line 47 of file FairConstPar.h.

Double_t FairConstPar::GetBy ( ) const
inline

Definition at line 48 of file FairConstPar.h.

Double_t FairConstPar::GetBz ( ) const
inline

Definition at line 49 of file FairConstPar.h.

Bool_t FairConstPar::getParams ( FairParamList list)
virtual

Get parameters

Implements FairParGenericSet.

Definition at line 56 of file FairConstPar.cxx.

void FairConstPar::putParams ( FairParamList list)
virtual

Implements FairParGenericSet.

Definition at line 37 of file FairConstPar.cxx.

void FairConstPar::SetParameters ( FairField field)

Set parameters from FairField

Definition at line 94 of file FairConstPar.cxx.

Member Data Documentation

Double_t FairConstPar::fBx
protected

Field values in [kG]

Definition at line 53 of file FairConstPar.h.

Double_t FairConstPar::fBy
protected

Definition at line 53 of file FairConstPar.h.

Double_t FairConstPar::fBz
protected

Definition at line 53 of file FairConstPar.h.


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