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

VGM implementation for Geant4 hyperboloid solid. More...

#include <Hype.h>

Inheritance diagram for Geant4GM::Hype:

Public Member Functions

 Hype (const std::string &name, double r1, double r2, double stereo1, double stereo2, double hz)
 
 Hype (G4Hype *hype, G4ReflectedSolid *reflHype=0)
 
virtual ~Hype ()
 
virtual std::string Name () const
 Return the name of this solid.
 
virtual double InnerRadius () const
 Return the inner radius in mm.
 
virtual double InnerStereoAngle () const
 Return the inner stereo angle.
 
virtual double OuterRadius () const
 Return the outer radius in mm.
 
virtual double OuterStereoAngle () const
 Return the inner stereo angle.
 
virtual double ZHalfLength () const
 Return the half-length along the z axis in mm.
 
- Public Member Functions inherited from BaseVGM::VHype
 VHype ()
 
virtual ~VHype ()
 
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::IHype
virtual ~IHype ()
 
- Public Member Functions inherited from VGM::ISolid
virtual ~ISolid ()
 

Protected Member Functions

 Hype ()
 
 Hype (const Hype &rhs)
 

Detailed Description

VGM implementation for Geant4 hyperboloid solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 32 of file Hype.h.

Constructor & Destructor Documentation

◆ Hype() [1/4]

Geant4GM::Hype::Hype ( const std::string & name,
double r1,
double r2,
double stereo1,
double stereo2,
double hz )

Standard constructor to define hyperboloid from parameters Standard constructor to define hyperboloid from parameters

Parameters
r1radius of the inner hyperbolic surface in mm
r2radius of the outer hyperbolic surface in mm
stereo1stereo angle for the inner hyperbolic surface in deg
stereo2stereo angle for the outer hyperbolic surface in deg
hzhalf-length along the z axis in mm

Definition at line 29 of file Hype.cxx.

◆ Hype() [2/4]

Geant4GM::Hype::Hype ( G4Hype * hype,
G4ReflectedSolid * reflHype = 0 )

Standard constructor to define hyperboloid from G4 object

Definition at line 50 of file Hype.cxx.

◆ ~Hype()

Geant4GM::Hype::~Hype ( )
virtual

Definition at line 76 of file Hype.cxx.

◆ Hype() [3/4]

Geant4GM::Hype::Hype ( )
protected

Protected default constructor

Definition at line 63 of file Hype.cxx.

◆ Hype() [4/4]

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

Protected copy constructor

Definition at line 69 of file Hype.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this solid.

Implements VGM::IHype.

Definition at line 82 of file Hype.cxx.

◆ InnerRadius()

double Geant4GM::Hype::InnerRadius ( ) const
virtual

Return the inner radius in mm.

Implements VGM::IHype.

Definition at line 85 of file Hype.cxx.

◆ InnerStereoAngle()

double Geant4GM::Hype::InnerStereoAngle ( ) const
virtual

Return the inner stereo angle.

Implements VGM::IHype.

Definition at line 91 of file Hype.cxx.

◆ OuterRadius()

double Geant4GM::Hype::OuterRadius ( ) const
virtual

Return the outer radius in mm.

Implements VGM::IHype.

Definition at line 97 of file Hype.cxx.

◆ OuterStereoAngle()

double Geant4GM::Hype::OuterStereoAngle ( ) const
virtual

Return the inner stereo angle.

Implements VGM::IHype.

Definition at line 103 of file Hype.cxx.

◆ ZHalfLength()

double Geant4GM::Hype::ZHalfLength ( ) const
virtual

Return the half-length along the z axis in mm.

Implements VGM::IHype.

Definition at line 109 of file Hype.cxx.


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