StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
StiShape Class Referenceabstract

#include <StiShape.h>

Inheritance diagram for StiShape:
Named StiCylindricalShape StiPlanarShape

Public Member Functions

 StiShape (const string &name="undefined", float halfDepth=0, float thickness=0, float edge=0)
float getHalfDepth () const
virtual float getHalfWidth () const =0
float getThickness () const
virtual StiShapeCode getShapeCode () const =0
float getEdgeWidth () const
virtual float getOpeningAngle () const =0
virtual float getOuterRadius () const
virtual double getVolume () const =0
void setHalfDepth (float val)
void setThickness (float val)
- Public Member Functions inherited from Named
void setName (const string &newName)
 Set the name of the object.
const string & getName () const
 Get the name of the object.
bool isName (const string &aName) const
 Determine whether name equals given name.

Protected Member Functions

double nice (double val)
- Protected Member Functions inherited from Named
 Named (const string &aName=" ")
 Only derived class are Named.

Protected Attributes

float _halfDepth
 half extent along z, always >= 0
float _thickness
 "thickness", always >= 0
float _edgeWidth
 size of the edge used in tracking, deltaX local
- Protected Attributes inherited from Named
string _name

Detailed Description

Class encapsulating the notion of detector/volume shape.
Ben Norman, Kent State, 25 July 01
Claude Pruneau, Wayne State, Oct 2002

Definition at line 15 of file StiShape.h.

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