1 /**************************************************************************
2 * Copyright(c) 1998-1999, 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 #include <Riostream.h>
20 #include <AliITSlayerUpgrade.h>
21 #include <AliITStrackerMI.h>
23 AliITSlayerUpgrade::AliITSlayerUpgrade():
28 { //--------------------------------------------------------------------
29 //default AliITSlayerUpgrade constructor
30 //--------------------------------------------------------------------
31 for (Int_t i=0; i<AliITSRecoParam::kMaxClusterPerLayer; i++) {
36 //___________________________________________________________________________
37 AliITSlayerUpgrade::AliITSlayerUpgrade(Double_t p,Double_t z):
43 //--------------------------------------------------------------------
44 //main AliITSlayerUpgrade constructor
45 //--------------------------------------------------------------------
47 for (Int_t i=0; i<AliITSRecoParam::kMaxClusterPerLayer; i++) {
54 AliITSlayerUpgrade::~AliITSlayerUpgrade() {
55 //--------------------------------------------------------------------
56 // AliITSlayerUpgrade destructor
57 //--------------------------------------------------------------------
61 void AliITSlayerUpgrade::ResetClusters() {
62 //--------------------------------------------------------------------
63 // This function removes loaded clusters
64 //--------------------------------------------------------------------
66 for (Int_t i=0; i<fN; i++) {
77 Int_t AliITSlayerUpgrade::InsertCluster(AliITSRecPoint *c) {
78 //--------------------------------------------------------------------
79 // This function inserts a cluster to this layer in increasing
80 // order of the cluster's fZ
81 //--------------------------------------------------------------------
87 //-----------------------------------------------------------------------
88 const AliITSRecPoint *AliITSlayerUpgrade::GetNextCluster(Int_t &ci){
89 //--------------------------------------------------------------------
90 // This function returns clusters within the "window"
91 //--------------------------------------------------------------------