20#ifndef GEANT4_GM_PLACEMENT_H
21#define GEANT4_GM_PLACEMENT_H
31class G4VPhysicalVolume;
52 virtual std::string
Name()
const;
53 virtual int CopyNo()
const;
57 double& width,
double& offset,
double& halfGap)
const;
60 std::vector<VGM::Transform>& transforms,
61 std::vector<VGM::IVolume*>& volumes)
const;
68 G4VPhysicalVolume* fPhysicalVolume;
The abstract base class to positions of volumes.
VGM implementation for Geant4 positions of volumes.
virtual VGM::Transform Transformation() const
Return the 3D transformation (if simple placement)
virtual VGM::PlacementType Type() const
Return the type of this placement.
static EAxis GetAxis(VGM::Axis axis)
virtual bool MultiplePlacementData(VGM::Axis &axis, int &nofItems, double &width, double &offset, double &halfGap) const
Fill the multiple placement data if relevant and return true; return false if not multiple placement.
virtual bool ParameterisedPlacementData(std::vector< VGM::Transform > &transforms, std::vector< VGM::IVolume * > &volumes) const
Fill the parameterised placement data if relevant and return true; return false if not parameterised ...
virtual int CopyNo() const
Return the copy number of this placement.
virtual std::string Name() const
Return the name of this placement.
The VGM interface to volumes.
VGM implementation for Geant4.
std::vector< double > Transform