]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSIntMapNode.cxx
Fixing the decoding of regional header bits.
[u/mrichter/AliRoot.git] / ITS / AliITSIntMapNode.cxx
CommitLineData
b15de2d2 1//////////////////////////////////////////////////////////////////////
2// Author: Henrik Tydesjo //
3// Implementation of the nodes to put in the integer map //
4// (AliITSIntMap). //
5//////////////////////////////////////////////////////////////////////
6
7#include "AliITSIntMapNode.h"
8
9AliITSIntMapNode::AliITSIntMapNode():
10 fKey(0),
11 fVal(0),
53ae21ce 12 fLeft(NULL),
13 fRight(NULL)
b15de2d2 14{}
15
53ae21ce 16AliITSIntMapNode::AliITSIntMapNode(Int_t key, Int_t val, AliITSIntMapNode* left, AliITSIntMapNode* right):
b15de2d2 17 fKey(key),
18 fVal(val),
53ae21ce 19 fLeft(left),
20 fRight(right)
b15de2d2 21{}
22
23AliITSIntMapNode::AliITSIntMapNode(const AliITSIntMapNode& obj):
24 fKey(obj.fKey),
25 fVal(obj.fVal),
53ae21ce 26 fLeft(obj.fLeft),
27 fRight(obj.fRight)
b15de2d2 28{
29 // copy constructor
30}
31
32AliITSIntMapNode::~AliITSIntMapNode()
33{}
34
35AliITSIntMapNode& AliITSIntMapNode::operator=(const AliITSIntMapNode& obj)
36{
37 // assignment operator
38 if (this!=&obj) {
39 fKey = obj.fKey;
40 fVal = obj.fVal;
53ae21ce 41 fLeft = obj.fLeft;
42 fRight = obj.fRight;
b15de2d2 43 }
44 return *this;
45}
46