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

VGM implementation for Root ellipsoid solid. More...

#include <Ellipsoid.h>

Inheritance diagram for RootGM::Ellipsoid:

Public Member Functions

 Ellipsoid (const std::string &name, double dx, double dy, double dz, double zBottomCut, double zTopCut)
 
 Ellipsoid (TGeoScaledShape *scaledShape)
 
virtual ~Ellipsoid ()
 
virtual std::string Name () const
 Return the name of this solid.
 
virtual double XSemiAxis () const
 Return the semi-axis of the ellipse along x in mm.
 
virtual double YSemiAxis () const
 Return the semi-axis of the ellipse along y in mm.
 
virtual double ZSemiAxis () const
 Return the semi-axis of the ellipse along z in mm.
 
virtual double ZBottomCut () const
 Return the z bottom cut in mm.
 
virtual double ZTopCut () const
 Return the z top cut in mm.
 
- Public Member Functions inherited from BaseVGM::VEllipsoid
 VEllipsoid ()
 
virtual ~VEllipsoid ()
 
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::IEllipsoid
virtual ~IEllipsoid ()
 
- Public Member Functions inherited from VGM::ISolid
virtual ~ISolid ()
 

Protected Member Functions

 Ellipsoid ()
 
 Ellipsoid (const Ellipsoid &rhs)
 

Detailed Description

VGM implementation for Root ellipsoid solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 32 of file Ellipsoid.h.

Constructor & Destructor Documentation

◆ Ellipsoid() [1/4]

RootGM::Ellipsoid::Ellipsoid ( const std::string & name,
double dx,
double dy,
double dz,
double zBottomCut,
double zTopCut )

Standard constructor to define elliptical tube from parameters

Parameters
dxthe semi-axis of the ellipse along x in mm
dythe semi-axis of the ellipse along y in mm
dzthe semi-axis of the ellipse along z in mm
zBottomCutbottom cut in z in mm
zTopCuttop cut in z in mm

Definition at line 31 of file Ellipsoid.cxx.

◆ Ellipsoid() [2/4]

RootGM::Ellipsoid::Ellipsoid ( TGeoScaledShape * scaledShape)

Create ellipsoid from Root scaled sphere. The rmin, theta and phi parameters are ignored.

Definition at line 88 of file Ellipsoid.cxx.

◆ ~Ellipsoid()

RootGM::Ellipsoid::~Ellipsoid ( )
virtual

Definition at line 133 of file Ellipsoid.cxx.

◆ Ellipsoid() [3/4]

RootGM::Ellipsoid::Ellipsoid ( )
protected

Protected default constructor

Definition at line 119 of file Ellipsoid.cxx.

◆ Ellipsoid() [4/4]

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

Protected copy constructor

Definition at line 126 of file Ellipsoid.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this solid.

Implements VGM::IEllipsoid.

Definition at line 139 of file Ellipsoid.cxx.

◆ XSemiAxis()

double RootGM::Ellipsoid::XSemiAxis ( ) const
virtual

Return the semi-axis of the ellipse along x in mm.

Implements VGM::IEllipsoid.

Definition at line 142 of file Ellipsoid.cxx.

◆ YSemiAxis()

double RootGM::Ellipsoid::YSemiAxis ( ) const
virtual

Return the semi-axis of the ellipse along y in mm.

Implements VGM::IEllipsoid.

Definition at line 145 of file Ellipsoid.cxx.

◆ ZSemiAxis()

double RootGM::Ellipsoid::ZSemiAxis ( ) const
virtual

Return the semi-axis of the ellipse along z in mm.

Implements VGM::IEllipsoid.

Definition at line 148 of file Ellipsoid.cxx.

◆ ZBottomCut()

double RootGM::Ellipsoid::ZBottomCut ( ) const
virtual

Return the z bottom cut in mm.

Implements VGM::IEllipsoid.

Definition at line 151 of file Ellipsoid.cxx.

◆ ZTopCut()

double RootGM::Ellipsoid::ZTopCut ( ) const
virtual

Return the z top cut in mm.

Implements VGM::IEllipsoid.

Definition at line 154 of file Ellipsoid.cxx.


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