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

#include <FairGeoParSet.h>

Inheritance diagram for FairGeoParSet:
FairParGenericSet FairParSet

Public Member Functions

 FairGeoParSet (const char *name="FairGeoParSet", const char *title="Class for base parameter io", const char *context="BaseDefaultContext")
 
 ~FairGeoParSet (void)
 
void clear (void)
 
void putParams (FairParamList *)
 
Bool_t getParams (FairParamList *)
 
void SetGeoNodes (TObjArray *array)
 
void SetGeometry (TGeoManager *Geom)
 
TObjArray * GetGeoNodes ()
 
TGeoManager * GetGeometry ()
 
- 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 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 (FairGeoParSet, 1)
 
- Protected Member Functions inherited from FairParGenericSet
 FairParGenericSet ()
 
 ClassDef (FairParGenericSet, 1)
 

Protected Attributes

TObjArray * fGeoNodes
 List of FairGeoNodes for sensitive volumes. More...
 
TGeoManager * fGeom
 Full Geometry. More...
 
- 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 25 of file FairGeoParSet.h.

Constructor & Destructor Documentation

FairGeoParSet::FairGeoParSet ( const char *  name = "FairGeoParSet",
const char *  title = "Class for base parameter io",
const char *  context = "BaseDefaultContext" 
)

constructor

Parameters
name: Parameter set name
title,:Parameter set title
context,:Parameter set context

Definition at line 21 of file FairGeoParSet.cxx.

FairGeoParSet::~FairGeoParSet ( void  )

dtor

Definition at line 27 of file FairGeoParSet.cxx.

Member Function Documentation

FairGeoParSet::ClassDef ( FairGeoParSet  ,
 
)
protected
void FairGeoParSet::clear ( void  )
virtual

clear

Reimplemented from FairParSet.

Definition at line 29 of file FairGeoParSet.cxx.

TGeoManager* FairGeoParSet::GetGeometry ( )
inline

Get the geometry (TGeoManager) used in the simulation

Definition at line 71 of file FairGeoParSet.h.

TObjArray* FairGeoParSet::GetGeoNodes ( )
inline

Get the Geometry Nodes list used in the simulation

Definition at line 67 of file FairGeoParSet.h.

Bool_t FairGeoParSet::getParams ( FairParamList l)
virtual

Fills all persistent data members from the list after reading. The function returns false, when a data member is not in the list.

Parameters
FairParamList: Parameter list to be filled

Implements FairParGenericSet.

Definition at line 44 of file FairGeoParSet.cxx.

void FairGeoParSet::putParams ( FairParamList l)
virtual

Fills all persistent data members into the list for write.

Parameters
FairParamList: Parameter list to be filled

Implements FairParGenericSet.

Definition at line 35 of file FairGeoParSet.cxx.

void FairGeoParSet::SetGeometry ( TGeoManager *  Geom)
inline

Set the Geometry (TGeoManager) used in the simulation

Parameters
Geom,:TGeoManager of the full geometry

Definition at line 63 of file FairGeoParSet.h.

void FairGeoParSet::SetGeoNodes ( TObjArray *  array)
inline

Set the Geometry node list used in the simulation

Parameters
array,:TObjArray of Geometry nodes

Definition at line 58 of file FairGeoParSet.h.

Member Data Documentation

TGeoManager* FairGeoParSet::fGeom
protected

Full Geometry.

Definition at line 77 of file FairGeoParSet.h.

TObjArray* FairGeoParSet::fGeoNodes
protected

List of FairGeoNodes for sensitive volumes.

Definition at line 75 of file FairGeoParSet.h.


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