]>
Commit | Line | Data |
---|---|---|
2da3485f | 1 | #ifndef ALIRICHTRESHOLDMAP_H |
2 | #define ALIRICHTRESHOLDMAP_H | |
3 | ||
4 | ||
5 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
6 | * See cxx source for full Copyright notice */ | |
7 | ||
8 | /* | |
9 | $Id$ | |
10 | */ | |
11 | ||
a2f7eaf6 | 12 | #include "AliHitMap.h" |
2da3485f | 13 | |
14 | class TObjArray; | |
a2f7eaf6 | 15 | class AliSegmentation; |
2da3485f | 16 | |
17 | ||
a2f7eaf6 | 18 | class AliRICHTresholdMap : public AliHitMap |
2da3485f | 19 | { |
20 | ||
21 | public: | |
22 | ||
a2f7eaf6 | 23 | AliRICHTresholdMap(AliSegmentation *seg); |
2ab0c725 | 24 | AliRICHTresholdMap() {fSegmentation = 0; fHitMap=0;} |
2da3485f | 25 | virtual ~AliRICHTresholdMap(); |
26 | virtual void FillHits(); | |
a2f7eaf6 | 27 | virtual void Clear(const char *opt = ""); |
2da3485f | 28 | virtual void SetHit(Int_t ix, Int_t iy, Int_t idigit); |
29 | virtual void DeleteHit(Int_t ix, Int_t iy); | |
a2f7eaf6 | 30 | virtual Int_t GetHitIndex(Int_t ix, Int_t iy) const; |
31 | virtual TObject* GetHit(Int_t ix, Int_t iy) const; | |
2da3485f | 32 | virtual void FlagHit(Int_t ix, Int_t iy); |
33 | virtual FlagType TestHit(Int_t ix, Int_t iy); | |
34 | private: | |
a2f7eaf6 | 35 | Int_t CheckedIndex(Int_t ix, Int_t iy) const; |
2da3485f | 36 | |
37 | private: | |
a2f7eaf6 | 38 | AliSegmentation *fSegmentation; //Segmentation model |
2da3485f | 39 | Int_t fNpx; //Pads in x |
40 | Int_t fNpy; //Pads in y | |
41 | Int_t *fHitMap; // ! | |
42 | Int_t fMaxIndex; //Index size | |
43 | ||
44 | ClassDef(AliRICHTresholdMap,1) // Implements Treshold Map as a 2-dim array | |
45 | }; | |
46 | #endif | |
47 | ||
48 | ||
49 | ||
50 | ||
51 |