AliHitMap and AliSegmentation added
[u/mrichter/AliRoot.git] / MUON / AliMUONHitMap.h
CommitLineData
a9e2aefa 1#ifndef ALIMUONHITMAP_H
2#define ALIMUONHITMAP_H
3
3da30618 4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
a897a37a 8
a9e2aefa 9#include <TObject.h>
10
11typedef enum {kEmpty, kUsed, kUnused} FlagType;
a897a37a 12
13class AliMUONHitMap :
14public TObject {
15 public:
a9e2aefa 16 // Fill hits from list of digits into hit map
a897a37a 17 virtual void FillHits() =0;
a9e2aefa 18 // Clear the hit map
19 virtual void Clear() =0;
20 // Set a single hit
a897a37a 21 virtual void SetHit(Int_t ix, Int_t iy, Int_t idigit) =0;
a9e2aefa 22 // Delete a single hit
a897a37a 23 virtual void DeleteHit(Int_t ix, Int_t iy) =0;
a9e2aefa 24 // Get index of hit in the list of digits
a897a37a 25 virtual Int_t GetHitIndex(Int_t ix, Int_t iy) =0;
a9e2aefa 26 // Get pointer to digit
a897a37a 27 virtual TObject * GetHit(Int_t ix, Int_t iy) =0;
a9e2aefa 28 // Flag a hit as used
29 virtual void FlagHit(Int_t ix, Int_t iy) =0;
30 // Test hit status
31 virtual FlagType TestHit(Int_t ix, Int_t iy) =0;
a897a37a 32
33 ClassDef(AliMUONHitMap,1) //virtual base class for muon HitMap
34};
a897a37a 35#endif
36
37
a9e2aefa 38
39
40
41
42
43
44
45
46