#include <TGeoArb8.h>
Inheritance diagram for TGeoTrap:
Definition at line 126 of file TGeoArb8.h.
TGeoTrap::TGeoTrap | ( | ) |
Referenced by Divide(), and GetMakeRuntimeShape().
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, | |||
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] |
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] |
Double_t TGeoTrap::GetTl2 | ( | ) | const [inline] |
Double_t TGeoTrap::GetAlpha2 | ( | ) | const [inline] |
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().
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] |
Double_t TGeoTrap::GetPhi | ( | ) | const [inline] |
Double_t TGeoTrap::GetH1 | ( | ) | const [inline] |
Double_t TGeoTrap::GetBl1 | ( | ) | const [inline] |
Double_t TGeoTrap::GetTl1 | ( | ) | const [inline] |
Double_t TGeoTrap::GetAlpha1 | ( | ) | const [inline] |
Double_t TGeoTrap::GetH2 | ( | ) | const [inline] |
Double_t TGeoTrap::GetBl2 | ( | ) | const [inline] |
Double_t TGeoTrap::GetTl2 | ( | ) | const [inline] |
Double_t TGeoTrap::GetAlpha2 | ( | ) | const [inline] |
virtual TGeoShape* TGeoTrap::GetMakeRuntimeShape | ( | TGeoShape * | mother, | |
TGeoMatrix * | mat | |||
) | const [virtual] |
Reimplemented from TGeoArb8.
Reimplemented from TGeoArb8.
virtual void TGeoTrap::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGeoArb8.
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().