ROOT logo
AliRoot » TPC » BASE » AliTPCROC

class AliTPCROC: public TObject


Geometry        class for a single ROC



Function Members (Methods)

public:
AliTPCROC()
AliTPCROC(const AliTPCROC& roc)
virtual~AliTPCROC()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
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 TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
Float_tGetInnerAngle() const
Float_tGetInnerFrameSpace() const
Float_tGetInnerRadiusLow() const
Float_tGetInnerRadiusUp() const
Float_tGetInnerWireMount() const
virtual const char*TObject::GetName() const
UInt_tGetNChannels(UInt_t sector) const
UInt_tGetNInnerSector() const
UInt_tGetNOuterSector() const
UInt_tGetNPads(UInt_t sector, UInt_t row) const
UInt_tGetNRows(UInt_t sector) const
UInt_tGetNSector() const
UInt_tGetNSectors() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Float_tGetOuterAngle() const
Float_tGetOuterFrameSpace() const
Float_tGetOuterRadiusLow() const
Float_tGetOuterRadiusUp() const
Float_tGetOuterWireMount() const
Float_tGetPadRowRadii(UInt_t isec, UInt_t irow) const
Float_tGetPadRowRadiiLow(UInt_t irow) const
Float_tGetPadRowRadiiUp(UInt_t irow) const
voidGetPositionGlobal(UInt_t sector, UInt_t row, UInt_t pad, Float_t* pos)
voidGetPositionLocal(UInt_t sector, UInt_t row, UInt_t pad, Float_t* pos)
const UInt_t*GetRowIndexes(UInt_t sector) const
virtual const char*TObject::GetTitle() const
static UInt_tGetTPCUniqueID(UInt_t sector, UInt_t row, UInt_t pad)
virtual UInt_tTObject::GetUniqueID() const
Float_tGetZLength(Int_t sector) const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::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
voidInit()
virtual voidTObject::Inspect() constMENU
static AliTPCROC*Instance()
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_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::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)
AliTPCROC&operator=(const AliTPCROC& roc)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
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)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
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:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
voidSetGeometry()

Data Members

protected:
Float_tfInnerAngleangular coverage
UInt_tfInnerDummyWirenumber of wires without pad readout
Float_tfInnerFrameSpacespace for inner frame in the phi direction
Float_tfInnerOffWireoofset of first wire to the begining of the sector
Float_tfInnerPadLengthInner pad length
Float_tfInnerPadPitchLengthInner pad pitch length
Float_tfInnerPadPitchWidthInner pad pitch width
Float_tfInnerPadWidthInner pad width
Float_tfInnerRadiusLowlower radius of inner sector-IP
Float_tfInnerRadiusUpupper radius of inner sector-IP
Float_tfInnerWWPitchpitch between wires in inner sector - calculated
Float_tfInnerWireMountspace for wire mount, inner sector
Float_tfLastWireUp1position of the last wire in outer1 sector
UInt_tfNChannels[2]total number of pads - inner sector - outer sector
UInt_tfNInnerWiresPerPadNumber of wires per pad
UInt_tfNOuter1WiresPerPadNumber of wires per pad
UInt_tfNOuter2WiresPerPadNumber of wires per pad
UInt_t*fNPads[2]number of pads in row - inner - outer
UInt_tfNPadsLow[100]Lower sector, number of pads per row -calculated
UInt_tfNPadsUp[100]Upper sector, number of pads per row -calculated
UInt_tfNRowLownumber of pad rows per low sector -set
UInt_tfNRowUpnumber of pad rows per sector up -calculated
UInt_tfNRowUp1number of short pad rows per sector up -set
UInt_tfNRowUp2number of long pad rows per sector up -set
UInt_tfNRows[2]number of row - inner outer
UInt_tfNSectors[2]number of sectors - inner outer
UInt_tfNSectorsAllnumber of sectors
UInt_tfNtRowstotal number of rows in TPC -calculated
Float_tfOuter1PadLengthOuter pad length
Float_tfOuter1PadPitchLengthOuter pad pitch length
Float_tfOuter2PadLengthOuter pad length
Float_tfOuter2PadPitchLengthOuter pad pitch length
Float_tfOuterAngleangular coverage
UInt_tfOuterDummyWirenumber of wires without pad readout
Float_tfOuterFrameSpacespace for outer frame in the phi direction
Float_tfOuterOffWireoofset of first wire to the begining of the sector
Float_tfOuterPadPitchWidthOuter pad pitch width
Float_tfOuterPadWidthOuter pad width
Float_tfOuterRadiusLowlower radius of outer sector-IP
Float_tfOuterRadiusUpupper radius of outer sector-IP
Float_tfOuterWWPitchpitch between wires in outer sector -calculated
Float_tfOuterWireMountspace for wire mount, outer sector
Float_tfPadRowLow[100]Lower sector, pad row radii -calculated
Float_tfPadRowUp[100]Upper sector, pad row radii -calculated
Float_tfRInnerFirstWireposition of the first wire -calculated
Float_tfRInnerLastWireposition of the last wire -calculated
Float_tfROuterFirstWireposition of the first wire -calulated
Float_tfROuterLastWireposition of the last wire -calculated
UInt_t*fRowPosIndex[2]index array - inner - outer
Float_tfYInner[100]Inner sector, wire-length
Float_tfYOuter[100]Outer sector, wire-length
Float_tfZLengthlength of the drift region of the TPC
static AliTPCROC*fgInstance! Instance of this class (singleton implementation)

