1 #ifndef ALIRICHTRESHOLDMAP_H
2 #define ALIRICHTRESHOLDMAP_H
5 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * See cxx source for full Copyright notice */
12 #include "AliHitMap.h"
15 class AliSegmentation;
18 class AliRICHTresholdMap : public AliHitMap
23 AliRICHTresholdMap(AliSegmentation *seg);
24 AliRICHTresholdMap() {fSegmentation = 0; fHitMap=0;}
25 virtual ~AliRICHTresholdMap();
26 virtual void FillHits();
27 virtual void Clear(const char *opt = "");
28 virtual void SetHit(Int_t ix, Int_t iy, Int_t idigit);
29 virtual void DeleteHit(Int_t ix, Int_t iy);
30 virtual Int_t GetHitIndex(Int_t ix, Int_t iy) const;
31 virtual TObject* GetHit(Int_t ix, Int_t iy) const;
32 virtual void FlagHit(Int_t ix, Int_t iy);
33 virtual FlagType TestHit(Int_t ix, Int_t iy);
35 Int_t CheckedIndex(Int_t ix, Int_t iy) const;
38 AliSegmentation *fSegmentation; //Segmentation model
39 Int_t fNpx; //Pads in x
40 Int_t fNpy; //Pads in y
42 Int_t fMaxIndex; //Index size
44 ClassDef(AliRICHTresholdMap,1) // Implements Treshold Map as a 2-dim array