reverting to prev.
[u/mrichter/AliRoot.git] / HBTAN / AliHBTClusterMap.h
CommitLineData
66d1d1a4 1#ifndef ALIHBTCLUSTERMAP_H
2#define ALIHBTCLUSTERMAP_H
3//_________________________________________________
4///////////////////////////////////////////////////
5//
6// class AliHBTClusterMap
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
21class AliTPCtrack;
22class AliESDtrack;
23class TBits;
24
25class AliHBTClusterMap: public TObject
26{
27 public:
28 AliHBTClusterMap();
29 AliHBTClusterMap(AliTPCtrack* track);
30 AliHBTClusterMap(AliESDtrack* track);
31 virtual ~AliHBTClusterMap(){}
32 Float_t GetOverlapFactor(const AliHBTClusterMap& 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(AliHBTClusterMap,1)
40};
41
42#endif