TGeoTrap Class Reference

#include <TGeoArb8.h>

Inheritance diagram for TGeoTrap:

TGeoArb8 TGeoArb8 TGeoBBox TGeoBBox TGeoBBox TGeoBBox TGeoShape TGeoShape TGeoShape TGeoShape TGeoShape TGeoShape TGeoShape TGeoShape TGeoGtra TGeoGtra List of all members.

Public Member Functions

 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 ()
virtual Double_t DistFromInside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const
virtual Double_t DistFromOutside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const
virtual TGeoVolumeDivide (TGeoVolume *voldiv, const char *divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
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
virtual TGeoShapeGetMakeRuntimeShape (TGeoShape *mother, TGeoMatrix *mat) const
virtual void SetDimensions (Double_t *param)
virtual Double_t Safety (Double_t *point, Bool_t in=kTRUE) const
virtual void SavePrimitive (ostream &out, Option_t *option="")
 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 ()
virtual Double_t DistFromInside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const
virtual Double_t DistFromOutside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const
virtual TGeoVolumeDivide (TGeoVolume *voldiv, const char *divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
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
virtual TGeoShapeGetMakeRuntimeShape (TGeoShape *mother, TGeoMatrix *mat) const
virtual void SetDimensions (Double_t *param)
virtual Double_t Safety (Double_t *point, Bool_t in=kTRUE) const
virtual void SavePrimitive (ostream &out, Option_t *option="")

Protected Attributes

Double_t fTheta
Double_t fPhi
Double_t fH1
Double_t fBl1
Double_t fTl1
Double_t fAlpha1
Double_t fH2
Double_t fBl2
Double_t fTl2
Double_t fAlpha2

Detailed Description

Definition at line 126 of file TGeoArb8.h.


Constructor & Destructor Documentation

TGeoTrap::TGeoTrap (  ) 

Referenced by Divide(), and GetMakeRuntimeShape().

TGeoTrap::TGeoTrap ( Double_t  dz,
Double_t  theta,
Double_t  phi 
)

Definition at line 1179 of file TGeoArb8.cxx.

References fAlpha1, fAlpha2, fBl1, fBl2, TGeoArb8::fDz, fH1, fH2, fPhi, fTheta, fTl1, and fTl2.

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 
)

Definition at line 1190 of file TGeoArb8.cxx.

References TGeoArb8::ComputeBBox(), TGeoArb8::ComputeTwist(), TMath::Cos(), TMath::DegToRad(), fAlpha1, fAlpha2, fBl1, fBl2, TGeoArb8::fDz, fH1, fH2, fPhi, fTheta, fTl1, fTl2, TGeoArb8::fXY, TGeoShape::kGeoRunTimeShape, TGeoShape::SetShapeBit(), TMath::Sin(), and TMath::Tan().

TGeoTrap::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 
)

Definition at line 1228 of file TGeoArb8.cxx.

References TGeoArb8::ComputeBBox(), TGeoArb8::ComputeTwist(), TMath::Cos(), TMath::DegToRad(), fAlpha1, fAlpha2, fBl1, fBl2, TGeoArb8::fDz, fH1, fH2, fPhi, fTheta, fTl1, fTl2, TGeoArb8::fXY, i, TGeoShape::kGeoRunTimeShape, TNamed::SetName(), TGeoShape::SetShapeBit(), TMath::Sin(), and TMath::Tan().

TGeoTrap::~TGeoTrap (  )  [virtual]

Definition at line 1271 of file TGeoArb8.cxx.

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 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::~TGeoTrap (  )  [virtual]


Member Function Documentation

Double_t TGeoTrap::DistFromInside ( Double_t point,
Double_t dir,
Int_t  iact = 1,
Double_t  step = TGeoShape::Big(),
Double_t safe = 0 
) const [virtual]

Reimplemented from TGeoArb8.

Definition at line 1277 of file TGeoArb8.cxx.

References TGeoShape::Big(), TGeoArb8::fDz, TGeoArb8::fXY, j, kTRUE, s, and Safety().

Double_t TGeoTrap::DistFromOutside ( Double_t point,
Double_t dir,
Int_t  iact = 1,
Double_t  step = TGeoShape::Big(),
Double_t safe = 0 
) const [virtual]

Reimplemented from TGeoArb8.

Definition at line 1329 of file TGeoArb8.cxx.

