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

#include <FairGeoSet.h>

Inheritance diagram for FairGeoSet:
FairGeoCave FairGeoMagnet FairGeoPipe FairGeoTarget FairRutherfordGeo FairTestDetectorGeo FairTutorialDet1Geo FairTutorialDet2Geo FairTutorialDet4Geo FairTutPropGeo MyGeoCave MyGeoCave NewDetectorGeo NewDetectorGeo NewDetectorGeo NewDetectorGeo PixelGeo

Classes

class  FairGeoCopyNode
 

Public Member Functions

virtual ~FairGeoSet ()
 
void setShapes (FairGeoShapes *s)
 
void setMasterNodes (TList *m)
 
void setGeomFile (const char *filename)
 
const char * getGeomFile ()
 
Int_t getMaxSectors (void)
 
Int_t getMaxModules (void)
 
Int_t getMaxKeepinVolumes (void)
 
void setModules (Int_t, Int_t *)
 
Int_t * getModules (void)
 
Int_t getModule (Int_t, Int_t)
 
FairGeoNodegetVolume (const char *name)
 
FairGeoNodegetMasterNode (const char *name)
 
TList * getListOfVolumes ()
 
FairGeoShapesgetShapes ()
 
void setAuthor (TString &s)
 
void setDescription (TString &s)
 
TString & getAuthor ()
 
TString & getDescription ()
 
virtual const char * getKeepinName (Int_t, Int_t)
 
virtual const char * getModuleName (Int_t)
 
virtual const char * getEleName (Int_t)
 
virtual Int_t getSecNumInMod (const TString &)
 
virtual Int_t getModNumInMod (const TString &)
 
virtual Bool_t read (std::fstream &, FairGeoMedia *)
 
virtual void addRefNodes ()
 
virtual void write (std::fstream &)
 
virtual void print ()
 
virtual Bool_t create (FairGeoBuilder *)
 
void compare (FairGeoSet &)
 
 ClassDef (FairGeoSet, 0)
 

Protected Member Functions

 FairGeoSet ()
 
void readInout (std::fstream &)
 
void readTransform (std::fstream &, FairGeoTransform &)
 
Bool_t readVolumeParams (std::fstream &, FairGeoMedia *, FairGeoNode *, TList *l=0)
 
Bool_t readKeepIn (std::fstream &, FairGeoMedia *, TString &)
 
Bool_t readModule (std::fstream &, FairGeoMedia *, TString &, TString &, Bool_t a=kFALSE)
 

Protected Attributes

Int_t hadesGeo
 
TList * volumes
 
TList * masterNodes
 
Int_t maxSectors
 
Int_t maxKeepinVolumes
 
Int_t maxModules
 
TArrayI * modules
 
FairGeoShapespShapes
 
TString geoFile
 
TString author
 
TString description
 

Detailed Description

Base class for geometry of detector parts

Author
Ilse koenig

Definition at line 30 of file FairGeoSet.h.

Constructor & Destructor Documentation

FairGeoSet::FairGeoSet ( )
protected

description of the version

Definition at line 41 of file FairGeoSet.cxx.

FairGeoSet::~FairGeoSet ( )
virtual

Definition at line 58 of file FairGeoSet.cxx.

Member Function Documentation

virtual void FairGeoSet::addRefNodes ( )
inlinevirtual

Reimplemented in MyGeoCave, MyGeoCave, and FairGeoCave.

Definition at line 97 of file FairGeoSet.h.

FairGeoSet::ClassDef ( FairGeoSet  ,
 
)
void FairGeoSet::compare ( FairGeoSet rset)

Definition at line 485 of file FairGeoSet.cxx.

Bool_t FairGeoSet::create ( FairGeoBuilder builder)
virtual

Reimplemented in FairGeoPipe.

Definition at line 452 of file FairGeoSet.cxx.

TString& FairGeoSet::getAuthor ( )
inline

Definition at line 89 of file FairGeoSet.h.

TString& FairGeoSet::getDescription ( )
inline

Definition at line 90 of file FairGeoSet.h.

virtual const char* FairGeoSet::getEleName ( Int_t  )
inlinevirtual
const char* FairGeoSet::getGeomFile ( )
inline

Definition at line 76 of file FairGeoSet.h.

virtual const char* FairGeoSet::getKeepinName ( Int_t  ,
Int_t   
)
inlinevirtual

Definition at line 91 of file FairGeoSet.h.

TList* FairGeoSet::getListOfVolumes ( )
inline

Definition at line 85 of file FairGeoSet.h.

FairGeoNode* FairGeoSet::getMasterNode ( const char *  name)
inline

Definition at line 84 of file FairGeoSet.h.

Int_t FairGeoSet::getMaxKeepinVolumes ( void  )
inline

Definition at line 79 of file FairGeoSet.h.

