add NaN trap to linux version
[u/mrichter/AliRoot.git] / RICH / AliRICHTresholdMap.h
CommitLineData
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
12#include "AliRICHHitMap.h"
13
14class TObjArray;
15class AliRICHSegmentation;
16
17
18class AliRICHTresholdMap : public AliRICHHitMap
19{
20
21 public:
22
23 AliRICHTresholdMap(AliRICHSegmentation *seg);
24 //AliRICHTresholdMap() {}
25 virtual ~AliRICHTresholdMap();
26 virtual void FillHits();
27 virtual void Clear();
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);
31 virtual TObject* GetHit(Int_t ix, Int_t iy);
32 virtual void FlagHit(Int_t ix, Int_t iy);
33 virtual FlagType TestHit(Int_t ix, Int_t iy);
34 private:
35 Int_t CheckedIndex(Int_t ix, Int_t iy);
36
37 private:
38 AliRICHSegmentation *fSegmentation; //Segmentation model
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