]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/UPGRADE/AliITSlayerUpgrade.h
restore threshold getters after parameter dynamics update (fw v. >= A012)
[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 "AliITStrackerMI.h"
9 #include "AliITSRecPoint.h"
10 #include "AliITSRecoParam.h"
11  class AliITSlayerUpgrade : public TObject {
12
13   public:
14     AliITSlayerUpgrade();
15     AliITSlayerUpgrade(Double_t p, Double_t z);
16     virtual ~AliITSlayerUpgrade();
17     Int_t InsertCluster(AliITSRecPoint *c);
18     void ResetClusters();
19     const AliITSRecPoint *GetNextCluster(Int_t &ci);
20     AliITSRecPoint *GetCluster(Int_t i) const { return fClusters[i]; }
21     Int_t GetNumberOfClusters() const { return fN; }
22   protected:
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
27
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
32
33
34    ClassDef(AliITSlayerUpgrade,1);   
35
36   };
37 #endif