ROOT logo
+
class AGeoAsphericDisk
-
library: libROBAST
#include "AGeoAsphericDisk.h"
Display options:
Show inherited
Show non-public
ROBAST » SRC » AGeoAsphericDisk

class AGeoAsphericDisk: public TGeoBBox

 AGeoAsphericDisk

 Geometry class for tubes which have two aspheric surface


Function Members (Methods)

public:
AGeoAsphericDisk()
AGeoAsphericDisk(const AGeoAsphericDisk&)
AGeoAsphericDisk(Double_t z1, Double_t curve1, Double_t z2, Double_t curve2, Double_t rmax, Double_t rmin = 0)
AGeoAsphericDisk(const char* name, Double_t z1, Double_t curve1, Double_t z2, Double_t curve2, Double_t rmax, Double_t rmin = 0)
virtual~AGeoAsphericDisk()
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_tCalcdF1dr(Double_t r) const
virtual Double_tCalcdF2dr(Double_t r) const
virtual Double_tCalcF1(Double_t r) const
virtual Double_tCalcF2(Double_t r) const
virtual Double_tCapacity() const
voidTGeoShape::CheckShape(Int_t testNo, Int_t nsamples = 10000, Option_t* option = "")
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual voidTGeoShape::ClearThreadData() const
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidComputeBBox()
static Double_tTGeoShape::ComputeEpsMch()
virtual voidComputeNormal(Double_t* point, Double_t* dir, Double_t* norm)
virtual Bool_tContains(Double_t* point) const
virtual voidTNamed::Copy(TObject& named) const
virtual Bool_tTGeoBBox::CouldBeCrossed(Double_t* point, Double_t* dir) const
virtual voidTGeoShape::CreateThreadData(Int_t)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tDistancetoPrimitive(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_tDistFromOutside(Double_t* point, Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
virtual Double_tDistToAsphere(Int_t i, Double_t* point, Double_t* dir) const
virtual Double_tDistToInner(Double_t* point, Double_t* dir) const
virtual Double_tDistToOuter(Double_t* point, Double_t* dir) const
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)
virtual TGeoVolume*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::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
virtual const char*TGeoBBox::GetAxisName(Int_t iaxis) const
virtual Double_tTGeoBBox::GetAxisRange(Int_t iaxis, Double_t& xlo, Double_t& xhi) const
virtual voidGetBoundingCylinder(Double_t* param) const
virtual const TBuffer3D&GetBuffer3D(Int_t reqSections, Bool_t localFrame) const
virtual Int_tGetByteCount() const
Double_tGetCurve1() const
Double_tGetCurve2() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual Double_tTGeoBBox::GetDX() const
virtual Double_tTGeoBBox::GetDY() const
virtual Double_tTGeoBBox::GetDZ() const
virtual Double_tTGeoBBox::GetFacetArea(Int_t index = 0) const
virtual Int_tTGeoBBox::GetFittingBox(const TGeoBBox* parambox, TGeoMatrix* mat, Double_t& dx, Double_t& dy, Double_t& dz) const
virtual const char*TObject::GetIconName() const
Int_tTGeoShape::GetId() const
Double_t*GetK1() const
Double_t*GetK2() const
virtual TGeoShape*GetMakeRuntimeShape(TGeoShape*, TGeoMatrix*) const
virtual voidGetMeshNumbers(Int_t& nvert, Int_t& nsegs, Int_t& npols) const
virtual const char*TGeoShape::GetName() const
virtual Int_tGetNmeshVertices() const
Double_tGetNPol1() const
Double_tGetNPol2() 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
const char*TGeoShape::GetPointerName() 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
Double_tGetRmax() const
Double_tGetRmin() const
virtual const char*TNamed::GetTitle() const
static TGeoMatrix*TGeoShape::GetTransform()
virtual UInt_tTObject::GetUniqueID() const
Double_tGetZ1() const
Double_tGetZ2() const
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
virtual voidTObject::Inspect() constMENU
virtual voidInspectShape() const
voidTObject::InvertBit(UInt_t f)
voidTGeoShape::InvertShapeBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTGeoShape::IsAssembly() 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_tIsCylType() 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_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
Bool_tTGeoShape::IsValid() const
virtual Bool_tTGeoBBox::IsValidBox() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
virtual TBuffer3D*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()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
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)
AGeoAsphericDisk&operator=(const AGeoAsphericDisk&)
virtual voidTGeoShape::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::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
static Double_tTGeoShape::SafetyPhi(Double_t* point, Bool_t in, Double_t phi1, Double_t phi2)
static Double_tTGeoShape::SafetySeg(Double_t r, Double_t z, Double_t r1, Double_t z1, Double_t r2, Double_t z2, Bool_t outer)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidSavePrimitive(ostream& out, Option_t* option = "")
virtual voidSetAsphDimensions(Double_t x1, Double_t curve1, Double_t x2, Double_t curve2, Double_t rmax, Double_t rmin)
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 voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidSetFineness(Int_t steps, Int_t repeat)
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)
virtual voidSetPoints(Double_t* points) const
virtual voidSetPoints(Float_t* points) const
virtual voidSetPolynomials(Int_t n1, const Double_t* k1, Int_t n2, const Double_t* k2)
voidTGeoShape::SetRuntime(Bool_t flag = kTRUE)
virtual voidSetSegsAndPols(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)
Int_tTGeoShape::ShapeDistancetoPrimitive(Int_t numpoints, Int_t px, Int_t py) const
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
virtual voidSizeof3D() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_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:
voidDeleteArrays()
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
Int_tTGeoShape::GetBasicColor() const
voidTObject::MakeZombie()
voidTGeoShape::SetOnBoundary(Bool_t)
voidTGeoShape::TransformPoints(Double_t* points, UInt_t NbPoints) const

