1 #ifndef ALIITSLAYERUPGRADE_H
2 #define ALIITSLAYERUPGRADE_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 #include "AliITStrackerMI.h"
9 #include "AliITSRecPoint.h"
10 #include "AliITSRecoParam.h"
11 class AliITSlayerUpgrade : public TObject {
15 AliITSlayerUpgrade(Double_t p, Double_t z);
16 virtual ~AliITSlayerUpgrade();
17 Int_t InsertCluster(AliITSRecPoint *c);
19 const AliITSRecPoint *GetNextCluster(Int_t &ci);
20 AliITSRecPoint *GetCluster(Int_t i) const { return fClusters[i]; }
21 Int_t GetNumberOfClusters() const { return fN; }
23 AliITSlayerUpgrade(const AliITSlayerUpgrade&);
24 AliITSlayerUpgrade &operator=(const AliITSlayerUpgrade &tr);
25 Double_t fPhiOffset; // offset of the first detector in Phi
26 Double_t fZOffset; // offset of the first detector in Z
28 AliITSRecPoint *fClusters[AliITSRecoParam::kMaxClusterPerLayer]; // pointers to clusters
29 Int_t fNsel; // numbers of selected clusters
30 Int_t fIndex[AliITSRecoParam::kMaxClusterPerLayer]; // indexes of selected clusters
31 Int_t fN; // number of clusters
34 ClassDef(AliITSlayerUpgrade,1);