ROOT logo
AliRoot » ITS » AliITSIntMapNode

class AliITSIntMapNode

Author: Henrik Tydesjo
Implementation of the nodes to put in the integer map
(AliITSIntMap).

Function Members (Methods)

Data Members

private:
Int_tfKeykey (for sorting)
AliITSIntMapNode*fLeftpointer to left object in bin tree
AliITSIntMapNode*fRightpointer to right object in bin tree
Int_tfValvalue

Class Charts

Inheritance Chart:
AliITSIntMapNode

Function documentation

AliITSIntMapNode()
{}
AliITSIntMapNode(Int_t key, Int_t val, AliITSIntMapNode* left, AliITSIntMapNode* right)
{}
AliITSIntMapNode(const AliITSIntMapNode& obj)
 copy constructor
~AliITSIntMapNode()
{}
AliITSIntMapNode& operator=(const AliITSIntMapNode& obj)
 assignment operator
Int_t Key() const
{return fKey;}
Int_t Val() const
{return fVal;}
AliITSIntMapNode*& Left()
{return fLeft;}
AliITSIntMapNode*& Right()
{return fRight;}
void SetKey(Int_t key)
{fKey=key;}
void SetVal(Int_t val)
{fVal=val;}
void SetLeft(AliITSIntMapNode* obj)
{fLeft = obj;}
void SetRight(AliITSIntMapNode* obj)
{fRight = obj;}