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

VGM implementation for Root volume. More...

#include <Volume.h>

Inheritance diagram for RootGM::Volume:

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::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.
 
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)
 

Detailed Description

VGM implementation for Root volume.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 35 of file Volume.h.

Constructor & Destructor Documentation

◆ Volume() [1/4]

RootGM::Volume::Volume ( const std::string & name,
VGM::ISolid * solid,
const std::string & mediumName )

Standard constructor to define a volume via parameters

Parameters
solidthe associated solid
mediumNamethe name of the associated medium

Definition at line 32 of file Volume.cxx.

◆ Volume() [2/4]

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.

◆ ~Volume()

RootGM::Volume::~Volume ( )
virtual

Definition at line 90 of file Volume.cxx.

◆ Volume() [3/4]

RootGM::Volume::Volume ( )
protected

Protected default constructor

Definition at line 77 of file Volume.cxx.

◆ Volume() [4/4]

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

Protected copy constructor

Definition at line 83 of file Volume.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this volume.

Implements BaseVGM::VVolume.

Definition at line 100 of file Volume.cxx.

◆ MaterialName()

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

Return the name of the associated material.

Implements BaseVGM::VVolume.

Definition at line 107 of file Volume.cxx.

◆ MediumName()

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

Return the name of the associated medium.

Implements BaseVGM::VVolume.

Definition at line 120 of file Volume.cxx.

◆ ResetVolume()

void RootGM::Volume::ResetVolume ( TGeoVolume * rootVolume)

Reset the associated Root volume to the specified one

Definition at line 131 of file Volume.cxx.


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