Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Hype Class Reference

This volume is a hyperbolic tube designed to be used to describe stereo wires of a drift chamber, for example. More...

#include <Hype.h>

Inheritance diagram for Hype:

Volume Shape SurfaceList GeomObject List of all members.

Public Methods

 Hype ( double z, double ri, double ro, double sa )
const Vector axis () const
double halfLength () const
double innerRadius () const
double outerRadius () const
double stereoAngle () const
virtual void calcMaxDimension ()
virtual const char* nameOf () const
 makes name available to subclasses using the type info facility. More...

virtual void printOn ( std::ostream& os = std::cout ) const
 print info about this object. More...


Private Attributes

double half_length
double inner_radius
double outer_radius
double stereo_angle

Detailed Description

This volume is a hyperbolic tube designed to be used to describe stereo wires of a drift chamber, for example.

The inner and outer surfaces are hyperbolas rotated about the z-axis, while the end surfaces are rings. The user specifies this shape by giving the inner and outer radii (at the center), half length, and stereo angle (in radians). Hype is the same as the GEANT volume of the same name, except that here the stereo angle is given in radians, whereas GEANT gives it in degrees.

Definition at line 21 of file Hype.h.


Constructor & Destructor Documentation

Hype::Hype ( double hl,
double ri,
double ro,
double sa )
 

Definition at line 17 of file Hype.cxx.


Member Function Documentation

const Vector Hype::axis ( ) const
 

Definition at line 36 of file Hype.cxx.

Referenced by Hype(), and printOn().

virtual void Hype::calcMaxDimension ( ) [virtual]
 

Reimplemented from Volume.

double Hype::halfLength ( ) const [inline]
 

Definition at line 31 of file Hype.h.

Referenced by printOn().

double Hype::innerRadius ( ) const [inline]
 

Definition at line 32 of file Hype.h.

Referenced by printOn().

const char * Hype::nameOf ( ) const [inline, virtual]
 

makes name available to subclasses using the type info facility.

Reimplemented from GeomObject.

Definition at line 39 of file Hype.h.

double Hype::outerRadius ( ) const [inline]
 

Definition at line 33 of file Hype.h.

Referenced by printOn().

void Hype::printOn ( std::ostream & os = std::cout ) const [virtual]
 

print info about this object.

Reimplemented from Volume.

Definition at line 38 of file Hype.cxx.

double Hype::stereoAngle ( ) const [inline]
 

Definition at line 34 of file Hype.h.

Referenced by printOn().


Member Data Documentation

double Hype::half_length [private]
 

Definition at line 43 of file Hype.h.

double Hype::inner_radius [private]
 

Definition at line 44 of file Hype.h.

double Hype::outer_radius [private]
 

Definition at line 45 of file Hype.h.

double Hype::stereo_angle [private]
 

Definition at line 46 of file Hype.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:20:13 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000