]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSMap.h
Using a conservative 3% estimate for the K0s signal extraction systematics. Using...
[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>
f45f6658 11#include <TArrayI.h>
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;
f45f6658 22 virtual void FillMap2() =0;
e8189707 23 // Clear the map
766e3066 24 virtual void ClearMap() =0;
e8189707 25 // Set a single hit
766e3066 26 virtual void SetHit(Int_t iz, Int_t ix, Int_t idigit) =0;
d059fc7b 27 // Set threshold for the signal
766e3066 28 virtual void SetThreshold(Int_t) =0;
f45f6658 29 virtual void SetThresholdArr(TArrayI) =0;
e8189707 30 // Delete a single hit
766e3066 31 virtual void DeleteHit(Int_t iz, Int_t ix) =0;
e8189707 32 // Flag a hit as used
766e3066 33 virtual void FlagHit(Int_t iz, Int_t ix) =0;
e8189707 34 // Get index of hit in the list of digits
fb4e90e0 35 virtual Int_t GetHitIndex(Int_t iz, Int_t ix) const =0;
e8189707 36 // Get pointer to digit
590d15ee 37 virtual TObject * GetHit(Int_t iz, Int_t ix) const =0;
e8189707 38 // Test hit status
766e3066 39 virtual FlagType TestHit(Int_t iz, Int_t ix) =0;
e8189707 40 // Get signal from map
590d15ee 41 virtual Double_t GetSignal(Int_t iz, Int_t ix) const =0;
766e3066 42
43 ClassDef(AliITSMap,1) //virtual base class for ITS Hit/Digit Map
b0f5e3fc 44
e8189707 45};
b0f5e3fc 46
47#endif
48
49
50
51