]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSOnlineSPDHitArray.h
remove obselete clean QA macros command
[u/mrichter/AliRoot.git] / ITS / AliITSOnlineSPDHitArray.h
1 #ifndef ALI_ITS_ONLINESPDHITARRAY_H
2 #define ALI_ITS_ONLINESPDHITARRAY_H
3
4 /////////////////////////////////////////////////////////////////
5 // Author: Henrik Tydesjo                                      //
6 // This class is used as a container online.                   //
7 // One object for each half stave and step in a scan. It keeps //
8 // the nr of hits in each pixel.                               //
9 // This class should only be used through the interface of the //
10 // AliITSOnlineSPDscan and AliITSOnlineSPDphys classes.        //
11 /////////////////////////////////////////////////////////////////
12
13 #include <TObject.h>
14
15 class AliITSOnlineSPDHitArray : public TObject {
16  public:
17   AliITSOnlineSPDHitArray();
18   virtual ~AliITSOnlineSPDHitArray(){}
19   void   IncrementHits(UInt_t chip, UInt_t col, UInt_t row);
20   void   SetHits(UInt_t chip, UInt_t col, UInt_t row, UInt_t hits);
21   UInt_t GetHits(UInt_t chip, UInt_t col, UInt_t row) const;
22   AliITSOnlineSPDHitArray* CloneThis() const;
23
24  private:
25   UInt_t fHits[81920]; // nr of hits for each pixel of this half stave
26   UInt_t GetKey(UInt_t chip, UInt_t col, UInt_t row) const;
27   ClassDef(AliITSOnlineSPDHitArray,1)
28     };
29
30     
31 #endif