- fixing warnings/coverity
[u/mrichter/AliRoot.git] / ITS / AliITSclusterTable.cxx
CommitLineData
13918578 1/**************************************************************************
2 * Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
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 **************************************************************************/
15
16//////////////////////////////////////////////////////////////////////////
17// Class used to simplify some operations with clusters. //
18// -Function FillArray fills an array wich contains, for each //
19// ITS module, an array with the indices of all the clusters detected //
20// by the module. The indices correspond to the cluster indices in class//
21// AliITSlayer of AliITStrackerV2. //
22// This function is used in AliITStrackerSA::FindTracks. //
23// -Function FillArrayLabel fills an array wich contains, for each //
24// particle label, and for each layer, the information on clusters: //
25// 0 if there is no cluster, 1 if there is a cluster with this label. //
bef31448 26// This function is used to define trackable tracks. //
27// -Function FillArrayCoorAngles fills arrays wich contains, for each //
28// layer, the global coordinates, errors on x,y,z and angles lambda //
29// and phi for each cluster //
13918578 30///////////////////////////////////////////////////////////////////////////
31
32
aa4b78e1 33#include <stdlib.h>
13918578 34#include "AliITSclusterTable.h"
13918578 35ClassImp(AliITSclusterTable)
13918578 36
37//_______________________________________________________________
e399f961 38AliITSclusterTable::AliITSclusterTable():TObject(),
39fOrInd(0),
40fX(0),
41fY(0),
42fZ(0),
43fSx(0),
44fSy(0),
45fSz(0),
46fPhi(0),
47fLam(0){
7e5bf5af 48 //Default constructor
e399f961 49
13918578 50}
13918578 51//_______________________________________________________________
e399f961 52AliITSclusterTable::AliITSclusterTable(Float_t x, Float_t y, Float_t z, Float_t sx, Float_t sy, Float_t sz, Double_t phi, Double_t lambda, Int_t index):
53fOrInd(index),
54fX(x),
55fY(y),
56fZ(z),
57fSx(sx),
58fSy(sy),
59fSz(sz),
60fPhi(phi),
61fLam(lambda){
7e5bf5af 62 //Default constructor
e399f961 63
13918578 64}
bef31448 65
bef31448 66