Class Charts

Inheritance Chart:
TObject
AliTPCROC

Function documentation

AliTPCROC* Instance()
 Singleton implementation
 Returns an instance of this class, it is created if neccessary

void Init()
 initialize static variables

void SetGeometry()
set ROC geometry parameters

AliTPCROC()
 Default constructor
AliTPCROC(const AliTPCROC& roc)
 AliTPCROC copy constructor

~AliTPCROC()
 AliTPCROC destructor

void GetPositionLocal(UInt_t sector, UInt_t row, UInt_t pad, Float_t* pos)
 get position of center of pad - ideal frame used

void GetPositionGlobal(UInt_t sector, UInt_t row, UInt_t pad, Float_t* pos)
 get position of center of pad - ideal frame used

UInt_t GetNSectors() const
    numbering
{ return fNSectorsAll;}
UInt_t GetNRows(UInt_t sector) const
{ return (sector<fNSectors[1]) ? fNRows[0]:fNRows[1];}
UInt_t GetNChannels(UInt_t sector) const
{ return (sector<fNSectors[1]) ? fNChannels[0]:fNChannels[1];}
UInt_t GetNPads(UInt_t sector, UInt_t row) const
const UInt_t * GetRowIndexes(UInt_t sector) const
get sector parameters

{return (sector<fNSectors[1]) ? fRowPosIndex[0]:fRowPosIndex[1];}
Float_t GetInnerRadiusLow() const
{return fInnerRadiusLow;}
Float_t GetInnerRadiusUp() const
{return fInnerRadiusUp;}
Float_t GetOuterRadiusLow() const
{return fOuterRadiusLow;}
Float_t GetOuterRadiusUp() const
{return fOuterRadiusUp;}
Float_t GetInnerFrameSpace() const
Float_t GetOuterFrameSpace() const
Float_t GetInnerWireMount() const
{return fInnerWireMount;}
Float_t GetOuterWireMount() const
{return fOuterWireMount;}
Float_t GetInnerAngle() const
{return fInnerAngle;}
Float_t GetOuterAngle() const
{return fOuterAngle;}
UInt_t GetNInnerSector() const
{return fNSectors[0];}
UInt_t GetNOuterSector() const
{return fNSectors[1];}
UInt_t GetNSector() const
{return fNSectorsAll;}
Float_t GetZLength(Int_t sector) const
 get pad row parameters

{return (sector<35) ? fZLength-0.275 : fZLength-0.302;}
Float_t GetPadRowRadiiLow(UInt_t irow) const
{return ( irow<fNRowLow ) ? fPadRowLow[irow]: 0;}
Float_t GetPadRowRadiiUp(UInt_t irow) const
{return ( irow<fNRowUp ) ? fPadRowUp[irow]: 0;}
Float_t GetPadRowRadii(UInt_t isec, UInt_t irow) const
UInt_t GetTPCUniqueID(UInt_t sector, UInt_t row, UInt_t pad)
{UInt_t uid=pad+row*140+sector*140*159; return uid; }