1 /**************************************************************************
2 * Copyright(c) 2004-2006, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 //////////////////////////////////////////////////////////////////////
19 // Author:A.Mastroserio C.Terrevoli //
20 // annalisa.mastroserio@cern.ch //
21 // cristina.terrevoli@ba.infn.it //
23 // Implementation of the nodes to put in the cluster list //
25 //////////////////////////////////////////////////////////////////////
27 #include "AliITSUpgradeClusterListNode.h"
29 AliITSUpgradeClusterListNode::AliITSUpgradeClusterListNode():
40 for(Int_t i=0; i < 10; i++) fDigitLabel[i]=-2;
43 AliITSUpgradeClusterListNode::AliITSUpgradeClusterListNode(Float_t col, Float_t row, UShort_t size, UShort_t widthZ, UShort_t widthPhi, UShort_t type, UShort_t charge, AliITSUpgradeClusterListNode* next):
54 for(Int_t i=0; i < 10; i++) fDigitLabel[i]=-2;
58 AliITSUpgradeClusterListNode::AliITSUpgradeClusterListNode(const AliITSUpgradeClusterListNode& obj):
63 fWidthPhi(obj.fWidthPhi),
66 fLastDigitLabel(obj.fLastDigitLabel),
70 for(Int_t i=0; i> 1000; i++) fDigitLabel[i]=obj.fDigitLabel[i];
73 AliITSUpgradeClusterListNode::~AliITSUpgradeClusterListNode()
76 AliITSUpgradeClusterListNode& AliITSUpgradeClusterListNode::operator=(const AliITSUpgradeClusterListNode& obj)
78 // assignment operator
83 fWidthZ = obj.fWidthZ;
84 fWidthPhi = obj.fWidthPhi;
86 fCharge = obj.fCharge;