Removing unused Huffman compression tables
[u/mrichter/AliRoot.git] / ITS / AliITSMap.h
CommitLineData
b0f5e3fc 1#ifndef ALIITSMAP_H
2#define ALIITSMAP_H
766e3066 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5/* $Id$ */
6////////////////////////////////////////////////
7// Map Class for ITS. //
8////////////////////////////////////////////////
b0f5e3fc 9
e8189707 10#include <TObject.h>
b0f5e3fc 11
e8189707 12typedef enum {kEmpty, kUsed, kUnused} FlagType;
b0f5e3fc 13
14//___________________________________________________________________________
15
766e3066 16class AliITSMap : public TObject {
b0f5e3fc 17
766e3066 18 public:
19 virtual ~AliITSMap() {}
e8189707 20 // Fill hits from list of digits into hit map
766e3066 21 virtual void FillMap() =0;
e8189707 22 // Clear the map
766e3066 23 virtual void ClearMap() =0;
e8189707 24 // Set a single hit
766e3066 25 virtual void SetHit(Int_t iz, Int_t ix, Int_t idigit) =0;
d059fc7b 26 // Set threshold for the signal
766e3066 27 virtual void SetThreshold(Int_t) =0;
e8189707 28 // Delete a single hit
766e3066 29 virtual void DeleteHit(Int_t iz, Int_t ix) =0;
e8189707 30 // Flag a hit as used
766e3066 31 virtual void FlagHit(Int_t iz, Int_t ix) =0;
e8189707 32 // Get index of hit in the list of digits
fb4e90e0 33 virtual Int_t GetHitIndex(Int_t iz, Int_t ix) const =0;
e8189707 34 // Get pointer to digit
766e3066 35 virtual TObject * GetHit(Int_t iz, Int_t ix) =0;
e8189707 36 // Test hit status
766e3066 37 virtual FlagType TestHit(Int_t iz, Int_t ix) =0;
e8189707 38 // Get signal from map
766e3066 39 virtual Double_t GetSignal(Int_t iz, Int_t ix) =0;
40
41 ClassDef(AliITSMap,1) //virtual base class for ITS Hit/Digit Map
b0f5e3fc 42
e8189707 43};
b0f5e3fc 44
45#endif
46
47
48
49