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