VGM Version 5.3
|
VGM implementation for Geant4 positions of volumes. More...
#include <Placement.h>
Public Member Functions | |
Placement (VGM::IVolume *volume, VGM::IVolume *motherVolume, G4VPhysicalVolume *pv) | |
virtual | ~Placement () |
virtual VGM::PlacementType | Type () const |
Return the type of this placement. | |
virtual std::string | Name () const |
Return the name of this placement. | |
virtual int | CopyNo () const |
Return the copy number of this placement. | |
virtual VGM::Transform | Transformation () const |
Return the 3D transformation (if simple placement) | |
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 placement. | |
Public Member Functions inherited from BaseVGM::VPlacement | |
VPlacement (VGM::IVolume *volume, VGM::IVolume *motherVolume) | |
virtual | ~VPlacement () |
virtual VGM::IVolume * | Volume () const |
Return the associated volume. | |
virtual VGM::IVolume * | Mother () const |
Return the associated mother volume. | |
virtual std::ostream & | Put (std::ostream &out) const |
Put the printing of the placement parameters in the out stream. | |
void | SetVolume (VGM::IVolume *volume) |
Public Member Functions inherited from VGM::IPlacement | |
virtual | ~IPlacement () |
Static Public Member Functions | |
static EAxis | GetAxis (VGM::Axis axis) |
static VGM::Axis | GetAxis (EAxis axis) |
Protected Member Functions | |
Placement () | |
Placement (const Placement &rhs) | |
Protected Member Functions inherited from BaseVGM::VPlacement | |
VPlacement () | |
VPlacement (const VPlacement &rhs) | |
VGM implementation for Geant4 positions of volumes.
Definition at line 39 of file Placement.h.
Geant4GM::Placement::Placement | ( | VGM::IVolume * | volume, |
VGM::IVolume * | motherVolume, | ||
G4VPhysicalVolume * | pv ) |
Standard constructor to define a multiple placement via G4 object
Definition at line 46 of file Placement.cxx.
|
virtual |
Definition at line 72 of file Placement.cxx.
|
protected |
Protected default constructor
Definition at line 59 of file Placement.cxx.
|
protected |
Protected copy constructor
Definition at line 65 of file Placement.cxx.
|
static |
Definition at line 82 of file Placement.cxx.
|
static |
Definition at line 113 of file Placement.cxx.
|
virtual |
Return the type of this placement.
Implements VGM::IPlacement.
Definition at line 148 of file Placement.cxx.
|
virtual |
Return the name of this placement.
Implements BaseVGM::VPlacement.
Definition at line 163 of file Placement.cxx.
|
virtual |
Return the copy number of this placement.
Implements BaseVGM::VPlacement.
Definition at line 170 of file Placement.cxx.
|
virtual |
Return the 3D transformation (if simple placement)
Implements BaseVGM::VPlacement.
Definition at line 177 of file Placement.cxx.
|
virtual |
Fill the multiple placement data if relevant and return true; return false if not multiple placement.
Implements BaseVGM::VPlacement.
Definition at line 185 of file Placement.cxx.
|
virtual |
Fill the parameterised placement data if relevant and return true; return false if not parameterised placement.
Implements VGM::IPlacement.
Definition at line 269 of file Placement.cxx.