VGM Version 5.3
|
VGM implementation for Geant4 volume. More...
#include <Volume.h>
Public Member Functions | |
Volume (const std::string &name, VGM::ISolid *solid, const std::string &materialName, const std::string &mediumName) | |
Volume (VGM::ISolid *solid, G4LogicalVolume *lv, const std::string &mediumName) | |
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. | |
virtual void | ResetSolid (VGM::ISolid *solid) |
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. | |
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) | |
Geant4GM::Volume::Volume | ( | const std::string & | name, |
VGM::ISolid * | solid, | ||
const std::string & | materialName, | ||
const std::string & | mediumName ) |
Standard constructor to define a volume via parameters
solid | the associated solid |
materialName | the name of the associated material |
mediumName | the name of the associated medium |
Definition at line 32 of file Volume.cxx.
Geant4GM::Volume::Volume | ( | VGM::ISolid * | solid, |
G4LogicalVolume * | lv, | ||
const std::string & | mediumName ) |
Standard constructor to define a volume via G4 object
Definition at line 66 of file Volume.cxx.
|
virtual |
Definition at line 93 of file Volume.cxx.
|
protected |
Protected default constructor
Definition at line 80 of file Volume.cxx.
|
protected |
Protected copy constructor
Definition at line 86 of file Volume.cxx.
|
virtual |
Return the name of this volume.
Implements BaseVGM::VVolume.
Definition at line 103 of file Volume.cxx.
|
virtual |
Return the name of the associated material.
Implements BaseVGM::VVolume.
Definition at line 110 of file Volume.cxx.
|
virtual |
Return the name of the associated medium.
Implements BaseVGM::VVolume.
Definition at line 117 of file Volume.cxx.
|
virtual |
Reimplemented from BaseVGM::VVolume.
Definition at line 124 of file Volume.cxx.