VGM Version 5.3
|
VGM implementation for Root volume. More...
#include <Volume.h>
Public Member Functions | |
Volume (const std::string &name, VGM::ISolid *solid, const std::string &mediumName) | |
Volume (VGM::ISolid *solid, TGeoVolume *volume) | |
virtual | ~Volume () |
virtual std::string | Name () const |
Return the name of this volume. | |
virtual std::string | MaterialName () const |
Return the name of the associated material. | |
virtual std::string | MediumName () const |
Return the name of the associated medium. | |
void | ResetVolume (TGeoVolume *rootVolume) |
Public Member Functions inherited from BaseVGM::VVolume | |
VVolume (VGM::ISolid *solid) | |
virtual | ~VVolume () |
virtual VGM::ISolid * | Solid () const |
Return the associated solid. | |
virtual int | NofDaughters () const |
Return the number of volume daughters. | |
virtual VGM::IPlacement * | Daughter (int i) const |
Return the i-th daughter. | |
virtual void | AddDaughter (VGM::IPlacement *daughter) |
Add the specified daughter. | |
virtual void | ResetSolid (VGM::ISolid *solid) |
Public Member Functions inherited from VGM::IVolume | |
virtual | ~IVolume () |
Protected Member Functions | |
Volume () | |
Volume (const Volume &rhs) | |
Protected Member Functions inherited from BaseVGM::VVolume | |
VVolume () | |
VVolume (const VVolume &rhs) | |
RootGM::Volume::Volume | ( | const std::string & | name, |
VGM::ISolid * | solid, | ||
const std::string & | mediumName ) |
Standard constructor to define a volume via parameters
solid | the associated solid |
mediumName | the name of the associated medium |
Definition at line 32 of file Volume.cxx.
RootGM::Volume::Volume | ( | VGM::ISolid * | solid, |
TGeoVolume * | volume ) |
Standard constructor to define a volume via Root object
Definition at line 67 of file Volume.cxx.
|
virtual |
Definition at line 90 of file Volume.cxx.
|
protected |
Protected default constructor
Definition at line 77 of file Volume.cxx.
|
protected |
Protected copy constructor
Definition at line 83 of file Volume.cxx.
|
virtual |
Return the name of this volume.
Implements BaseVGM::VVolume.
Definition at line 100 of file Volume.cxx.
|
virtual |
Return the name of the associated material.
Implements BaseVGM::VVolume.
Definition at line 107 of file Volume.cxx.
|
virtual |
Return the name of the associated medium.
Implements BaseVGM::VVolume.
Definition at line 120 of file Volume.cxx.
void RootGM::Volume::ResetVolume | ( | TGeoVolume * | rootVolume | ) |
Reset the associated Root volume to the specified one
Definition at line 131 of file Volume.cxx.