]>
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; | |
fb244524 | 32 | virtual void FlagHit(Int_t ix, Int_t iy); |
cc23c5c6 | 33 | virtual Bool_t ValidateHit(Int_t,Int_t) {return 1;} |
2da3485f | 34 | virtual FlagType TestHit(Int_t ix, Int_t iy); |
35 | private: | |
a2f7eaf6 | 36 | Int_t CheckedIndex(Int_t ix, Int_t iy) const; |
2da3485f | 37 | |
38 | private: | |
a2f7eaf6 | 39 | AliSegmentation *fSegmentation; //Segmentation model |
2da3485f | 40 | Int_t fNpx; //Pads in x |
41 | Int_t fNpy; //Pads in y | |
42 | Int_t *fHitMap; // ! | |
43 | Int_t fMaxIndex; //Index size | |
44 | ||
fb244524 | 45 | ClassDef(AliRICHTresholdMap,2) // Implements Treshold Map as a 2-dim array |
2da3485f | 46 | }; |
47 | #endif | |
48 | ||
49 | ||
50 | ||
51 | ||
52 |