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

#include <FairParSet.h>

Inheritance diagram for FairParSet:
FairParGenericSet FairBaseParSet FairGeoParSet FairGeoPassivePar FairMapPar FairMQExParamsParOne FairRutherfordGeoPar FairTestDetectorGeoPar FairTutorialDet1GeoPar FairTutorialDet2DigiPar FairTutorialDet2GeoPar FairTutorialDet4GeoPar FairTutorialDet4MisalignPar FairTutPropGeoPar MyFieldPar MyFieldPar NewDetectorGeoPar NewDetectorGeoPar NewDetectorGeoPar NewDetectorGeoPar NewParameterContainer PixelDigiPar PixelGeoPar

Public Member Functions

 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 Bool_t init (FairParIo *)
 
virtual Int_t write ()
 
virtual Int_t write (FairParIo *)
 
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)
 
virtual void fill (UInt_t)
 
virtual void store (UInt_t)
 
FairParSetoperator= (const FairParSet &)
 
 FairParSet (const FairParSet &)
 
 ClassDef (FairParSet, 2)
 

Protected Attributes

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 18 of file FairParSet.h.

Constructor & Destructor Documentation

FairParSet::FairParSet ( const char *  name = "",
const char *  title = "",
const char *  context = "",
Bool_t  owner = kFALSE 
)

Definition at line 27 of file FairParSet.cxx.

virtual FairParSet::~FairParSet ( )
inlinevirtual

Definition at line 36 of file FairParSet.h.

FairParSet::FairParSet ( const FairParSet from)

Definition at line 132 of file FairParSet.cxx.

Member Function Documentation

FairParSet::ClassDef ( FairParSet  ,
 
)
void FairParSet::copyComment ( FairParSet r)
inline

Definition at line 83 of file FairParSet.h.

virtual void FairParSet::fill ( UInt_t  )
inlinevirtual

Reimplemented in FairParGenericSet.

Definition at line 89 of file FairParSet.h.

const char* FairParSet::getAuthor ( ) const
inline

Definition at line 78 of file FairParSet.h.

const char* FairParSet::getDescription ( ) const
inline

Definition at line 81 of file FairParSet.h.

const char* FairParSet::getDetectorName ( )
inline

Definition at line 48 of file FairParSet.h.

Int_t FairParSet::getInputVersion ( Int_t  i)
inline

Definition at line 57 of file FairParSet.h.

virtual const char* FairParSet::GetName ( ) const
inlinevirtual

Definition at line 38 of file FairParSet.h.

const char* FairParSet::getParamContext ( ) const
inline

Definition at line 75 of file FairParSet.h.

virtual const char* FairParSet::GetTitle ( ) const
inlinevirtual

Definition at line 39 of file FairParSet.h.

Bool_t FairParSet::hasChanged ( )
inline

Definition at line 73 of file FairParSet.h.

Bool_t FairParSet::init ( )
virtual

Definition at line 46 of file FairParSet.cxx.

virtual Bool_t FairParSet::init ( FairParIo )
inlinevirtual

Reimplemented in FairParGenericSet.

Definition at line 42 of file FairParSet.h.

Bool_t FairParSet::isOwned ( )
inline

Definition at line 70 of file FairParSet.h.

Bool_t FairParSet::isStatic ( )
inline

Definition at line 67 of file FairParSet.h.

FairParSet & FairParSet::operator= ( const FairParSet from)

Definition at line 164 of file FairParSet.cxx.

void FairParSet::print ( )
virtual

Reimplemented in FairMQExParamsParOne.

Definition at line 94 of file FairParSet.cxx.

void FairParSet::resetInputVersions ( )

Definition at line 121 of file FairParSet.cxx.

void FairParSet::setAuthor ( const char *  s)
inline

Definition at line 77 of file FairParSet.h.

void FairParSet::setChanged ( Bool_t  flag = kTRUE)
inline

Definition at line 72 of file FairParSet.h.

void FairParSet::setDescription ( const char *  s)
inline

Definition at line 80 of file FairParSet.h.

void FairParSet::setInputVersion ( Int_t  v = -1,
Int_t  i = 0 
)
inline

Definition at line 51 of file FairParSet.h.

void FairParSet::setOwnership ( Bool_t  flag = kTRUE)
inline

Definition at line 69 of file FairParSet.h.

void FairParSet::setStatic ( Bool_t  flag = kTRUE)
inline

Definition at line 66 of file FairParSet.h.

virtual void FairParSet::store ( UInt_t  )
inlinevirtual

Reimplemented in FairParGenericSet.

Definition at line 90 of file FairParSet.h.

Int_t FairParSet::write ( )
virtual

Definition at line 80 of file FairParSet.cxx.

virtual Int_t FairParSet::write ( FairParIo )
inlinevirtual

Reimplemented in FairParGenericSet.

Definition at line 44 of file FairParSet.h.

Member Data Documentation

TString FairParSet::author
protected

Definition at line 29 of file FairParSet.h.

Bool_t FairParSet::changed
protected

static flag

Definition at line 26 of file FairParSet.h.

TString FairParSet::description
protected

Definition at line 30 of file FairParSet.h.

TString FairParSet::detName
protected

Definition at line 23 of file FairParSet.h.

FairLogger* FairParSet::fLogger
protected

Fair Logger

Definition at line 32 of file FairParSet.h.

TString FairParSet::fName
protected

Definition at line 21 of file FairParSet.h.

TString FairParSet::fTitle
protected

Definition at line 22 of file FairParSet.h.

Bool_t FairParSet::owned
protected

flag is kTRUE if parameters have changed

Definition at line 27 of file FairParSet.h.

TString FairParSet::paramContext
protected

if flag is KTRUE FairDB has the par. class ownership

Definition at line 28 of file FairParSet.h.

Bool_t FairParSet::status
protected

versions of container in the 2 possible inputs

Definition at line 25 of file FairParSet.h.

Int_t FairParSet::versions[3]
protected

name of the detector the container belongs to

Definition at line 24 of file FairParSet.h.


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