Update to the ITS materials, delta rays now on
[u/mrichter/AliRoot.git] / RICH / AliRICHHitMapA1.h
CommitLineData
237c933d 1#ifndef ALIRICHHITMAPA1_H
2#define ALIRICHHITMAPA1_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/* $Id$ */
9#include "AliRICHHitMap.h"
10
11class TObjArray;
12class AliRICHSegmentation;
13
14
15class AliRICHHitMapA1 :
16public AliRICHHitMap
17{
18
19 public:
20 AliRICHHitMapA1(AliRICHSegmentation *seg, TObjArray *dig);
21 virtual ~AliRICHHitMapA1();
22 virtual void FillHits();
23 virtual void Clear();
24 virtual void SetHit(Int_t ix, Int_t iy, Int_t idigit);
25 virtual void DeleteHit(Int_t ix, Int_t iy);
26 virtual Int_t GetHitIndex(Int_t ix, Int_t iy);
27 virtual TObject* GetHit(Int_t ix, Int_t iy);
28 virtual void FlagHit(Int_t ix, Int_t iy);
29 virtual FlagType TestHit(Int_t ix, Int_t iy);
30 private:
31 Int_t CheckedIndex(Int_t ix, Int_t iy);
32
33 private:
34 AliRICHSegmentation *fSegmentation; //Segmentation model
35 Int_t fNpx; //Pads in x
36 Int_t fNpy; //Pads in y
37 TObjArray *fDigits; //List of digits
38 Int_t fNdigits; //Number of digits
39 Int_t *fHitMap; // !
40 Int_t fMaxIndex; //Index size
41
42 ClassDef(AliRICHHitMapA1,1) // Implements HitMap as a 2-dim array
43};
44#endif
45
46
47
48
49