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

#include <FairMapPar.h>

Inheritance diagram for FairMapPar:
FairParGenericSet FairParSet FairConstPar

Public Member Functions

 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 putParams (FairParamList *)=0
 
virtual Bool_t getParams (FairParamList *)=0
 
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 (FairMapPar, 1)
 
- Protected Member Functions inherited from FairParGenericSet
 FairParGenericSet ()
 
 ClassDef (FairParGenericSet, 1)
 

Protected Attributes

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

FairMapPar.h

Author
M.Al-Turany
Since
30.01.2007
Version
1.0

Parameter set field maps.

Definition at line 25 of file FairMapPar.h.

Constructor & Destructor Documentation

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

Standard constructor

Definition at line 10 of file FairMapPar.cxx.

FairMapPar::FairMapPar ( )

default constructor

Definition at line 26 of file FairMapPar.cxx.

FairMapPar::~FairMapPar ( )

Destructor

Definition at line 41 of file FairMapPar.cxx.

Member Function Documentation

FairMapPar::ClassDef ( FairMapPar  ,
 
)
protected
Double_t FairMapPar::GetPositionX ( ) const
inline

Definition at line 46 of file FairMapPar.h.

Double_t FairMapPar::GetPositionY ( ) const
inline

Definition at line 47 of file FairMapPar.h.

Double_t FairMapPar::GetPositionZ ( ) const
inline

Definition at line 48 of file FairMapPar.h.

Double_t FairMapPar::GetScale ( ) const
inline

Definition at line 49 of file FairMapPar.h.

Int_t FairMapPar::GetType ( ) const
inline

Accessors

Definition at line 38 of file FairMapPar.h.

Double_t FairMapPar::GetXmax ( ) const
inline

Definition at line 40 of file FairMapPar.h.

Double_t FairMapPar::GetXmin ( ) const
inline

Definition at line 39 of file FairMapPar.h.

Double_t FairMapPar::GetYmax ( ) const
inline

Definition at line 42 of file FairMapPar.h.

Double_t FairMapPar::GetYmin ( ) const
inline

Definition at line 41 of file FairMapPar.h.

Double_t FairMapPar::GetZmax ( ) const
inline

Definition at line 44 of file FairMapPar.h.

Double_t FairMapPar::GetZmin ( ) const
inline

Definition at line 43 of file FairMapPar.h.

void FairMapPar::MapName ( TString &  name)
inline

Definition at line 45 of file FairMapPar.h.

Member Data Documentation

TString FairMapPar::fMapName
protected

Field map name in case of field map

Definition at line 66 of file FairMapPar.h.

Double_t FairMapPar::fPosX
protected

Field centre position for field map

Definition at line 69 of file FairMapPar.h.

Double_t FairMapPar::fPosY
protected

Definition at line 69 of file FairMapPar.h.

Double_t FairMapPar::fPosZ
protected

Definition at line 69 of file FairMapPar.h.

Double_t FairMapPar::fScale
protected

Scaling factor for field map

Definition at line 72 of file FairMapPar.h.

Int_t FairMapPar::fType
protected

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 58 of file FairMapPar.h.

Double_t FairMapPar::fXmax
protected

Definition at line 61 of file FairMapPar.h.

Double_t FairMapPar::fXmin
protected

Field limits in case of constant field

Definition at line 61 of file FairMapPar.h.

Double_t FairMapPar::fYmax
protected

Definition at line 62 of file FairMapPar.h.

Double_t FairMapPar::fYmin
protected

Definition at line 62 of file FairMapPar.h.

Double_t FairMapPar::fZmax
protected

Definition at line 63 of file FairMapPar.h.

Double_t FairMapPar::fZmin
protected

Definition at line 63 of file FairMapPar.h.


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