20#ifndef BASE_VGM_V_VOLUME_H
21#define BASE_VGM_V_VOLUME_H
42 virtual std::string
Name()
const = 0;
60 std::vector<VGM::IPlacement*> fDaughters;
The abstract base class for volumes.
virtual VGM::ISolid * Solid() const
Return the associated solid.
virtual void ResetSolid(VGM::ISolid *solid)
virtual void AddDaughter(VGM::IPlacement *daughter)
Add the specified daughter.
virtual std::string Name() const =0
Return the name of this volume.
virtual VGM::IPlacement * Daughter(int i) const
Return the i-th daughter.
virtual std::string MediumName() const =0
Return the name of the associated medium.
virtual int NofDaughters() const
Return the number of volume daughters.
virtual std::string MaterialName() const =0
Return the name of the associated material.
The VGM interface to positions of volumes.
The VGM interface to solids.
The VGM interface to volumes.