]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - RICH/AliRICHHitMapA1.h
General updates
[u/mrichter/AliRoot.git] / RICH / AliRICHHitMapA1.h
... / ...
CommitLineData
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 "AliHitMap.h"
10
11class TObjArray;
12class AliSegmentation;
13
14
15class AliRICHHitMapA1 :
16public AliHitMap
17{
18
19 public:
20 AliRICHHitMapA1();
21 AliRICHHitMapA1(AliSegmentation *seg, TObjArray *dig);
22 virtual ~AliRICHHitMapA1();
23 virtual void FillHits();
24 virtual void Clear(const char *opt = "");
25 virtual void SetHit(Int_t ix, Int_t iy, Int_t idigit);
26 virtual void DeleteHit(Int_t ix, Int_t iy);
27 virtual Int_t GetHitIndex(Int_t ix, Int_t iy) const;
28 virtual TObject* GetHit(Int_t ix, Int_t iy) const;
29 virtual void FlagHit(Int_t ix, Int_t iy);
30 virtual FlagType TestHit(Int_t ix, Int_t iy);
31 private:
32 Int_t CheckedIndex(Int_t ix, Int_t iy) const;
33
34 private:
35 AliSegmentation *fSegmentation; //Segmentation model
36 Int_t fNpx; //Pads in x
37 Int_t fNpy; //Pads in y
38 TObjArray *fDigits; //List of digits
39 Int_t fNdigits; //Number of digits
40 Int_t *fHitMap; // !
41 Int_t fMaxIndex; //Index size
42
43 ClassDef(AliRICHHitMapA1,1) // Implements HitMap as a 2-dim array
44};
45#endif
46
47
48
49
50