]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/UPGRADE/AliITSlayerUpgrade.h
cleanup
[u/mrichter/AliRoot.git] / ITS / UPGRADE / AliITSlayerUpgrade.h
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                               */
5
6 /* $Id$ */
7 #include <TObject.h>
8 #include "AliITSRecoParam.h"
9
10 class AliITSRecPoint;
11
12  class AliITSlayerUpgrade : public TObject {
13
14   public:
15     AliITSlayerUpgrade();
16     AliITSlayerUpgrade(Double_t p, Double_t z);
17     virtual ~AliITSlayerUpgrade();
18     Int_t InsertCluster(AliITSRecPoint *c);
19     void ResetClusters();
20     const AliITSRecPoint *GetNextCluster(Int_t &ci);
21     AliITSRecPoint *GetCluster(Int_t i) const { return fClusters[i]; }
22     Int_t GetNumberOfClusters() const { return fN; }
23   protected:
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
28
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
33
34
35    ClassDef(AliITSlayerUpgrade,1);   
36
37   };
38 #endif