References TMath::Abs(), TGeoShape::Big(), TGeoBBox::DistFromOutside(), TGeoBBox::fDX, TGeoBBox::fDY, TGeoArb8::fDz, TGeoBBox::fDZ, TGeoBBox::fOrigin, TGeoArb8::fXY, i, TGeoArb8::InsidePolygon(), j, kFALSE, kTRUE, Safety(), and TGeoShape::Tolerance().

TGeoVolume * TGeoTrap::Divide ( TGeoVolume voldiv,
const char *  divname,
Int_t  iaxis,
Int_t  ndiv,
Double_t  start,
Double_t  step 
) [virtual]

Reimplemented from TGeoArb8.

Definition at line 1440 of file TGeoArb8.cxx.

References TGeoVolume::AddNodeOffset(), TGeoVolumeMulti::AddVolume(), TObjArray::At(), TString::Data(), TObject::Error(), fPhi, fTheta, TGeoVolume::GetMedium(), TGeoVolume::GetNdaughters(), TGeoVolume::GetNodes(), gGeoManager, TGeoManager::MakeVolumeMulti(), TGeoPatternFinder::SetDivIndex(), TGeoVolume::SetFinder(), TGeoArb8::SetPlaneVertices(), TGeoArb8::SetVertex(), and TGeoTrap().

Double_t TGeoTrap::GetTheta (  )  const [inline]

Definition at line 159 of file TGeoArb8.h.

References fTheta.

Referenced by TGeoGtraEditor::SetModel(), and TGeoTrapEditor::SetModel().

Double_t TGeoTrap::GetPhi (  )  const [inline]

Definition at line 160 of file TGeoArb8.h.

References fPhi.

Referenced by TGeoGtraEditor::SetModel(), and TGeoTrapEditor::SetModel().

Double_t TGeoTrap::GetH1 (  )  const [inline]

Definition at line 161 of file TGeoArb8.h.

References fH1.

Referenced by TGeoGtraEditor::SetModel(), and TGeoTrapEditor::SetModel().

Double_t TGeoTrap::GetBl1 (  )  const [inline]

Definition at line 162 of file TGeoArb8.h.

References fBl1.

Referenced by TGeoGtraEditor::SetModel(), and TGeoTrapEditor::SetModel().

Double_t TGeoTrap::GetTl1 (  )  const [inline]

Definition at line 163 of file TGeoArb8.h.

References fTl1.

Referenced by TGeoGtraEditor::SetModel(), and TGeoTrapEditor::SetModel().

Double_t TGeoTrap::GetAlpha1 (  )  const [inline]

Definition at line 164 of file TGeoArb8.h.

References fAlpha1.

Referenced by TGeoGtraEditor::SetModel(), and TGeoTrapEditor::SetModel().

Double_t TGeoTrap::GetH2 (  )  const [inline]

Definition at line 165 of file TGeoArb8.h.

References fH2.

Referenced by TGeoGtraEditor::SetModel(), and TGeoTrapEditor::SetModel().

Double_t TGeoTrap::GetBl2 (  )  const [inline]

Definition at line 166 of file TGeoArb8.h.

References fBl2.

Double_t TGeoTrap::GetTl2 (  )  const [inline]

Definition at line 167 of file TGeoArb8.h.

References fTl2.

Double_t TGeoTrap::GetAlpha2 (  )  const [inline]

Definition at line 168 of file TGeoArb8.h.

References fAlpha2.

TGeoShape * TGeoTrap::GetMakeRuntimeShape ( TGeoShape mother,
TGeoMatrix mat 
) const [virtual]

Reimplemented from TGeoArb8.

Definition at line 1490 of file TGeoArb8.cxx.

References TObject::Error(), fAlpha1, fAlpha2, fBl1, fBl2, TGeoArb8::fDz, fH1, fH2, fPhi, fTheta, fTl1, fTl2, h1, h2, TGeoShape::IsRunTimeShape(), TGeoShape::kGeoRunTimeShape, TGeoShape::TestShapeBit(), and TGeoTrap().

void TGeoTrap::SetDimensions ( Double_t param  )  [virtual]

Reimplemented from TGeoArb8.

Definition at line 1604 of file TGeoArb8.cxx.

