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 "AliITSRecoParam.h"
12 class AliITSlayerUpgrade : public TObject {
16 AliITSlayerUpgrade(Double_t p, Double_t z);
17 virtual ~AliITSlayerUpgrade();
18 Int_t InsertCluster(AliITSRecPoint *c);
20 const AliITSRecPoint *GetNextCluster(Int_t &ci);
21 AliITSRecPoint *GetCluster(Int_t i) const { return fClusters[i]; }
22 Int_t GetNumberOfClusters() const { return fN; }
24 AliITSlayerUpgrade(const AliITSlayerUpgrade&);
25 AliITSlayerUpgrade &operator=(const AliITSlayerUpgrade &tr);
26 Double_t fPhiOffset; // offset of the first detector in Phi
27 Double_t fZOffset; // offset of the first detector in Z
29 AliITSRecPoint *fClusters[AliITSRecoParam::kMaxClusterPerLayer]; // pointers to clusters
30 Int_t fNsel; // numbers of selected clusters
31 Int_t fIndex[AliITSRecoParam::kMaxClusterPerLayer]; // indexes of selected clusters
32 Int_t fN; // number of clusters
35 ClassDef(AliITSlayerUpgrade,1);