]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/UPGRADE/v0/AliITSlayerUpgrade.h
Merge branch 'master' into dev
[u/mrichter/AliRoot.git] / ITS / UPGRADE / v0 / AliITSlayerUpgrade.h
CommitLineData
1d9af2d5 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>
1d9af2d5 8#include "AliITSRecoParam.h"
28798685 9
9e7c5dbf 10class AliITSRecPoint;
11
1d9af2d5 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]; }
2204e928 22 Int_t GetNumberOfClusters() const { return fN; }
1d9af2d5 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
1d9af2d5 28
4edc3c8c 29 AliITSRecPoint *fClusters[AliITSRecoParam::kMaxClusterPerLayer]; // pointers to clusters
1d9af2d5 30 Int_t fNsel; // numbers of selected clusters
4edc3c8c 31 Int_t fIndex[AliITSRecoParam::kMaxClusterPerLayer]; // indexes of selected clusters
1d9af2d5 32 Int_t fN; // number of clusters
33
34
35 ClassDef(AliITSlayerUpgrade,1);
36
37 };
38#endif