]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSIntMapNode.cxx
Correct treatment of tracks with pT<pTmin
[u/mrichter/AliRoot.git] / ITS / AliITSIntMapNode.cxx
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
9 AliITSIntMapNode::AliITSIntMapNode():
10   fKey(0),
11   fVal(0),
12   fLeft(NULL),
13   fRight(NULL)
14 {}
15
16 AliITSIntMapNode::AliITSIntMapNode(Int_t key, Int_t val, AliITSIntMapNode* left, AliITSIntMapNode* right):
17   fKey(key),
18   fVal(val),
19   fLeft(left),
20   fRight(right)
21 {}
22
23 AliITSIntMapNode::AliITSIntMapNode(const AliITSIntMapNode& obj):
24   fKey(obj.fKey),
25   fVal(obj.fVal),
26   fLeft(obj.fLeft),
27   fRight(obj.fRight)
28 {
29   // copy constructor
30 }
31
32 AliITSIntMapNode::~AliITSIntMapNode() 
33 {}
34
35 AliITSIntMapNode& AliITSIntMapNode::operator=(const AliITSIntMapNode& obj) 
36 {
37   // assignment operator
38   if (this!=&obj) {
39     fKey = obj.fKey;
40     fVal = obj.fVal;
41     fLeft = obj.fLeft;
42     fRight = obj.fRight;
43   }
44   return *this;
45 }
46