Dummy copy constructor added
[u/mrichter/AliRoot.git] / RICH / AliRICHHitMap.h
CommitLineData
ddae0931 1#ifndef AliRICHHitMap_H
2#define AliRICHHitMap_H
0279872e 3
4
3da30618 5/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * See cxx source for full Copyright notice */
7
8/* $Id$ */
ddae0931 9
0279872e 10
ddae0931 11#include "AliRICH.h"
12#include "TArrayI.h"
13typedef enum {empty, used, unused} Flag_t;
14const Int_t kMaxNpadx=1200, kMaxNpady=1200;
15
16class AliRICHHitMap :
17public TObject {
18 public:
19 virtual void FillHits() =0;
0279872e 20 virtual void Clear() =0;
ddae0931 21 virtual void SetHit(Int_t ix, Int_t iy, Int_t idigit) =0;
22 virtual void DeleteHit(Int_t ix, Int_t iy) =0;
23 virtual Int_t GetHitIndex(Int_t ix, Int_t iy) =0;
24 virtual TObject * GetHit(Int_t ix, Int_t iy) =0;
25 virtual void FlagHit(Int_t ix, Int_t iy) =0;
26 virtual Flag_t TestHit(Int_t ix, Int_t iy) =0;
27
28 ClassDef(AliRICHHitMap,1) //virtual base class for muon HitMap
29};
30
31class AliRICHHitMapA1 :
32public AliRICHHitMap
33{
34 private:
0279872e 35 AliRICHSegmentation *fSegmentation;
ddae0931 36 Int_t fNpx;
37 Int_t fNpy;
38 TObjArray *fDigits;
39 Int_t fNdigits;
c90dd3e2 40 Int_t *fHitMap; //!
ddae0931 41 Int_t fMaxIndex;
42
43 public:
0279872e 44 AliRICHHitMapA1(AliRICHSegmentation *seg, TObjArray *dig);
ddae0931 45 virtual ~AliRICHHitMapA1();
46 virtual void FillHits();
0279872e 47 virtual void Clear();
ddae0931 48 virtual void SetHit(Int_t ix, Int_t iy, Int_t idigit);
49 virtual void DeleteHit(Int_t ix, Int_t iy);
50 virtual Int_t GetHitIndex(Int_t ix, Int_t iy);
51 virtual TObject* GetHit(Int_t ix, Int_t);
52 virtual void FlagHit(Int_t ix, Int_t iy);
53 virtual Flag_t TestHit(Int_t ix, Int_t iy);
54 private:
55 Int_t CheckedIndex(Int_t ix, Int_t iy);
56 ClassDef(AliRICHHitMapA1,1) // Implements HitMap as a 2-dim array
57};
58#endif
59
60