TGeoTrap
class description - source file - inheritance tree
public:
TGeoTrap TGeoTrap()
TGeoTrap TGeoTrap(Double_t dz, Double_t theta, Double_t phi)
TGeoTrap TGeoTrap(Double_t dz, Double_t theta, Double_t phi, Double_t h1, Double_t bl1, Double_t tl1, Double_t alpha1, Double_t h2, Double_t bl2, Double_t tl2, Double_t alpha2)
TGeoTrap TGeoTrap(const TGeoTrap&)
virtual void ~TGeoTrap()
static TClass* Class()
virtual TGeoVolume* Divide(TGeoVolume* voldiv, const char* divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual TGeoVolume* Divide(TGeoVolume* voldiv, const char* divname, Int_t iaxis, Double_t step)
Double_t GetAlpha1() const
Double_t GetAlpha2() const
Double_t GetBl1() const
Double_t GetBl2() const
Double_t GetH1() const
Double_t GetH2() const
virtual TGeoShape* GetMakeRuntimeShape(TGeoShape* mother) const
Double_t GetPhi() const
Double_t GetTheta() const
Double_t GetTl1() const
Double_t GetTl2() const
virtual TClass* IsA() const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
Double_t fTheta theta angle
Double_t fPhi phi angle
Double_t fH1 half length in y at low z
Double_t fBl1 half length in x at low z and y low edge
Double_t fTl1 half length in x at low z and y high edge
Double_t fAlpha1 angle between centers of x edges an y axis at low z
Double_t fH2 half length in y at high z
Double_t fBl2 half length in x at high z and y low edge
Double_t fTl2 half length in x at high z and y high edge
Double_t fAlpha2 angle between centers of x edges an y axis at low z
See also
-
TGeoGtra
TGeoTrap
TRAP is a general trapezoid, i.e. one for which the faces perpendicular
to z are trapezia and their centres are not the same x, y. It has 11
parameters: the half length in z, the polar angles from the centre of
the face at low z to that at high z, H1 the half length in y at low z,
LB1 the half length in x at low z and y low edge, LB2 the half length
in x at low z and y high edge, TH1 the angle w.r.t. the y axis from the
centre of low y edge to the centre of the high y edge, and H2, LB2,
LH2, TH2, the corresponding quantities at high z.
/*
*/
TGeoTrap()
dummy ctor
TGeoTrap(Double_t dz, Double_t theta, Double_t phi)
TGeoTrap(Double_t dz, Double_t theta, Double_t phi, Double_t h1,
Double_t bl1, Double_t tl1, Double_t alpha1, Double_t h2, Double_t bl2,
Double_t tl2, Double_t alpha2)
constructor. Have to work on it !!!!
~TGeoTrap()
destructor
TGeoVolume* Divide(TGeoVolume *voldiv, const char *divname, Int_t iaxis, Int_t ndiv,
Double_t start, Double_t step)
--- Divide this trapezoid shape belonging to volume "voldiv" into ndiv volumes
called divname, from start position with the given step. Only Z divisions
are supported. For Z divisions just return the pointer to the volume to be
divided. In case a wrong division axis is supplied, returns pointer to
volume that was divided.
TGeoVolume* Divide(TGeoVolume *voldiv, const char *divname, Int_t iaxis, Double_t step)
Divide all range of iaxis in range/step cells
TGeoShape* GetMakeRuntimeShape(TGeoShape *mother) const
in case shape has some negative parameters, these has to be computed
in order to fit the mother
Inline Functions
Double_t GetTheta() const
Double_t GetPhi() const
Double_t GetH1() const
Double_t GetBl1() const
Double_t GetTl1() const
Double_t GetAlpha1() const
Double_t GetH2() const
Double_t GetBl2() const
Double_t GetTl2() const
Double_t GetAlpha2() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TGeoTrap TGeoTrap(const TGeoTrap&)
Author: Andrei Gheata 31/01/02
Last update: root/geom:$Name: $:$Id: TGeoArb8.cxx,v 1.7 2002/07/15 15:32:25 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.