TGeoEltu


class description - source file - inheritance tree

class TGeoEltu : public TGeoTube


    public:
TGeoEltu TGeoEltu() TGeoEltu TGeoEltu(Double_t a, Double_t b, Double_t dz) TGeoEltu TGeoEltu(const char* name, Double_t a, Double_t b, Double_t dz) TGeoEltu TGeoEltu(Double_t* params) TGeoEltu TGeoEltu(const TGeoEltu&) virtual void ~TGeoEltu() static TClass* Class() virtual void ComputeBBox() virtual Bool_t Contains(Double_t* point) const virtual Int_t DistancetoPrimitive(Int_t px, Int_t py) virtual Double_t DistToIn(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = 0, Double_t* safe = 0) const virtual Double_t DistToOut(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = 0, Double_t* safe = 0) const virtual Double_t DistToSurf(Double_t* point, Double_t* dir) const virtual TGeoVolume* Divide(TGeoVolume* voldiv, const char* divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step) virtual Double_t GetA() const virtual Double_t GetB() const virtual void GetBoundingCylinder(Double_t* param) const virtual TGeoShape* GetMakeRuntimeShape(TGeoShape* mother, TGeoMatrix* mat) const virtual void InspectShape() const virtual TClass* IsA() const virtual Bool_t IsCylType() const virtual void NextCrossing(TGeoParamCurve* c, Double_t* point) const virtual Double_t Safety(Double_t* point, Bool_t in = kTRUE) const virtual void SetDimensions(Double_t* param) void SetEltuDimensions(Double_t a, Double_t b, Double_t dz) virtual void SetPoints(Double_t* buff) const virtual void SetPoints(Float_t* buff) const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members




Class Description


TGeoEltu()
 Dummy constructor

TGeoEltu(Double_t a, Double_t b, Double_t dz) :TGeoTube(a, b, dz)
 Default constructor specifying X and Y semiaxis length

TGeoEltu(const char *name, Double_t a, Double_t b, Double_t dz) :TGeoTube(name, a, b, dz)
 Default constructor specifying X and Y semiaxis length

TGeoEltu(Double_t *param)
 Default constructor specifying minimum and maximum radius
 param[0] =  A
 param[1] =  B
 param[2] = dz

~TGeoEltu()
 destructor

void ComputeBBox()
 compute bounding box of the tube

Bool_t Contains(Double_t *point) const
 test if point is inside the elliptical tube

Int_t DistancetoPrimitive(Int_t px, Int_t py)
 compute closest distance from point px,py to each vertex

Double_t DistToOut(Double_t *point, Double_t *dir, Int_t iact, Double_t step, Double_t *safe) const
 compute distance from inside point to surface of the tube

Double_t DistToIn(Double_t *point, Double_t *dir, Int_t iact, Double_t step, Double_t *safe) const
 compute distance from outside point to surface of the tube and safe distance

Double_t DistToSurf(Double_t * /*point*/, Double_t * /*dir*/) const
 computes the distance to next surface of the sphere along a ray
 starting from given point to the given direction.

TGeoVolume* Divide(TGeoVolume * /*voldiv*/, const char * /*divname*/, Int_t /*iaxis*/, Int_t /*ndiv*/, Double_t /*start*/, Double_t /*step*/)

void GetBoundingCylinder(Double_t *param) const
--- Fill vector param[4] with the bounding cylinder parameters. The order
 is the following : Rmin, Rmax, Phi1, Phi2

TGeoShape* GetMakeRuntimeShape(TGeoShape *mother, TGeoMatrix * /*mat*/) const
 in case shape has some negative parameters, these has to be computed
 in order to fit the mother

void InspectShape() const
 print shape parameters

void NextCrossing(TGeoParamCurve * /*c*/, Double_t * /*point*/) const
 computes next intersection point of curve c with this shape

Double_t Safety(Double_t * /*point*/, Bool_t /*in*/) const
 computes the closest distance from given point to this shape, according
 to option. The matching point on the shape is stored in spoint.

void SetEltuDimensions(Double_t a, Double_t b, Double_t dz)

void SetDimensions(Double_t *param)

void SetPoints(Double_t *buff) const
 create tube mesh points

void SetPoints(Float_t *buff) const
 create tube mesh points



Inline Functions


           Double_t GetA() const
           Double_t GetB() const
             Bool_t IsCylType() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
           TGeoEltu TGeoEltu(const TGeoEltu&)


Author: Mihaela Gheata 05/06/02
Last update: root/geom:$Name: $:$Id: TGeoEltu.cxx,v 1.9 2003/03/14 11:49:02 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.