]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSMap.h
Add tmevsin and mevsim libraries.
[u/mrichter/AliRoot.git] / ITS / AliITSMap.h
CommitLineData
b0f5e3fc 1#ifndef ALIITSMAP_H
2#define ALIITSMAP_H
3
4
e8189707 5#include <TObject.h>
b0f5e3fc 6
e8189707 7typedef enum {kEmpty, kUsed, kUnused} FlagType;
b0f5e3fc 8
9//___________________________________________________________________________
10
11class AliITSMap :
12 public TObject {
13
14public:
15 virtual ~AliITSMap() {}
e8189707 16 // Fill hits from list of digits into hit map
b0f5e3fc 17 virtual void FillMap() =0;
e8189707 18 // Clear the map
b0f5e3fc 19 virtual void ClearMap() =0;
e8189707 20 // Set a single hit
b0f5e3fc 21 virtual void SetHit(Int_t iz, Int_t ix, Int_t idigit) =0;
d059fc7b 22 // Set threshold for the signal
23 virtual void SetThreshold(Int_t) =0;
e8189707 24 // Delete a single hit
b0f5e3fc 25 virtual void DeleteHit(Int_t iz, Int_t ix) =0;
e8189707 26 // Flag a hit as used
27 virtual void FlagHit(Int_t iz, Int_t ix) =0;
28 // Get index of hit in the list of digits
b0f5e3fc 29 virtual Int_t GetHitIndex(Int_t iz, Int_t ix) =0;
e8189707 30 // Get pointer to digit
b0f5e3fc 31 virtual TObject * GetHit(Int_t iz, Int_t ix) =0;
e8189707 32 // Test hit status
33 virtual FlagType TestHit(Int_t iz, Int_t ix) =0;
34 // Get signal from map
b0f5e3fc 35 virtual Double_t GetSignal(Int_t iz, Int_t ix) =0;
36
37 ClassDef(AliITSMap,1) //virtual base class for ITS Hit/Digit Map
38
e8189707 39};
b0f5e3fc 40
41#endif
42
43
44
45