]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ANALYSIS/AliClusterMap.h
Correcting sources of warnings
[u/mrichter/AliRoot.git] / ANALYSIS / AliClusterMap.h
1 #ifndef ALICLUSTERMAP_H
2 #define ALICLUSTERMAP_H
3 //_________________________________________________
4 ///////////////////////////////////////////////////
5 //
6 // class AliClusterMap
7 //
8 // class that describes cluster occupation at TPC
9 // Each padraw has a corresponding bit in fPadRawMap
10 // 
11 //
12 // more info: http://aliweb.cern.ch/people/skowron/analyzer/index.html
13 // Piotr.Skowronski@cern.ch
14 //
15 ///////////////////////////////////////////////////////////////////////////
16
17
18 #include <TObject.h>
19 #include <TBits.h>
20
21 class AliTPCtrack;
22 class AliESDtrack;
23 class TBits;
24
25 class AliClusterMap: public TObject
26 {
27   public:
28    AliClusterMap();
29    AliClusterMap(AliTPCtrack* track);
30    AliClusterMap(AliESDtrack* track);
31    virtual ~AliClusterMap(){}
32    Float_t GetOverlapFactor(const AliClusterMap& clmap) const;
33    Bool_t  HasClAtPadRow(Int_t i) const { return fPadRawMap.TestBitNumber(i);}
34    void    Print(const Option_t * opt) const {TObject::Print(opt);}
35    void    Print() const;
36   protected:
37   private:
38    TBits    fPadRawMap;//bit vector of length 150 correspondind to total number of padraws in TPC
39    static const Int_t fNPadRows;
40    ClassDef(AliClusterMap,1)
41 };
42
43 #endif