ROOT logo
AliRoot » TPC » BASE » AliSegmentArray

class AliSegmentArray: public TNamed


Alice segment manager object


Function Members (Methods)

public:
AliSegmentArray()
AliSegmentArray(const char* classname, Int_t n)
virtual~AliSegmentArray()
voidTObject::AbstractMethod(const char* method) const
Bool_tAddSegment(AliSegmentID* segment)
AliSegmentID*AddSegment(Int_t index)
virtual voidTObject::AppendPad(Option_t* option = "")
const AliSegmentID*At(Int_t i)
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
voidClearSegment(Int_t index)
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual Bool_tConnectTree(const char* treeName)
virtual Bool_tConnectTree(TTree* tree)
virtual voidTNamed::Copy(TObject& named) 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 voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
TClass*GetClass()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TNamed::GetTitle() const
TTree*GetTree()
virtual UInt_tTObject::GetUniqueID() 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 AliSegmentID*LoadEntry(Int_t index)
virtual AliSegmentID*LoadSegment(Int_t index)
virtual voidTNamed::ls(Option_t* option = "") const
Bool_tMakeArray(Int_t n)
Bool_tMakeDictionary(Int_t size)
virtual voidMakeTree(char* file = 0)
virtual voidMakeTree(TTree* tree)
voidTObject::MayNotUse(const char* method) const
virtual AliSegmentID*NewSegment()
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)
const AliSegmentID*operator[](Int_t i)
virtual voidTObject::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)
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)
Bool_tSetClass(const char* classname)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
virtual voidStoreSegment(Int_t index)
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:
AliSegmentArray(const AliSegmentArray& segment)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
AliSegmentArray&operator=(const AliSegmentArray& segment)

Data Members

protected:
TBranch*fBranch!total branch
Int_tfNSegmentnumber of alocated segments
TStringTNamed::fNameobject identifier
TObjArray*fSegment!pointer to array of pointers to segment
TStringTNamed::fTitleobject title
TTree*fTree!tree with segment objects
TArrayI*fTreeIndex!pointers(index) table in tree
Bool_tfTreeOwnerflag determing the ownership of the fTree
private:
TClass*fClass!class type of included objects

Class Charts

Inheritance Chart:
TNamed
AliSegmentArray
AliDigitsArray
AliTPCDigitsArray

Function documentation

AliSegmentArray()
 constructor

AliSegmentArray(const char* classname, Int_t n)
constructor which

  Create an array of objects of classname. The class must inherit from
  AliSegmentID .  The second argument adjust number of entries in
  the array.
AliSegmentArray(const AliSegmentArray& segment)
copy constructor
 to be later implemented
~AliSegmentArray()
 default destructor
Bool_t SetClass(const char* classname)
set class of stored object
AliSegmentID * NewSegment()
create object according class information
Bool_t AddSegment(AliSegmentID* segment)
 add segment to array

AliSegmentID * AddSegment(Int_t index)
 add segment to array

void ClearSegment(Int_t index)
remove segment from active memory

PH  if ((*fSegment)[index]){
Bool_t MakeArray(Int_t n)
make array of pointers to Segments

void MakeTree(TTree* tree)
Make tree with the name
void MakeTree(char* file = 0)
  AliSegmentID  segment;
Bool_t MakeDictionary(Int_t size)
create index table for tree

Bool_t ConnectTree(TTree* tree)
Bool_t ConnectTree(const char* treeName)
connect tree from current directory
AliSegmentID * LoadSegment(Int_t index)
load segment with index to the memory


AliSegmentID * LoadEntry(Int_t index)
load segment at position inex in tree  to the memory


void StoreSegment(Int_t index)
make segment persistent

void Streamer(TBuffer& )
const AliSegmentID* operator[](Int_t i)
return segment with given index

const AliSegmentID* At(Int_t i)
return segment with given index

TTree * GetTree()
input output functions
{return fTree;}
TClass * GetClass()
{return fClass;}