Data Members

protected:
Double_tfCurve1Curvature of surface 1 (=1/R1)
Double_tfCurve2Curvature of surface 2 (=1/R2)
Double_tTGeoBBox::fDXX half-length
Double_tTGeoBBox::fDYY half-length
Double_tTGeoBBox::fDZZ half-length
Double_t*fK1[fNPol1] Coefficients of polynomial of surface 1
Double_t*fK2[fNPol2] Coefficients of polynomial of surface 2
Int_tfNPol1Order of polynomial of surface 1 (=Nmax/2)
Int_tfNPol2Order of polynomial of surface 2
TStringTNamed::fNameobject identifier
Double_tTGeoBBox::fOrigin[3]box origin
Int_tfRepeatrepeat times of approximate calculation
Double_tfRmaxouter radius
Double_tfRmininner radius
UInt_tTGeoShape::fShapeBitsshape bits
Int_tTGeoShape::fShapeIdshape id
Int_tfStepssteps of approximate calculation
TStringTNamed::fTitleobject title
Double_tfZ1Z of the center of surface 1 (lower)
Double_tfZ2Z of the center of surface 2 (upper)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

AGeoAsphericDisk()
 Default constructor
AGeoAsphericDisk(Double_t z1, Double_t curve1, Double_t z2, Double_t curve2, Double_t rmax, Double_t rmin = 0)
AGeoAsphericDisk(const char* name, Double_t z1, Double_t curve1, Double_t z2, Double_t curve2, Double_t rmax, Double_t rmin = 0)
~AGeoAsphericDisk()
 Destructor
Double_t CalcdF1dr(Double_t r) const
 Caculate dF1/dr
Double_t CalcdF2dr(Double_t r) const
 Caculate dF2/dr
Double_t CalcF1(Double_t r) const
 Calculate z value of surface 1 at given r
Double_t CalcF2(Double_t r) const
 Calculate z value of surface 1 at given r
Double_t Capacity() const
 Compute capacity of the shape in [length^3]
 Not implemeted yet
void ComputeBBox()
 Compute bounding box of the shape
void ComputeNormal(Double_t* point, Double_t* dir, Double_t* norm)
 Compute normal to closest surface from POINT.
Bool_t Contains(Double_t* point) const
 Test if point is in this shape
Int_t DistancetoPrimitive(Int_t px, Int_t py)
 compute closest distance from point px,py to each corner
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 sphere
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 sphere
Double_t DistToAsphere(Int_t i, Double_t* point, Double_t* dir) const
Double_t DistToInner(Double_t* point, Double_t* dir) const
Double_t DistToOuter(Double_t* point, Double_t* dir) const
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
const TBuffer3D& GetBuffer3D(Int_t reqSections, Bool_t localFrame) const
 Fills a static 3D buffer and returns a reference
void GetMeshNumbers(Int_t& nvert, Int_t& nsegs, Int_t& npols) const
Int_t GetNmeshVertices() const
 Return number of vertices of the mesh representation
void InspectShape() const
 print shape parameters
TBuffer3D* MakeBuffer3D() const
Double_t Safety(Double_t* point, Bool_t in = kTRUE) const
void SavePrimitive(ostream& out, Option_t* option = "")
 Save a primitive as a C++ statement(s) on output stream "out".
void SetAsphDimensions(Double_t x1, Double_t curve1, Double_t x2, Double_t curve2, Double_t rmax, Double_t rmin)
void SetDimensions(Double_t* param)
void SetFineness(Int_t steps, Int_t repeat)
void SetPoints(Double_t* points) const
 create mesh points
void SetPoints(Float_t* points) const
 create mesh points
void SetPolynomials(Int_t n1, const Double_t* k1, Int_t n2, const Double_t* k2)
void SetSegsAndPols(TBuffer3D& buff) const
 Fill TBuffer3D structure for segments and polygons.
void Sizeof3D() const
 obsolete - to be removed
void DeleteArrays()
AGeoAsphericDisk()
Int_t GetByteCount() const
{return 68 + 4*(fNPol1 + fNPol2);}
Double_t GetCurve1() const
{ return fCurve1;}
Double_t GetCurve2() const
{ return fCurve2;}
Double_t* GetK1() const
{ return fK1;}
Double_t* GetK2() const
{ return fK2;}
TGeoShape* GetMakeRuntimeShape(TGeoShape* , TGeoMatrix* ) const
{return 0;}
Double_t GetNPol1() const
{ return fNPol1;}
Double_t GetNPol2() const
{ return fNPol2;}
Double_t GetRmax() const
{ return fRmax;}
Double_t GetRmin() const
{ return fRmin;}
Double_t GetZ1() const
{ return fZ1;}
Double_t GetZ2() const
{ return fZ2;}
Bool_t IsCylType() const
{return kTRUE;}