VGM implementation for Geant4 para solid.
More...
#include <Para.h>
|
| Para (const std::string &name, double dx, double dy, double dz, double alpha, double theta, double phi) |
|
| Para (G4Para *para, G4ReflectedSolid *reflPara=0) |
|
virtual | ~Para () |
|
virtual std::string | Name () const |
| Return the name of this solid.
|
|
virtual double | XHalfLength () const |
| Return half-length along the x axis in mm.
|
|
virtual double | YHalfLength () const |
| Return half-length along the y axis in mm.
|
|
virtual double | ZHalfLength () const |
| Return half-length along the z axis in mm.
|
|
virtual double | Alpha () const |
| Return angle formed by the y axis and by the plane joining the centre of the faces parallel to the z-x plane at -hy and +hy in deg.
|
|
virtual double | Theta () const |
| Return polar angle of the line joining the centres of the faces at -hz and +hz in deg.
|
|
virtual double | Phi () const |
| Return azimuthal angle of the line joining the centres of the faces at -hz and +hz in deg.
|
|
| VPara () |
|
virtual | ~VPara () |
|
virtual VGM::SolidType | Type () const |
| Return the type of this solid.
|
|
virtual std::ostream & | Put (std::ostream &out) const |
| Put the printing of the solid parameters in the out stream.
|
|
virtual | ~IPara () |
|
virtual | ~ISolid () |
|
VGM implementation for Geant4 para solid.
- Author
- Ivana Hrivnacova; IPN Orsay
Definition at line 32 of file Para.h.
◆ Para() [1/4]
Geant4GM::Para::Para |
( |
const std::string & | name, |
|
|
double | dx, |
|
|
double | dy, |
|
|
double | dz, |
|
|
double | alpha, |
|
|
double | theta, |
|
|
double | phi ) |
Standard constructor to define para from parameters
- Parameters
-
dx | half-length along the x axis in mm |
dy | half-length along the y axis in mm |
dz | half-length along the z axis in mm |
alpha | angle formed by the y axis and by the plane joining the centre of the faces parallel to the z-x plane at -hy and +hy in deg |
theta | polar angle of the line joining the centres of the faces at -hz and +hz in deg |
phi | azimuthal angle of the line joining the centres of the faces at -hz and +hz in deg |
Definition at line 35 of file Para.cxx.
◆ Para() [2/4]
Geant4GM::Para::Para |
( |
G4Para * | para, |
|
|
G4ReflectedSolid * | reflPara = 0 ) |
Standard constructor to define para from G4 object
Definition at line 62 of file Para.cxx.
◆ ~Para()
Geant4GM::Para::~Para |
( |
| ) |
|
|
virtual |
◆ Para() [3/4]
Protected default constructor
Definition at line 80 of file Para.cxx.
◆ Para() [4/4]
Geant4GM::Para::Para |
( |
const Para & | rhs | ) |
|
|
protected |
Protected copy constructor
Definition at line 86 of file Para.cxx.
◆ Name()
std::string Geant4GM::Para::Name |
( |
| ) |
const |
|
virtual |
◆ XHalfLength()
double Geant4GM::Para::XHalfLength |
( |
| ) |
const |
|
virtual |
Return half-length along the x axis in mm.
Implements VGM::IPara.
Definition at line 102 of file Para.cxx.
◆ YHalfLength()
double Geant4GM::Para::YHalfLength |
( |
| ) |
const |
|
virtual |
Return half-length along the y axis in mm.
Implements VGM::IPara.
Definition at line 108 of file Para.cxx.
◆ ZHalfLength()
double Geant4GM::Para::ZHalfLength |
( |
| ) |
const |
|
virtual |
Return half-length along the z axis in mm.
Implements VGM::IPara.
Definition at line 114 of file Para.cxx.
◆ Alpha()
double Geant4GM::Para::Alpha |
( |
| ) |
const |
|
virtual |
Return angle formed by the y axis and by the plane joining the centre of the faces parallel to the z-x plane at -hy and +hy in deg.
Implements VGM::IPara.
Definition at line 120 of file Para.cxx.
◆ Theta()
double Geant4GM::Para::Theta |
( |
| ) |
const |
|
virtual |
Return polar angle of the line joining the centres of the faces at -hz and +hz in deg.
Implements VGM::IPara.
Definition at line 126 of file Para.cxx.
◆ Phi()
double Geant4GM::Para::Phi |
( |
| ) |
const |
|
virtual |
Return azimuthal angle of the line joining the centres of the faces at -hz and +hz in deg.
Implements VGM::IPara.
Definition at line 136 of file Para.cxx.
The documentation for this class was generated from the following files:
- packages/Geant4GM/include/Geant4GM/solids/Para.h
- packages/Geant4GM/source/solids/Para.cxx