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

VGM implementation for Geant4 ellipsoid solid. More...

#include <Ellipsoid.h>

Inheritance diagram for Geant4GM::Ellipsoid:

Public Member Functions

 Ellipsoid (const std::string &name, double dx, double dy, double dz, double zBottomCut, double zTopCut)
 
 Ellipsoid (G4Ellipsoid *ellipsoid, G4ReflectedSolid *reflEllipsoid=0)
 
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 Geant4 ellipsoid solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 32 of file Ellipsoid.h.

Constructor & Destructor Documentation

◆ Ellipsoid() [1/4]

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

Standard constructor to define ellipsoid 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 28 of file Ellipsoid.cxx.

◆ Ellipsoid() [2/4]

Geant4GM::Ellipsoid::Ellipsoid ( G4Ellipsoid * ellipsoid,
G4ReflectedSolid * reflEllipsoid = 0 )

Standard constructor to define ellipsoid from G4 object

Definition at line 49 of file Ellipsoid.cxx.

◆ ~Ellipsoid()

Geant4GM::Ellipsoid::~Ellipsoid ( )
virtual

Definition at line 79 of file Ellipsoid.cxx.

◆ Ellipsoid() [3/4]

Geant4GM::Ellipsoid::Ellipsoid ( )
protected

Protected default constructor

Definition at line 65 of file Ellipsoid.cxx.

◆ Ellipsoid() [4/4]

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

Protected copy constructor

Definition at line 72 of file Ellipsoid.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this solid.

Implements VGM::IEllipsoid.

Definition at line 85 of file Ellipsoid.cxx.

◆ XSemiAxis()

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

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

Implements VGM::IEllipsoid.

Definition at line 88 of file Ellipsoid.cxx.

◆ YSemiAxis()

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

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

Implements VGM::IEllipsoid.

Definition at line 94 of file Ellipsoid.cxx.

◆ ZSemiAxis()

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

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

Implements VGM::IEllipsoid.

Definition at line 100 of file Ellipsoid.cxx.

◆ ZBottomCut()

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

Return the z bottom cut in mm.

Implements VGM::IEllipsoid.

Definition at line 106 of file Ellipsoid.cxx.

◆ ZTopCut()

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

Return the z top cut in mm.

Implements VGM::IEllipsoid.

Definition at line 112 of file Ellipsoid.cxx.


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