]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSIntMapNode.h
Error messages stored in the global raw-reader error log (Cvetan, Chiara)
[u/mrichter/AliRoot.git] / ITS / AliITSIntMapNode.h
1 #ifndef ALI_ITS_INTMAPNODE_H
2 #define ALI_ITS_INTMAPNODE_H
3
4 //////////////////////////////////////////////////////////////////////
5 // Author: Henrik Tydesjo                                           //
6 // Class for the nodes to put in the integer map (AliITSIntMap)     //
7 //                                                                  //
8 //////////////////////////////////////////////////////////////////////  
9
10 #include <Rtypes.h>
11
12 class AliITSIntMapNode {
13
14  public:
15   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);
20
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;}
27
28  private:
29   Int_t fKey;               // key (for sorting)
30   Int_t fVal;               // value
31   AliITSIntMapNode* fNext;  // pointer to next object in list
32
33 };
34
35 #endif