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

#include <NewDetectorGeo.h>

Inheritance diagram for NewDetectorGeo:
FairGeoSet FairGeoSet FairGeoSet FairGeoSet

Public Member Functions

 NewDetectorGeo ()
 
 ~NewDetectorGeo ()
 
const char * getModuleName (Int_t)
 
const char * getEleName (Int_t)
 
Int_t getModNumInMod (const TString &)
 
 ClassDef (NewDetectorGeo, 1)
 
 NewDetectorGeo ()
 
 ~NewDetectorGeo ()
 
const char * getModuleName (Int_t)
 
const char * getEleName (Int_t)
 
Int_t getModNumInMod (const TString &)
 
 ClassDef (NewDetectorGeo, 1)
 
 NewDetectorGeo ()
 
 ~NewDetectorGeo ()
 
const char * getModuleName (Int_t)
 
const char * getEleName (Int_t)
 
Int_t getModNumInMod (const TString &)
 
 ClassDef (NewDetectorGeo, 1)
 
 NewDetectorGeo ()
 
 ~NewDetectorGeo ()
 
const char * getModuleName (Int_t)
 
const char * getEleName (Int_t)
 
Int_t getModNumInMod (const TString &)
 
 ClassDef (NewDetectorGeo, 1)
 
- Public Member Functions inherited from FairGeoSet
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 Int_t getSecNumInMod (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 Attributes

char modName [20]
 
char eleName [20]
 
- Protected Attributes inherited from FairGeoSet
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
 

Additional Inherited Members

- Protected Member Functions inherited from FairGeoSet
 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)
 

Detailed Description

Definition at line 13 of file NewDetectorGeo.h.

Constructor & Destructor Documentation

NewDetectorGeo::NewDetectorGeo ( )

Definition at line 15 of file NewDetectorGeo.cxx.

NewDetectorGeo::~NewDetectorGeo ( )
inline

Definition at line 21 of file NewDetectorGeo.h.

NewDetectorGeo::NewDetectorGeo ( )
NewDetectorGeo::~NewDetectorGeo ( )
inline

Definition at line 21 of file NewDetectorGeo.h.

NewDetectorGeo::NewDetectorGeo ( )
NewDetectorGeo::~NewDetectorGeo ( )
inline

Definition at line 21 of file NewDetectorGeo.h.

NewDetectorGeo::NewDetectorGeo ( )
NewDetectorGeo::~NewDetectorGeo ( )
inline

Definition at line 21 of file NewDetectorGeo.h.

Member Function Documentation

NewDetectorGeo::ClassDef ( NewDetectorGeo  ,
 
)
NewDetectorGeo::ClassDef ( NewDetectorGeo  ,
 
)
NewDetectorGeo::ClassDef ( NewDetectorGeo  ,
 
)
NewDetectorGeo::ClassDef ( NewDetectorGeo  ,
 
)
const char * NewDetectorGeo::getEleName ( Int_t  m)
virtual

Returns the element name of Det number m

Reimplemented from FairGeoSet.

Definition at line 41 of file NewDetectorGeo.cxx.

const char* NewDetectorGeo::getEleName ( Int_t  )
virtual

Reimplemented from FairGeoSet.

const char* NewDetectorGeo::getEleName ( Int_t  )
virtual

Reimplemented from FairGeoSet.

const char* NewDetectorGeo::getEleName ( Int_t  )
virtual

Reimplemented from FairGeoSet.

Int_t NewDetectorGeo::getModNumInMod ( const TString &  name)
inlinevirtual
 returns the module index from module name

?? in name[??] has to be the length of the detector name in the .geo file. For example if all nodes in this file starts with newdetector ?? has to be 11.

Reimplemented from FairGeoSet.

Definition at line 28 of file NewDetectorGeo.h.

Int_t NewDetectorGeo::getModNumInMod ( const TString &  )
inlinevirtual

Reimplemented from FairGeoSet.

Int_t NewDetectorGeo::getModNumInMod ( const TString &  )
inlinevirtual

Reimplemented from FairGeoSet.

Int_t NewDetectorGeo::getModNumInMod ( const TString &  )
inlinevirtual

Reimplemented from FairGeoSet.

const char * NewDetectorGeo::getModuleName ( Int_t  m)
virtual

Returns the module name of NewDetector number m Setting NewDetector here means that all modules names in the ASCII file should start with NewDetector otherwise they will not be constructed

Reimplemented from FairGeoSet.

Definition at line 30 of file NewDetectorGeo.cxx.

const char* NewDetectorGeo::getModuleName ( Int_t  )
virtual

Reimplemented from FairGeoSet.

const char* NewDetectorGeo::getModuleName ( Int_t  )
virtual

Reimplemented from FairGeoSet.

const char* NewDetectorGeo::getModuleName ( Int_t  )
virtual

Reimplemented from FairGeoSet.

Member Data Documentation

char NewDetectorGeo::eleName
protected

Definition at line 18 of file NewDetectorGeo.h.

char NewDetectorGeo::modName
protected

Definition at line 17 of file NewDetectorGeo.h.


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