Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
#include <GeometryRoot.hh>
Classes | |
struct | material |
Public Member Functions | |
GeometryRoot () | |
~GeometryRoot () | |
void | SetGeometry (TGeoManager *geoman) |
Medium * | GetMedium (const double x, const double y, const double z) const |
int | GetNumberOfMaterials () |
TGeoMaterial * | GetMaterial (const int i) |
TGeoMaterial * | GetMaterial (const char *name) |
void | SetMedium (const int imat, Medium *med) |
void | SetMedium (const char *mat, Medium *med) |
bool | IsInside (const double x, const double y, const double z) const |
bool | GetBoundingBox (double &xmin, double &ymin, double &zmin, double &xmax, double &ymax, double &zmax) |
void | EnableDebugging () |
void | DisableDebugging () |
Public Member Functions inherited from Garfield::GeometryBase | |
GeometryBase () | |
virtual | ~GeometryBase () |
virtual Medium * | GetMedium (const double x, const double y, const double z) const =0 |
virtual bool | IsInside (const double x, const double y, const double z) const =0 |
virtual bool | GetBoundingBox (double &xmin, double &ymin, double &zmin, double &xmax, double &ymax, double &zmax)=0 |
Protected Attributes | |
TGeoManager * | m_geoManager |
int | m_nMaterials |
std::vector< material > | m_materials |
bool | m_debug |
Protected Attributes inherited from Garfield::GeometryBase | |
std::string | m_className |
Definition at line 15 of file GeometryRoot.hh.
Garfield::GeometryRoot::GeometryRoot | ( | ) |
Definition at line 12 of file GeometryRoot.cc.
|
inline |
Definition at line 21 of file GeometryRoot.hh.
|
inline |
Definition at line 54 of file GeometryRoot.hh.
|
inline |
Definition at line 53 of file GeometryRoot.hh.
|
virtual |
Implements Garfield::GeometryBase.
Definition at line 168 of file GeometryRoot.cc.
TGeoMaterial * Garfield::GeometryRoot::GetMaterial | ( | const char * | name | ) |
Definition at line 72 of file GeometryRoot.cc.
TGeoMaterial * Garfield::GeometryRoot::GetMaterial | ( | const int | i | ) |
Definition at line 60 of file GeometryRoot.cc.
|
virtual |
Implements Garfield::GeometryBase.
Definition at line 31 of file GeometryRoot.cc.
int Garfield::GeometryRoot::GetNumberOfMaterials | ( | ) |
Definition at line 48 of file GeometryRoot.cc.
|
inlinevirtual |
Implements Garfield::GeometryBase.
Definition at line 39 of file GeometryRoot.hh.
void Garfield::GeometryRoot::SetGeometry | ( | TGeoManager * | geoman | ) |
Definition at line 18 of file GeometryRoot.cc.
void Garfield::GeometryRoot::SetMedium | ( | const char * | mat, |
Medium * | med | ||
) |
Definition at line 142 of file GeometryRoot.cc.
void Garfield::GeometryRoot::SetMedium | ( | const int | imat, |
Medium * | med | ||
) |
Definition at line 84 of file GeometryRoot.cc.
Referenced by SetMedium().
|
protected |
Definition at line 69 of file GeometryRoot.hh.
Referenced by DisableDebugging(), and EnableDebugging().
|
protected |
Definition at line 58 of file GeometryRoot.hh.
Referenced by GetBoundingBox(), GetMaterial(), GetMedium(), GetNumberOfMaterials(), IsInside(), SetGeometry(), and SetMedium().
|
protected |
Definition at line 66 of file GeometryRoot.hh.
Referenced by GetMedium(), SetGeometry(), and SetMedium().
|
protected |
Definition at line 61 of file GeometryRoot.hh.
Referenced by GetMedium(), SetGeometry(), and SetMedium().