References TGeoArb8::ComputeBBox(), TGeoArb8::ComputeTwist(), TMath::Cos(), TMath::DegToRad(), fAlpha1, fAlpha2, fBl1, fBl2, TGeoArb8::fDz, fH1, fH2, fPhi, fTheta, fTl1, fTl2, TGeoArb8::fXY, TGeoShape::kGeoRunTimeShape, TGeoShape::SetShapeBit(), TMath::Sin(), and TMath::Tan().

Referenced by TGeoTrapEditor::DoApply().

Double_t TGeoTrap::Safety ( Double_t point,
Bool_t  in = kTRUE 
) const [virtual]

Reimplemented from TGeoArb8.

Definition at line 1525 of file TGeoArb8.cxx.

References TMath::Abs(), TGeoShape::Big(), E, TGeoArb8::fDz, TGeoArb8::fXY, i, j, norm(), safe, TMath::Sqrt(), TGeoShape::Tolerance(), x0, x1, and x2.

Referenced by TGeoGtra::DistFromInside(), DistFromInside(), TGeoGtra::DistFromOutside(), and DistFromOutside().

void TGeoTrap::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TGeoArb8.

Definition at line 1583 of file TGeoArb8.cxx.

References TObject::ClassName(), fAlpha1, fAlpha2, fBl1, fBl2, TGeoArb8::fDz, fH1, fH2, fPhi, fTheta, fTl1, fTl2, TGeoShape::GetName(), TGeoShape::GetPointerName(), TGeoShape::kGeoSavePrimitive, TObject::SetBit(), and TObject::TestBit().

virtual Double_t TGeoTrap::DistFromInside ( Double_t point,
Double_t dir,
Int_t  iact = 1,
Double_t  step = TGeoShape::Big(),
Double_t safe = 0 
) const [virtual]

Reimplemented from TGeoArb8.

virtual Double_t TGeoTrap::DistFromOutside ( Double_t point,
Double_t dir,
Int_t  iact = 1,
Double_t  step = TGeoShape::Big(),
Double_t safe = 0 
) const [virtual]

Reimplemented from TGeoArb8.

virtual TGeoVolume* TGeoTrap::Divide ( TGeoVolume voldiv,
const char *  divname,
Int_t  iaxis,
Int_t  ndiv,
Double_t  start,
Double_t  step 
) [virtual]

Reimplemented from TGeoArb8.

Double_t TGeoTrap::GetTheta (  )  const [inline]

Definition at line 159 of file TGeoArb8.h.

References fTheta.

Double_t TGeoTrap::GetPhi (  )  const [inline]

Definition at line 160 of file TGeoArb8.h.

References fPhi.

Double_t TGeoTrap::GetH1 (  )  const [inline]

Definition at line 161 of file TGeoArb8.h.

References fH1.

Double_t TGeoTrap::GetBl1 (  )  const [inline]

Definition at line 162 of file TGeoArb8.h.

References fBl1.

Double_t TGeoTrap::GetTl1 (  )  const [inline]

Definition at line 163 of file TGeoArb8.h.

References fTl1.

Double_t TGeoTrap::GetAlpha1 (  )  const [inline]

Definition at line 164 of file TGeoArb8.h.

References fAlpha1.

Double_t TGeoTrap::GetH2 (  )  const [inline]

Definition at line 165 of file TGeoArb8.h.

References fH2.

Double_t TGeoTrap::GetBl2 (  )  const [inline]

Definition at line 166 of file TGeoArb8.h.

References fBl2.

Double_t TGeoTrap::GetTl2 (  )  const [inline]

Definition at line 167 of file TGeoArb8.h.

References fTl2.

Double_t TGeoTrap::GetAlpha2 (  )  const [inline]

Definition at line 168 of file TGeoArb8.h.

References fAlpha2.

virtual TGeoShape* TGeoTrap::GetMakeRuntimeShape ( TGeoShape mother,
TGeoMatrix mat 
) const [virtual]

Reimplemented from TGeoArb8.

virtual void TGeoTrap::SetDimensions ( Double_t param  )  [virtual]

Reimplemented from TGeoArb8.

virtual Double_t TGeoTrap::Safety ( Double_t point,
Bool_t  in = kTRUE 
) const [virtual]

Reimplemented from TGeoArb8.

virtual void TGeoTrap::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TGeoArb8.


Member Data Documentation

Double_t TGeoTrap::fTheta [protected]

