28 <<
"\"" << volume.
Name() <<
"\""
44 :
VGM::IVolume(), fSolid(solid), fDaughters()
67 for (
unsigned int i = 0; i < fDaughters.size(); i++) {
87 fDaughters.push_back(daughter);
std::ostream & operator<<(std::ostream &out, const VGM::IVolume &volume)
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 VGM::IPlacement * Daughter(int i) const
Return the i-th daughter.
virtual int NofDaughters() const
Return the number of volume daughters.
The VGM interface to positions of volumes.
virtual std::string Name() const =0
Return the name of this placement.
The VGM interface to solids.
virtual SolidType Type() const =0
Return the type of this solid.
The VGM interface to volumes.
virtual ISolid * Solid() const =0
Return the associated solid.
virtual std::string MaterialName() const =0
Return the name of the associated material.
virtual std::string Name() const =0
Return the name of this volume.
virtual IPlacement * Daughter(int i) const =0
Return the i-th daughter.
virtual int NofDaughters() const =0
Return the number of volume daughters.
std::string SolidTypeName(VGM::SolidType typeId)