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

LayeredTube Class Reference

#include <LayeredTube.h>

Inheritance diagram for LayeredTube:

CompositeMedium Medium MediumList GeomObject List of all members.

Public Methods

 LayeredTube (Medium* parent, float dz, float rzero)
MediumaddLayer (float thickness, const char* material="vacuum", Detector* det=0)
const Mediuminside (const Point& p) const
 will check if the Ray intersects an internal Medium return the Medium that the point is inside, perhaps an internal one. More...

const Tube& tube () const
Tube& tube ()
const Point& origin () const
const Vector& axis () const
GeomObjecttransform (const CoordTransform& T)
 co-ordinate transformation. More...

void createDetectorView (gui::DisplayRep& view)
 pass a gui::DisplayRep object to the Shape and invoke for all inner media. More...

const char* nameOf () const
 child-related operations. More...


Protected Methods

double distanceToEnter (const Ray&, const Medium*&, double) const
 support for distanceToLeave of a CompositeMedium. More...

double distanceToLeave (const Ray&, const Medium*& ,double) const
 Methods for tracking. More...


Private Methods

const Layerselect (const Point& x) const

Private Attributes

float m_dz
float m_r_inner
float m_r_outer
Layerfirst
Layerlast
Point m_origin

Friends

class  Layer

Constructor & Destructor Documentation

LayeredTube::LayeredTube ( Medium * parent,
float dz,
float r )
 

Definition at line 28 of file LayeredTube.cxx.


Member Function Documentation

Medium & LayeredTube::addLayer ( float thickness,
const char * matname = "vacuum",
Detector * det = 0 )
 

Definition at line 39 of file LayeredTube.cxx.

const Vector & LayeredTube::axis ( ) const [inline]
 

Definition at line 46 of file LayeredTube.h.

Referenced by LayeredTube::Layer::axis().

void LayeredTube::createDetectorView ( gui::DisplayRep & view ) [virtual]
 

pass a gui::DisplayRep object to the Shape and invoke for all inner media.

Reimplemented from CompositeMedium.

Definition at line 201 of file LayeredTube.cxx.

double LayeredTube::distanceToEnter ( const Ray & r,
const Medium *& m,
double t ) const [protected, virtual]
 

support for distanceToLeave of a CompositeMedium.

Reimplemented from Medium.

Definition at line 76 of file LayeredTube.cxx.

double LayeredTube::distanceToLeave ( const Ray & r,
const Medium *& newStuff,
double maxDist ) const [protected, virtual]
 

Methods for tracking.

Reimplemented from CompositeMedium.

Definition at line 91 of file LayeredTube.cxx.

const Medium * LayeredTube::inside ( const Point & x ) const [virtual]
 

will check if the Ray intersects an internal Medium return the Medium that the point is inside, perhaps an internal one.

Reimplemented from CompositeMedium.

Definition at line 113 of file LayeredTube.cxx.

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

child-related operations.

Reimplemented from CompositeMedium.

Definition at line 50 of file LayeredTube.h.

const Point & LayeredTube::origin ( ) const [inline]
 

Definition at line 45 of file LayeredTube.h.

Referenced by LayeredTube::Layer::origin().

const LayeredTube::Layer * LayeredTube::select ( const Point & x ) const [private]
 

Definition at line 99 of file LayeredTube.cxx.

GeomObject & LayeredTube::transform ( const CoordTransform & T )
 

co-ordinate transformation.

Reimplemented from CompositeMedium.

Definition at line 180 of file LayeredTube.cxx.

Tube & LayeredTube::tube ( ) [inline]
 

Definition at line 44 of file LayeredTube.h.

const Tube & LayeredTube::tube ( ) const [inline]
 

Definition at line 43 of file LayeredTube.h.

Referenced by addLayer(), axis(), createDetectorView(), and LayeredTube::Layer::parentTube().


Friends And Related Function Documentation

class Layer [friend]
 

Definition at line 94 of file LayeredTube.h.

Referenced by addLayer().


Member Data Documentation

Layer * LayeredTube::first [private]
 

Definition at line 89 of file LayeredTube.h.

Layer * LayeredTube::last [private]
 

Definition at line 89 of file LayeredTube.h.

float LayeredTube::m_dz [private]
 

Definition at line 58 of file LayeredTube.h.

Point LayeredTube::m_origin [private]
 

Definition at line 91 of file LayeredTube.h.

float LayeredTube::m_r_inner [private]
 

Definition at line 58 of file LayeredTube.h.

float LayeredTube::m_r_outer [private]
 

Definition at line 58 of file LayeredTube.h.


The documentation for this class was generated from the following files:
Generated at Mon Nov 26 18:18:40 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000