1 #ifndef ALI_ITS_INTMAPNODE_H
2 #define ALI_ITS_INTMAPNODE_H
4 //////////////////////////////////////////////////////////////////////
5 // Author: Henrik Tydesjo //
6 // Class for the nodes to put in the integer map (AliITSIntMap) //
8 //////////////////////////////////////////////////////////////////////
12 class AliITSIntMapNode {
16 AliITSIntMapNode(Int_t key, Int_t val, AliITSIntMapNode* next);
17 AliITSIntMapNode(const AliITSIntMapNode& obj);
18 virtual ~AliITSIntMapNode();
19 AliITSIntMapNode& operator=(const AliITSIntMapNode& obj);
21 Int_t GetKey() const {return fKey;}
22 Int_t GetVal() const {return fVal;}
23 AliITSIntMapNode* GetNext() {return fNext;}
24 void SetKey(Int_t key) {fKey=key;}
25 void SetVal(Int_t val) {fVal=val;}
26 void SetNext(AliITSIntMapNode* obj) {fNext = obj;}
29 Int_t fKey; // key (for sorting)
31 AliITSIntMapNode* fNext; // pointer to next object in list