Definition at line 130 of file TGeoArb8.h.

Referenced by Divide(), TGeoGtra::GetMakeRuntimeShape(), GetMakeRuntimeShape(), GetTheta(), TGeoGtra::SavePrimitive(), SavePrimitive(), TGeoGtra::SetDimensions(), SetDimensions(), TGeoGtra::TGeoGtra(), and TGeoTrap().

Double_t TGeoTrap::fPhi [protected]

Definition at line 131 of file TGeoArb8.h.

Referenced by Divide(), TGeoGtra::GetMakeRuntimeShape(), GetMakeRuntimeShape(), GetPhi(), TGeoGtra::SavePrimitive(), SavePrimitive(), TGeoGtra::SetDimensions(), SetDimensions(), TGeoGtra::TGeoGtra(), and TGeoTrap().

Double_t TGeoTrap::fH1 [protected]

Definition at line 132 of file TGeoArb8.h.

Referenced by GetH1(), TGeoGtra::GetMakeRuntimeShape(), GetMakeRuntimeShape(), TGeoGtra::SavePrimitive(), SavePrimitive(), TGeoGtra::SetDimensions(), SetDimensions(), TGeoGtra::TGeoGtra(), and TGeoTrap().

Double_t TGeoTrap::fBl1 [protected]

Definition at line 133 of file TGeoArb8.h.

Referenced by GetBl1(), TGeoGtra::GetMakeRuntimeShape(), GetMakeRuntimeShape(), TGeoGtra::SavePrimitive(), SavePrimitive(), TGeoGtra::SetDimensions(), SetDimensions(), TGeoGtra::TGeoGtra(), and TGeoTrap().

Double_t TGeoTrap::fTl1 [protected]

Definition at line 134 of file TGeoArb8.h.

Referenced by TGeoGtra::GetMakeRuntimeShape(), GetMakeRuntimeShape(), GetTl1(), TGeoGtra::SavePrimitive(), SavePrimitive(), TGeoGtra::SetDimensions(), SetDimensions(), TGeoGtra::TGeoGtra(), and TGeoTrap().

Double_t TGeoTrap::fAlpha1 [protected]

Definition at line 135 of file TGeoArb8.h.

Referenced by GetAlpha1(), TGeoGtra::GetMakeRuntimeShape(), GetMakeRuntimeShape(), TGeoGtra::SavePrimitive(), SavePrimitive(), TGeoGtra::SetDimensions(), SetDimensions(), TGeoGtra::TGeoGtra(), and TGeoTrap().

Double_t TGeoTrap::fH2 [protected]

Definition at line 136 of file TGeoArb8.h.

Referenced by GetH2(), TGeoGtra::GetMakeRuntimeShape(), GetMakeRuntimeShape(), TGeoGtra::SavePrimitive(), SavePrimitive(), TGeoGtra::SetDimensions(), SetDimensions(), TGeoGtra::TGeoGtra(), and TGeoTrap().

Double_t TGeoTrap::fBl2 [protected]

Definition at line 137 of file TGeoArb8.h.

Referenced by GetBl2(), TGeoGtra::GetMakeRuntimeShape(), GetMakeRuntimeShape(), TGeoGtra::SavePrimitive(), SavePrimitive(), TGeoGtra::SetDimensions(), SetDimensions(), TGeoGtra::TGeoGtra(), and TGeoTrap().

Double_t TGeoTrap::fTl2 [protected]

Definition at line 138 of file TGeoArb8.h.

Referenced by TGeoGtra::GetMakeRuntimeShape(), GetMakeRuntimeShape(), GetTl2(), TGeoGtra::SavePrimitive(), SavePrimitive(), TGeoGtra::SetDimensions(), SetDimensions(), TGeoGtra::TGeoGtra(), and TGeoTrap().

Double_t TGeoTrap::fAlpha2 [protected]

Definition at line 139 of file TGeoArb8.h.

Referenced by GetAlpha2(), TGeoGtra::GetMakeRuntimeShape(), GetMakeRuntimeShape(), TGeoGtra::SavePrimitive(), SavePrimitive(), TGeoGtra::SetDimensions(), SetDimensions(), TGeoGtra::TGeoGtra(), and TGeoTrap().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:39:08 2011 for ROOT_528-00b_version by  doxygen 1.5.1