Pass size of fNdch and fNrawch to CINT.
[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$ */
a2f7eaf6 9#include "AliHitMap.h"
237c933d 10
11class TObjArray;
a2f7eaf6 12class AliSegmentation;
237c933d 13
14
15class AliRICHHitMapA1 :
a2f7eaf6 16public AliHitMap
237c933d 17{
18
19 public:
a2f7eaf6 20 AliRICHHitMapA1(AliSegmentation *seg, TObjArray *dig);
237c933d 21 virtual ~AliRICHHitMapA1();
22 virtual void FillHits();
a2f7eaf6 23 virtual void Clear(const char *opt = "");
237c933d 24 virtual void SetHit(Int_t ix, Int_t iy, Int_t idigit);
25 virtual void DeleteHit(Int_t ix, Int_t iy);
a2f7eaf6 26 virtual Int_t GetHitIndex(Int_t ix, Int_t iy) const;
27 virtual TObject* GetHit(Int_t ix, Int_t iy) const;
237c933d 28 virtual void FlagHit(Int_t ix, Int_t iy);
29 virtual FlagType TestHit(Int_t ix, Int_t iy);
30 private:
a2f7eaf6 31 Int_t CheckedIndex(Int_t ix, Int_t iy) const;
237c933d 32
33 private:
a2f7eaf6 34 AliSegmentation *fSegmentation; //Segmentation model
237c933d 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