VGM Version 5.3
Loading...
Searching...
No Matches
Geant4GM::Para Class Reference

VGM implementation for Geant4 para solid. More...

#include <Para.h>

Inheritance diagram for Geant4GM::Para:

Public Member Functions

 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.
 
- Public Member Functions inherited from BaseVGM::VPara
 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.
 
- Public Member Functions inherited from VGM::IPara
virtual ~IPara ()
 
- Public Member Functions inherited from VGM::ISolid
virtual ~ISolid ()
 

Protected Member Functions

 Para ()
 
 Para (const Para &rhs)
 

Detailed Description

VGM implementation for Geant4 para solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 32 of file Para.h.

Constructor & Destructor Documentation

◆ 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
dxhalf-length along the x axis in mm
dyhalf-length along the y axis in mm
dzhalf-length along the z axis in mm
alphaangle 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
thetapolar angle of the line joining the centres of the faces at -hz and +hz in deg
phiazimuthal 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

Definition at line 93 of file Para.cxx.

◆ Para() [3/4]

Geant4GM::Para::Para ( )
protected

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.

Member Function Documentation

◆ Name()

std::string Geant4GM::Para::Name ( ) const
virtual

Return the name of this solid.

Implements VGM::IPara.

Definition at line 99 of file Para.cxx.

◆ 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: