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

VGM implementation for Root para solid. More...

#include <Para.h>

Inheritance diagram for RootGM::Para:

Public Member Functions

 Para (const std::string &name, double dx, double dy, double dz, double alpha, double theta, double phi)
 
 Para (TGeoPara *para)
 
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 Root para solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 31 of file Para.h.

Constructor & Destructor Documentation

◆ Para() [1/4]

RootGM::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 26 of file Para.cxx.

◆ Para() [2/4]

RootGM::Para::Para ( TGeoPara * para)

Standard constructor to define para from G4 object

Definition at line 52 of file Para.cxx.

◆ ~Para()

RootGM::Para::~Para ( )
virtual

Definition at line 74 of file Para.cxx.

◆ Para() [3/4]

RootGM::Para::Para ( )
protected

Protected default constructor

Definition at line 61 of file Para.cxx.

◆ Para() [4/4]

RootGM::Para::Para ( const Para & rhs)
protected

Protected copy constructor

Definition at line 67 of file Para.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this solid.

Implements VGM::IPara.

Definition at line 80 of file Para.cxx.

◆ XHalfLength()

double RootGM::Para::XHalfLength ( ) const
virtual

Return half-length along the x axis in mm.

Implements VGM::IPara.

Definition at line 83 of file Para.cxx.

◆ YHalfLength()

double RootGM::Para::YHalfLength ( ) const
virtual

Return half-length along the y axis in mm.

Implements VGM::IPara.

Definition at line 89 of file Para.cxx.

◆ ZHalfLength()

double RootGM::Para::ZHalfLength ( ) const
virtual

Return half-length along the z axis in mm.

Implements VGM::IPara.

Definition at line 95 of file Para.cxx.

◆ Alpha()

double RootGM::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 101 of file Para.cxx.

◆ Theta()

double RootGM::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 107 of file Para.cxx.

◆ Phi()

double RootGM::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 113 of file Para.cxx.


The documentation for this class was generated from the following files: