VGM Version 5.3
Loading...
Searching...
No Matches
Geant4GM::Volume Class Reference

VGM implementation for Geant4 volume. More...

#include <Volume.h>

Inheritance diagram for Geant4GM::Volume:

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::ISolidSolid () const
 Return the associated solid.
 
virtual int NofDaughters () const
 Return the number of volume daughters.
 
virtual VGM::IPlacementDaughter (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)
 

Detailed Description

VGM implementation for Geant4 volume.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 35 of file Volume.h.

Constructor & Destructor Documentation

◆ Volume() [1/4]

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

Parameters
solidthe associated solid
materialNamethe name of the associated material
mediumNamethe name of the associated medium

Definition at line 32 of file Volume.cxx.

◆ Volume() [2/4]

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.

◆ ~Volume()

Geant4GM::Volume::~Volume ( )
virtual

Definition at line 93 of file Volume.cxx.

◆ Volume() [3/4]

Geant4GM::Volume::Volume ( )
protected

Protected default constructor

Definition at line 80 of file Volume.cxx.

◆ Volume() [4/4]

Geant4GM::Volume::Volume ( const Volume & rhs)
protected

Protected copy constructor

Definition at line 86 of file Volume.cxx.

Member Function Documentation

◆ Name()

std::string Geant4GM::Volume::Name ( ) const
virtual

Return the name of this volume.

Implements BaseVGM::VVolume.

Definition at line 103 of file Volume.cxx.

◆ MaterialName()

std::string Geant4GM::Volume::MaterialName ( ) const
virtual

Return the name of the associated material.

Implements BaseVGM::VVolume.

Definition at line 110 of file Volume.cxx.

◆ MediumName()

std::string Geant4GM::Volume::MediumName ( ) const
virtual

Return the name of the associated medium.

Implements BaseVGM::VVolume.

Definition at line 117 of file Volume.cxx.

◆ ResetSolid()

void Geant4GM::Volume::ResetSolid ( VGM::ISolid * solid)
virtual

Reimplemented from BaseVGM::VVolume.

Definition at line 124 of file Volume.cxx.


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