#include <Hype.h>
Inheritance diagram for Hype:

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 |
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.
|
|
|
|
|
|
|
|
Reimplemented from Volume. |
|
|
Definition at line 31 of file Hype.h. Referenced by printOn(). |
|
|
Definition at line 32 of file Hype.h. Referenced by printOn(). |
|
|
makes name available to subclasses using the type info facility.
Reimplemented from GeomObject. |
|
|
Definition at line 33 of file Hype.h. Referenced by printOn(). |
|
|
print info about this object.
Reimplemented from Volume. |
|
|
Definition at line 34 of file Hype.h. Referenced by printOn(). |
|
|
|
|
|
|
|
|
|
|
|
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000