ROOT logo
ROOT » GEOM » GEOM » TGeoTrap

class TGeoTrap: public TGeoArb8

 TGeoArb8 - a arbitrary trapezoid with less than 8 vertices standing on
   two paralel planes perpendicular to Z axis. Parameters :
            - dz - half length in Z;
            - xy[8][2] - vector of (x,y) coordinates of vertices
               - first four points (xy[i][j], i<4, j<2) are the (x,y)
                 coordinates of the vertices sitting on the -dz plane;
               - last four points (xy[i][j], i>=4, j<2) are the (x,y)
                 coordinates of the vertices sitting on the +dz plane;
   The order of defining the vertices of an arb8 is the following :
      - point 0 is connected with points 1,3,4
      - point 1 is connected with points 0,2,5
      - point 2 is connected with points 1,3,6
      - point 3 is connected with points 0,2,7
      - point 4 is connected with points 0,5,7
      - point 5 is connected with points 1,4,6
      - point 6 is connected with points 2,5,7
      - point 7 is connected with points 3,4,6
   Points can be identical in order to create shapes with less than
   8 vertices.

Function Members (Methods)

public:
TGeoTrap()
TGeoTrap(const TGeoTrap&)
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)
TGeoTrap(const char* name, 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)
virtual~TGeoTrap()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
static Bool_tTGeoBBox::AreOverlapping(const TGeoBBox* box1, const TGeoMatrix* mat1, const TGeoBBox* box2, const TGeoMatrix* mat2)
static Double_tTGeoShape::Big()
virtual voidTObject::Browse(TBrowser* b)
virtual Double_tTGeoArb8::Capacity() const
virtual Double_tTGeoBBox::Capacity() const
virtual Double_tTGeoShape::Capacity() const
static TClass*Class()
static TClass*TGeoArb8::Class()
static TClass*TGeoBBox::Class()
static TClass*TGeoShape::Class()
static TClass*TNamed::Class()
static TClass*TObject::Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTGeoArb8::ComputeBBox()
virtual voidTGeoBBox::ComputeBBox()
virtual voidTGeoShape::ComputeBBox()
static Double_tTGeoShape::ComputeEpsMch()
virtual voidTGeoArb8::ComputeNormal(Double_t* point, Double_t* dir, Double_t* norm)
virtual voidTGeoBBox::ComputeNormal(Double_t* point, Double_t* dir, Double_t* norm)
virtual voidTGeoShape::ComputeNormal(Double_t* point, Double_t* dir, Double_t* norm)
voidTGeoArb8::ComputeTwist()
virtual Bool_tTGeoArb8::Contains(Double_t* point) const
virtual Bool_tTGeoBBox::Contains(Double_t* point) const
virtual Bool_tTGeoShape::Contains(Double_t* point) const
static Bool_tTGeoBBox::Contains(const Double_t* point, Double_t dx, Double_t dy, Double_t dz, const Double_t* origin)
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Copy(TObject& object) const
virtual Bool_tTGeoBBox::CouldBeCrossed(Double_t* point, Double_t* dir) const
virtual Bool_tTGeoShape::CouldBeCrossed(Double_t* point, Double_t* dir) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTGeoBBox::DistancetoPrimitive(Int_t px, Int_t py)
virtual Int_tTGeoShape::DistancetoPrimitive(Int_t px, Int_t py)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual Double_tDistFromInside(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
virtual Double_tTGeoArb8::DistFromInside(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
virtual Double_tTGeoBBox::DistFromInside(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
virtual Double_tTGeoShape::DistFromInside(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
static Double_tTGeoBBox::DistFromInside(const Double_t* point, const Double_t* dir, Double_t dx, Double_t dy, Double_t dz, const Double_t* origin, Double_t stepmax = TGeoShape::Big())
virtual Double_tDistFromOutside(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
virtual Double_tTGeoArb8::DistFromOutside(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
virtual Double_tTGeoBBox::DistFromOutside(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
virtual Double_tTGeoShape::DistFromOutside(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
static Double_tTGeoBBox::DistFromOutside(const Double_t* point, const Double_t* dir, Double_t dx, Double_t dy, Double_t dz, const Double_t* origin, Double_t stepmax = TGeoShape::Big())
static Double_tTGeoShape::DistToPhiMin(Double_t* point, Double_t* dir, Double_t s1, Double_t c1, Double_t s2, Double_t c2, Double_t sm, Double_t cm, Bool_t in = kTRUE)
Double_tTGeoArb8::DistToPlane(Double_t* point, Double_t* dir, Int_t ipl, Bool_t in) const
virtual TGeoVolume*Divide(TGeoVolume* voldiv, const char* divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual TGeoVolume*TGeoArb8::Divide(TGeoVolume* voldiv, const char* divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual TGeoVolume*TGeoBBox::Divide(TGeoVolume* voldiv, const char* divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual TGeoVolume*TGeoShape::Divide(TGeoVolume* voldiv, const char* divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual voidTGeoShape::Draw(Option_t* option = "")MENU
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
static Double_tTGeoShape::EpsMch()
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTGeoShape::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Double_tGetAlpha1() const
Double_tGetAlpha2() const
virtual const char*TGeoBBox::GetAxisName(Int_t iaxis) const
virtual const char*TGeoShape::GetAxisName(Int_t iaxis) const
virtual Double_tTGeoArb8::GetAxisRange(Int_t iaxis, Double_t& xlo, Double_t& xhi) const
virtual Double_tTGeoBBox::GetAxisRange(Int_t iaxis, Double_t& xlo, Double_t& xhi) const
virtual Double_tTGeoShape::GetAxisRange(Int_t iaxis, Double_t& xlo, Double_t& xhi) const
Double_tGetBl1() const
Double_tGetBl2() const
virtual voidTGeoArb8::GetBoundingCylinder(Double_t* param) const
virtual voidTGeoBBox::GetBoundingCylinder(Double_t* param) const
virtual voidTGeoShape::GetBoundingCylinder(Double_t* param) const
virtual const TBuffer3D&TGeoBBox::GetBuffer3D(Int_t reqSections, Bool_t localFrame) const
virtual const TBuffer3D&TGeoShape::GetBuffer3D(Int_t reqSections, Bool_t localFrame) const
virtual Int_tTGeoArb8::GetByteCount() const
virtual Int_tTGeoBBox::GetByteCount() const
virtual Int_tTGeoShape::GetByteCount() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual Double_tTGeoBBox::GetDX() const
virtual Double_tTGeoBBox::GetDY() const
Double_tTGeoArb8::GetDz() const
virtual Double_tTGeoBBox::GetDZ() const
virtual Double_tTGeoBBox::GetFacetArea(Int_t index = 0) const
virtual Int_tTGeoArb8::GetFittingBox(const TGeoBBox* parambox, TGeoMatrix* mat, Double_t& dx, Double_t& dy, Double_t& dz) const
virtual Int_tTGeoBBox::GetFittingBox(const TGeoBBox* parambox, TGeoMatrix* mat, Double_t& dx, Double_t& dy, Double_t& dz) const
virtual Int_tTGeoShape::GetFittingBox(const TGeoBBox* parambox, TGeoMatrix* mat, Double_t& dx, Double_t& dy, Double_t& dz) const
Double_tGetH1() const
Double_tGetH2() const
virtual const char*TObject::GetIconName() const
Int_tTGeoShape::GetId() const
virtual TGeoShape*GetMakeRuntimeShape(TGeoShape* mother, TGeoMatrix* mat) const
virtual TGeoShape*TGeoArb8::GetMakeRuntimeShape(TGeoShape*, TGeoMatrix*) const
virtual TGeoShape*TGeoBBox::GetMakeRuntimeShape(TGeoShape* mother, TGeoMatrix* mat) const
virtual TGeoShape*TGeoShape::GetMakeRuntimeShape(TGeoShape* mother, TGeoMatrix* mat) const
virtual voidTGeoBBox::GetMeshNumbers(Int_t& nvert, Int_t& nsegs, Int_t& npols) const
virtual voidTGeoShape::GetMeshNumbers(Int_t&, Int_t&, Int_t&) const
virtual const char*TGeoShape::GetName() const
virtual const char*TNamed::GetName() const
virtual const char*TObject::GetName() const
virtual Int_tTGeoBBox::GetNmeshVertices() const
virtual Int_tTGeoShape::GetNmeshVertices() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const Double_t*TGeoBBox::GetOrigin() const
Double_tGetPhi() const
static voidTGeoArb8::GetPlaneNormal(Double_t* p1, Double_t* p2, Double_t* p3, Double_t* norm)
char*TGeoShape::GetPointerName() const
virtual Bool_tTGeoArb8::GetPointsOnFacet(Int_t, Int_t, Double_t*) const
virtual Bool_tTGeoBBox::GetPointsOnFacet(Int_t index, Int_t npoints, Double_t* array) const
virtual Bool_tTGeoBBox::GetPointsOnSegments(Int_t npoints, Double_t* array) const
virtual Bool_tTGeoShape::GetPointsOnSegments(Int_t npoints, Double_t* array) const
Double_tGetTheta() const
virtual const char*TNamed::GetTitle() const
virtual const char*TObject::GetTitle() const
Double_tGetTl1() const
Double_tGetTl2() const
static TGeoMatrix*TGeoShape::GetTransform()
Double_tTGeoArb8::GetTwist(Int_t iseg) const
virtual UInt_tTObject::GetUniqueID() const
Double_t*TGeoArb8::GetVertices()
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
static Bool_tTGeoArb8::InsidePolygon(Double_t x, Double_t y, Double_t* pts)
virtual voidTObject::Inspect() constMENU
virtual voidTGeoArb8::InspectShape() const
virtual voidTGeoBBox::InspectShape() const
virtual voidTGeoShape::InspectShape() const
voidTObject::InvertBit(UInt_t f)
voidTGeoShape::InvertShapeBit(UInt_t f)
virtual TClass*IsA() const
virtual TClass*TGeoArb8::IsA() const
virtual TClass*TGeoBBox::IsA() const
virtual TClass*TGeoShape::IsA() const
virtual TClass*TNamed::IsA() const
virtual TClass*TObject::IsA() const
static Bool_tTGeoShape::IsCloseToPhi(Double_t epsil, Double_t* point, Double_t c1, Double_t s1, Double_t c2, Double_t s2)
virtual Bool_tTGeoShape::IsComposite() const
static Bool_tTGeoShape::IsCrossingSemiplane(Double_t* point, Double_t* dir, Double_t cphi, Double_t sphi, Double_t& snext, Double_t& rxy)
virtual Bool_tTGeoArb8::IsCylType() const
virtual Bool_tTGeoBBox::IsCylType() const
virtual Bool_tTGeoShape::IsCylType() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
static Bool_tTGeoShape::IsInPhiRange(Double_t* point, Double_t phi1, Double_t phi2)
virtual Bool_tTGeoBBox::IsNullBox() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTGeoShape::IsReflected() const
Bool_tTGeoShape::IsRunTimeShape() const
static Bool_tTGeoArb8::IsSamePoint(Double_t* p1, Double_t* p2)
static Bool_tTGeoShape::IsSameWithinTolerance(Double_t a, Double_t b)
static Bool_tTGeoShape::IsSegCrossing(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Double_t x3, Double_t y3, Double_t x4, Double_t y4)
virtual Bool_tTNamed::IsSortable() const
virtual Bool_tTObject::IsSortable() const
Bool_tTGeoArb8::IsTwisted() const
Bool_tTGeoShape::IsValid() const
virtual Bool_tTGeoBBox::IsValidBox() const
virtual Bool_tTGeoShape::IsValidBox() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
virtual voidTObject::ls(Option_t* option = "") const
virtual TBuffer3D*TGeoBBox::MakeBuffer3D() const
virtual TBuffer3D*TGeoShape::MakeBuffer3D() const
voidTObject::MayNotUse(const char* method) const
static voidTGeoShape::NormalPhi(Double_t* point, Double_t* dir, Double_t* norm, Double_t c1, Double_t s1, Double_t c2, Double_t s2)
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTGeoShape::Paint(Option_t* option = "")
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
voidTGeoShape::ResetShapeBit(UInt_t f)
virtual Double_tSafety(Double_t* point, Bool_t in = kTRUE) const
virtual Double_tTGeoArb8::Safety(Double_t* point, Bool_t in = kTRUE) const
virtual Double_tTGeoBBox::Safety(Double_t* point, Bool_t in = kTRUE) const
virtual Double_tTGeoShape::Safety(Double_t* point, Bool_t in = kTRUE) const
static Double_tTGeoShape::SafetyPhi(Double_t* point, Bool_t in, Double_t phi1, Double_t phi2)
Double_tTGeoArb8::SafetyToFace(Double_t* point, Int_t iseg, Bool_t in) const
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidSavePrimitive(ostream& out, Option_t* option = "")
virtual voidTGeoArb8::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidTGeoBBox::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidTGeoBBox::SetBoxDimensions(Double_t dx, Double_t dy, Double_t dz, Double_t* origin = 0)
voidTGeoBBox::SetBoxPoints(Double_t* points) const
virtual voidSetDimensions(Double_t* param)
virtual voidTGeoArb8::SetDimensions(Double_t* param)
virtual voidTGeoBBox::SetDimensions(Double_t* param)
virtual voidTGeoShape::SetDimensions(Double_t* param)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidTGeoArb8::SetDz(Double_t dz)
voidTGeoShape::SetId(Int_t id)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
voidTGeoArb8::SetPlaneVertices(Double_t zpl, Double_t* vertices) const
virtual voidTGeoArb8::SetPoints(Double_t* points) const
virtual voidTGeoArb8::SetPoints(Float_t* points) const
virtual voidTGeoBBox::SetPoints(Double_t* points) const
virtual voidTGeoBBox::SetPoints(Float_t* points) const
voidTGeoShape::SetRuntime(Bool_t flag = kTRUE)
virtual voidTGeoBBox::SetSegsAndPols(TBuffer3D& buffer) const
virtual voidTGeoShape::SetSegsAndPols(TBuffer3D& buff) const
voidTGeoShape::SetShapeBit(UInt_t f)
voidTGeoShape::SetShapeBit(UInt_t f, Bool_t set)
virtual voidTNamed::SetTitle(const char* title = "")MENU
static voidTGeoShape::SetTransform(TGeoMatrix* matrix)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidTGeoArb8::SetVertex(Int_t vnum, Double_t x, Double_t y)
Int_tTGeoShape::ShapeDistancetoPrimitive(Int_t numpoints, Int_t px, Int_t py) const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGeoArb8::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGeoBBox::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGeoShape::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTNamed::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTObject::ShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
virtual voidTGeoArb8::Sizeof3D() const
virtual voidTGeoBBox::Sizeof3D() const
virtual voidTGeoShape::Sizeof3D() const
virtual voidStreamer(TBuffer& b)
virtual voidTGeoArb8::Streamer(TBuffer& b)
virtual voidTGeoBBox::Streamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTGeoArb8::StreamerNVirtual(TBuffer& b)
voidTGeoBBox::StreamerNVirtual(TBuffer& b)
voidTGeoShape::StreamerNVirtual(TBuffer& b)
voidTNamed::StreamerNVirtual(TBuffer& b)
voidTObject::StreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
Bool_tTGeoShape::TestShapeBit(UInt_t f) const
Int_tTGeoShape::TestShapeBits(UInt_t f) const
static Double_tTGeoShape::Tolerance()
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
virtual voidTGeoBBox::FillBuffer3D(TBuffer3D& buffer, Int_t reqSections, Bool_t localFrame) const
virtual voidTGeoShape::FillBuffer3D(TBuffer3D& buffer, Int_t reqSections, Bool_t localFrame) const
Int_tTGeoShape::GetBasicColor() const
voidTObject::MakeZombie()
TGeoArb8&TGeoArb8::operator=(const TGeoArb8&)
voidTGeoShape::SetOnBoundary(Bool_t)
voidTGeoShape::TransformPoints(Double_t* points, UInt_t NbPoints) const

Data Members

protected:
Double_tfAlpha1angle between centers of x edges an y axis at low z
Double_tfAlpha2angle between centers of x edges an y axis at low z
Double_tfBl1half length in x at low z and y low edge
Double_tfBl2half length in x at high z and y low edge
Double_tTGeoBBox::fDXX half-length
Double_tTGeoBBox::fDYY half-length
Double_tTGeoBBox::fDZZ half-length
Double_tTGeoArb8::fDzhalf length in Z
Double_tfH1half length in y at low z
Double_tfH2half length in y at high z
TStringTNamed::fNameobject identifier
Double_tTGeoBBox::fOrigin[3]box origin
Double_tfPhiphi angle
UInt_tTGeoShape::fShapeBitsshape bits
Int_tTGeoShape::fShapeIdshape id
Double_tfThetatheta angle
TStringTNamed::fTitleobject title
Double_tfTl1half length in x at low z and y high edge
Double_tfTl2half length in x at high z and y high edge
Double_t*TGeoArb8::fTwist! [4] tangents of twist angles
Double_tTGeoArb8::fXY[8][2]list of vertices

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGeoTrap()
 Default ctor
TGeoTrap(Double_t dz, Double_t theta, Double_t phi)
 Constructor providing just a range in Z, theta and 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)
 Normal constructor.
TGeoTrap(const char* name, 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 with name.
~TGeoTrap()
 destructor
Double_t DistFromInside(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
 Compute distance from inside point to surface of the trapezoid
Double_t DistFromOutside(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
 Compute distance from outside point to surface of the trapezoid
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.
TGeoShape * GetMakeRuntimeShape(TGeoShape* mother, TGeoMatrix* mat) const
 In case shape has some negative parameters, these have to be computed
 in order to fit the mother.
Double_t Safety(Double_t* point, Bool_t in = kTRUE) const
 Computes the closest distance from given point to this shape.
void SavePrimitive(ostream& out, Option_t* option = "")
 Save a primitive as a C++ statement(s) on output stream "out".
void SetDimensions(Double_t* param)
 Set all arb8 params in one step.
 param[0] = dz
 param[1] = theta
 param[2] = phi
 param[3] = h1
 param[4] = bl1
 param[5] = tl1
 param[6] = alpha1
 param[7] = h2
 param[8] = bl2
 param[9] = tl2
 param[10] = alpha2
TGeoTrap()
 constructors
Double_t GetTheta() const
{return fTheta;}
Double_t GetPhi() const
{return fPhi;}
Double_t GetH1() const
{return fH1;}
Double_t GetBl1() const
{return fBl1;}
Double_t GetTl1() const
{return fTl1;}
Double_t GetAlpha1() const
{return fAlpha1;}
Double_t GetH2() const
{return fH2;}
Double_t GetBl2() const
{return fBl2;}
Double_t GetTl2() const
{return fTl2;}
Double_t GetAlpha2() const
{return fAlpha2;}