]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RICH/AliRICHHitMapA1.h
No longer needed as all deals with the old IO as well as old digit-cluster structure
[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:
59e2916d 20 AliRICHHitMapA1();
a2f7eaf6 21 AliRICHHitMapA1(AliSegmentation *seg, TObjArray *dig);
237c933d 22 virtual ~AliRICHHitMapA1();
23 virtual void FillHits();
a2f7eaf6 24 virtual void Clear(const char *opt = "");
237c933d 25 virtual void SetHit(Int_t ix, Int_t iy, Int_t idigit);
26 virtual void DeleteHit(Int_t ix, Int_t iy);
a2f7eaf6 27 virtual Int_t GetHitIndex(Int_t ix, Int_t iy) const;
28 virtual TObject* GetHit(Int_t ix, Int_t iy) const;
fb244524 29 virtual void FlagHit(Int_t ix, Int_t iy);
cc23c5c6 30 virtual Bool_t ValidateHit(Int_t, Int_t) {return 1;}
237c933d 31 virtual FlagType TestHit(Int_t ix, Int_t iy);
32 private:
a2f7eaf6 33 Int_t CheckedIndex(Int_t ix, Int_t iy) const;
237c933d 34
35 private:
a2f7eaf6 36 AliSegmentation *fSegmentation; //Segmentation model
237c933d 37 Int_t fNpx; //Pads in x
38 Int_t fNpy; //Pads in y
39 TObjArray *fDigits; //List of digits
40 Int_t fNdigits; //Number of digits
41 Int_t *fHitMap; // !
42 Int_t fMaxIndex; //Index size
43
fb244524 44 ClassDef(AliRICHHitMapA1,2) // Implements HitMap as a 2-dim array
237c933d 45};
46#endif
47
48
49
50
51