ROOT logo
AliRoot » ITS » AliITSv11GeomCableRound

class AliITSv11GeomCableRound: public AliITSv11GeomCable

   Class for round cables

 Ludovic Gaudichet                                   gaudichet@to.infn.it

Function Members (Methods)

public:
AliITSv11GeomCableRound(const char* name, Double_t radius)
virtual~AliITSv11GeomCableRound()
voidTObject::AbstractMethod(const char* method) const
voidAddCheckPoint(TGeoVolume* vol, Int_t iCheckPt, Double_t* coord, Double_t* orthVect)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
TGeoVolume*CreateAndInsertCableSegment(Int_t p2, TGeoCombiTrans** ct = 0)
TGeoVolume*CreateAndInsertTorusSegment(Int_t p2, Double_t rotation = 0, TGeoCombiTrans** ct = 0)
TGeoVolume*CreateAndInsertTubeSegment(Int_t p2, TGeoCombiTrans** ct = 0)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
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 voidTObject::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 Int_tAliITSv11GeomCable::GetCheckPoint(Int_t iCheckPt, Int_t nOccur, Int_t motherLevel, Double_t* coord)
virtual Int_tAliITSv11GeomCable::GetCheckVect(Int_t iCheckPt, Int_t nOccur, Int_t motherLevel, Double_t* coord)
virtual Int_tAliITSv11GeomCable::GetCheckVect(const Double_t* localCoord, TGeoVolume* vol, Int_t nOccur, Int_t motherLevel, Double_t* coord)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual Int_tAliITSv11GeomCable::GetNCheckPoints() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual Int_tGetPoint(Int_t iCheckPt, Double_t* coord) const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Int_tGetVect(Int_t iCheckPt, Double_t* coord) const
virtual TGeoVolume*AliITSv11GeomCable::GetVolume(Int_t iCheckPt) 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
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
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)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
voidPrintCheckPoints() const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
voidAliITSv11GeomCable::ResetInitialNode()
voidAliITSv11GeomCable::ResetPoints()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
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)
voidAliITSv11GeomCable::SetDebug(Int_t debug = 1)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidAliITSv11GeomCable::SetInitialNode(TGeoVolume* vol)
Int_tSetLayer(Int_t nLayer, Double_t thick, TGeoMedium* medium, Int_t color = 0)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
voidSetNLayers(Int_t nLayers)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetPhi(Double_t phi1, Double_t phi2)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() 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
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:
boolAliITSv11GeomCable::CheckDaughter(const TGeoNode* node, Int_t i = 0)
voidAliITSv11GeomCable::CopyFrom(Double_t* c, const Double_t* o) const
TGeoVolume*CreateSegment(const Double_t* coord1, const Double_t* coord2, Double_t* localVect1, Double_t* localVect2, Int_t p)
TGeoVolume*CreateTorus(const Double_t& phi, const Double_t& r, Int_t p)
TGeoVolume*CreateTubeSegment(const Double_t* coord1, const Double_t* coord2, Int_t p)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
voidAliITSv11GeomCable::ResetCheckDaughter()
Double_tAliITSv11GeomCable::ScalProd(const Double_t* a, const Double_t* b) const

Data Members

protected:
TGeoVolume*AliITSv11GeomCable::fCurrentVolvolume to search in the node tree
Int_tAliITSv11GeomCable::fDebugdebug flag
TGeoNode*AliITSv11GeomCable::fInitialNodeinitial node to start searching
Int_tfLayColor[15]layer colors
TGeoMedium*fLayMedia[15]layer media
Double_tfLayThickness[15]layer thicknesses
TStringTNamed::fNameobject identifier
Int_tfNlayernumber of layers
Int_tAliITSv11GeomCable::fNodeInd[50]index of nodes in the node tree
Double_tfPhiMaxmaximum phi
Double_tfPhiMinminimum phi
TObjArrayAliITSv11GeomCable::fPointArrayarray of points
Double_tfRadiustotal radius
TStringTNamed::fTitleobject title
TObjArrayAliITSv11GeomCable::fVolumeArrayvolumes containing the points
static const Int_tAliITSv11GeomCable::fgkCableMaxLayermax. number of layers
static const Int_tAliITSv11GeomCable::fgkCableMaxNodeLevelmax. number of levels

Class Charts

Inheritance Chart:
TNamed
AliITSv11GeomCable
AliITSv11GeomCableRound

Function documentation

Int_t GetPoint( Int_t iCheckPt, Double_t *coord)
 Get check point #iCheckPt
Int_t GetVect( Int_t iCheckPt, Double_t *coord)
 Get vector transverse to the section at point #iCheckPt

void AddCheckPoint(TGeoVolume* vol, Int_t iCheckPt, Double_t* coord, Double_t* orthVect)
 Add point #iCheckPt and its transverse vector. Point is added at (i) in
 fPointArray and the vector is added at (i+1)

void PrintCheckPoints() const
 Print all check points
TGeoVolume* CreateAndInsertCableSegment(Int_t p2, TGeoCombiTrans** ct = 0)
    Creates a cable segment between points p1 and p2.

 The segment volume is created inside the volume containing point2
 Therefore this segment should be defined in this volume only.
 I mean here that, if the previous point is in another volume,
 it should be just at the border between the 2 volumes. Also the
 orientation vector of the previous point should be othogonal to
 the surface between the 2 volumes.
TGeoVolume* CreateAndInsertTubeSegment(Int_t p2, TGeoCombiTrans** ct = 0)
    Creates a cable segment between points p1 and p2.

  This creates simple tube sections, i.e. the cable ends are
 cutted perpendicularly to the tube axis. The method has to
 be used only in this simple case, in ordder to save some memory
TGeoVolume* CreateAndInsertTorusSegment(Int_t p2, Double_t rotation = 0, TGeoCombiTrans** ct = 0)
 Create a torus cable segment between points p1 and p2.
 The radius and position of the torus is defined by the
 perpendicular vector of point p2 (the orientation of this vector
 and the position of the 2 check points are enough to completely
 define the torus)
TGeoVolume * CreateSegment(const Double_t* coord1, const Double_t* coord2, Double_t* localVect1, Double_t* localVect2, Int_t p)
 Create a cylindrical segment and its layers. The tube section is cutted by
 two planes, defined by the normal vectors localVect1 and localVect2
TGeoVolume * CreateTubeSegment(const Double_t* coord1, const Double_t* coord2, Int_t p)
 Create a cylindrical segment and its layers
TGeoVolume * CreateTorus(const Double_t& phi, const Double_t& r, Int_t p)
 Create one torus segment and its layers
void SetNLayers(Int_t nLayers)
 Set the total number of layers
Int_t SetLayer(Int_t nLayer, Double_t thick, TGeoMedium* medium, Int_t color = 0)
 Set layer #nLayer
AliITSv11GeomCableRound(const char* name, Double_t radius)
virtual ~AliITSv11GeomCableRound()
{}
void SetPhi(Double_t phi1, Double_t phi2)
{fPhiMin=phi1; fPhiMax=phi2;}
AliITSv11GeomCableRound(const AliITSv11GeomCableRound& source)
AliITSv11GeomCableRound& operator=(const AliITSv11GeomCableRound& source)