#include <GeoVolume.h>
Inheritance diagram for GeoVolume:

Public Member Functions | |
| GeoVolume () | |
| virtual | ~GeoVolume () |
| virtual void | UpdateGlobalManager () const |
Protected Member Functions | |
| GeoVolume (GeoGeometry *geo, const char *volname, const TGeoMedium *med) | |
| TGeoShape * | GetExistingShape () const |
| virtual Float_t | GetScale () const |
Protected Attributes | |
| GeoGeometry * | fGeoGeometry |
| std::string | fShpName |
| reference link to geometry creator | |
Private Member Functions | |
| GeoVolume (const GeoVolume &that) | |
| GeoVolume & | operator= (const GeoVolume &that) |
|
|
Definition at line 23 of file GeoVolume.h. References fGeoGeometry, and fShpName. 00023 : fGeoGeometry(0), fShpName("") {} // def, used by i/o
|
|
|
Definition at line 24 of file GeoVolume.h. 00024 {}
|
|
||||||||||||||||
|
Definition at line 20 of file GeoVolume.cxx. 00021 : 00022 TGeoVolume(volname,0,med),fGeoGeometry(geo),fShpName("") { 00023 // Normal constructor 00024 // Protected 00025 00026 UpdateGlobalManager(); 00027 00028 }
|
|
|
|
|
|
Definition at line 31 of file GeoVolume.cxx. References fShpName, MSG, and UpdateGlobalManager(). Referenced by GeoScintPlnVolume::GeoScintPlnVolume(), and GeoSteelPlnVolume::GeoSteelPlnVolume(). 00031 {
00032 // Private method to extract shape from GeoManager.
00033
00034 UpdateGlobalManager();
00035
00036 TGeoShape* shape = 0;
00037 if ( gGeoManager ) {
00038 shape = dynamic_cast<TGeoShape*>(gGeoManager-> GetListOfShapes()
00039 -> FindObject(fShpName.c_str()));
00040 }
00041 else {
00042 MSG("Geo",Msg::kFatal) << "No global manager!" << endl;
00043 abort();
00044 }
00045
00046 return shape;
00047
00048 }
|
|
|
|
|
|
|
|
Definition at line 47 of file GeoVolume.h. Referenced by GeoVolume(), GetScale(), and UpdateGlobalManager(). |
|
|
reference link to geometry creator
Definition at line 48 of file GeoVolume.h. Referenced by GeoVolume(), and GetExistingShape(). |
1.3.9.1