Int_t FairGeoSet::getMaxModules ( void  )
inline

Definition at line 78 of file FairGeoSet.h.

Int_t FairGeoSet::getMaxSectors ( void  )
inline

Definition at line 77 of file FairGeoSet.h.

virtual Int_t FairGeoSet::getModNumInMod ( const TString &  )
inlinevirtual
Int_t FairGeoSet::getModule ( Int_t  s,
Int_t  m 
)

Definition at line 99 of file FairGeoSet.cxx.

Int_t * FairGeoSet::getModules ( void  )

Definition at line 90 of file FairGeoSet.cxx.

virtual Int_t FairGeoSet::getSecNumInMod ( const TString &  )
inlinevirtual

Definition at line 94 of file FairGeoSet.h.

FairGeoShapes* FairGeoSet::getShapes ( )
inline

Definition at line 86 of file FairGeoSet.h.

FairGeoNode* FairGeoSet::getVolume ( const char *  name)
inline

Definition at line 83 of file FairGeoSet.h.

void FairGeoSet::print ( )
virtual

Reimplemented in MyGeoCave, MyGeoCave, and FairGeoCave.

Definition at line 411 of file FairGeoSet.cxx.

Bool_t FairGeoSet::read ( std::fstream &  fin,
FairGeoMedia media 
)
virtual

Reimplemented in MyGeoCave, MyGeoCave, and FairGeoCave.

Definition at line 116 of file FairGeoSet.cxx.

void FairGeoSet::readInout ( std::fstream &  fin)
protected

Definition at line 145 of file FairGeoSet.cxx.

Bool_t FairGeoSet::readKeepIn ( std::fstream &  fin,
FairGeoMedia media,
TString &  name 
)
protected

Definition at line 308 of file FairGeoSet.cxx.

Bool_t FairGeoSet::readModule ( std::fstream &  fin,
FairGeoMedia media,
TString &  modName,
TString &  eleName,
Bool_t  a = kFALSE 
)
protected

Definition at line 346 of file FairGeoSet.cxx.

void FairGeoSet::readTransform ( std::fstream &  fin,
FairGeoTransform tf 
)
protected

Definition at line 161 of file FairGeoSet.cxx.

Bool_t FairGeoSet::readVolumeParams ( std::fstream &  fin,
FairGeoMedia media,
FairGeoNode volu,
TList *  l = 0 
)
protected

Definition at line 173 of file FairGeoSet.cxx.

void FairGeoSet::setAuthor ( TString &  s)
inline

Definition at line 87 of file FairGeoSet.h.

void FairGeoSet::setDescription ( TString &  s)
inline

Definition at line 88 of file FairGeoSet.h.

void FairGeoSet::setGeomFile ( const char *  filename)
inline

Definition at line 75 of file FairGeoSet.h.

void FairGeoSet::setMasterNodes ( TList *  m)
inline

Definition at line 74 of file FairGeoSet.h.

void FairGeoSet::setModules ( Int_t  s,
Int_t *  m 
)

Definition at line 67 of file FairGeoSet.cxx.

void FairGeoSet::setShapes ( FairGeoShapes s)
inline

Definition at line 73 of file FairGeoSet.h.

void FairGeoSet::write ( std::fstream &  fout)
virtual

Reimplemented in MyGeoCave, MyGeoCave, and FairGeoCave.

Definition at line 432 of file FairGeoSet.cxx.

Member Data Documentation

TString FairGeoSet::author
protected

name of geometry input file or Oracle

Definition at line 61 of file FairGeoSet.h.

TString FairGeoSet::description
protected

author of the media version

Definition at line 62 of file FairGeoSet.h.

TString FairGeoSet::geoFile
protected

pointer to the class FairGeoShapes

Definition at line 60 of file FairGeoSet.h.

Int_t FairGeoSet::hadesGeo
protected

Definition at line 33 of file FairGeoSet.h.

TList* FairGeoSet::masterNodes
protected

list of volumes

Definition at line 54 of file FairGeoSet.h.

Int_t FairGeoSet::maxKeepinVolumes
protected

maximum number of sectors (-1 for detectors outside any sector)

Definition at line 56 of file FairGeoSet.h.

Int_t FairGeoSet::maxModules
protected

maximum number of keepin volumes per sector

Definition at line 57 of file FairGeoSet.h.

Int_t FairGeoSet::maxSectors
protected

pointer to list of mother volumes from other detector parts

Definition at line 55 of file FairGeoSet.h.

TArrayI* FairGeoSet::modules
protected

maximum number of modules per sector

Definition at line 58 of file FairGeoSet.h.

FairGeoShapes* FairGeoSet::pShapes
protected

Module's array.

Definition at line 59 of file FairGeoSet.h.

TList* FairGeoSet::volumes
protected

Definition at line 53 of file FairGeoSet.h.


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