]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ANALYSIS/AliClusterMap.h
AliAOD and AODParticle (T.Kuhr) - Readers, AODStdParticle and Cuts (P.Skowronski...
[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;
35   protected:
36   private:
37    TBits    fPadRawMap;//bit vector of length 150 correspondind to total number of padraws in TPC
38    static const Int_t fNPadRows;
39    ClassDef(AliClusterMap,1)
40 };
41
42 #endif