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

VGM implementation for Root hyperboloid solid. More...

#include <Hype.h>

Inheritance diagram for RootGM::Hype:

Public Member Functions

 Hype (const std::string &name, double r1, double r2, double stereo1, double stereo2, double hz)
 
 Hype (TGeoHype *hype)
 
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 Root hyperboloid solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 31 of file Hype.h.

Constructor & Destructor Documentation

◆ Hype() [1/4]

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

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 27 of file Hype.cxx.

◆ Hype() [2/4]

RootGM::Hype::Hype ( TGeoHype * hype)

Standard constructor to define hyperboloid from Root object

Definition at line 47 of file Hype.cxx.

◆ ~Hype()

RootGM::Hype::~Hype ( )
virtual

Definition at line 69 of file Hype.cxx.

◆ Hype() [3/4]

RootGM::Hype::Hype ( )
protected

Protected default constructor

Definition at line 56 of file Hype.cxx.

◆ Hype() [4/4]

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

Protected copy constructor

Definition at line 62 of file Hype.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this solid.

Implements VGM::IHype.

Definition at line 75 of file Hype.cxx.

◆ InnerRadius()

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

Return the inner radius in mm.

Implements VGM::IHype.

Definition at line 78 of file Hype.cxx.

◆ InnerStereoAngle()

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

Return the inner stereo angle.

Implements VGM::IHype.

Definition at line 84 of file Hype.cxx.

◆ OuterRadius()

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

Return the outer radius in mm.

Implements VGM::IHype.

Definition at line 90 of file Hype.cxx.

◆ OuterStereoAngle()

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

Return the inner stereo angle.

Implements VGM::IHype.

Definition at line 96 of file Hype.cxx.

◆ ZHalfLength()

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

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

Implements VGM::IHype.

Definition at line 102 of file Hype.cxx.


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