]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - ANALYSIS/AliClusterMap.h
Compilation on Windows/Cygwin
[u/mrichter/AliRoot.git] / ANALYSIS / AliClusterMap.h
... / ...
CommitLineData
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
18class AliTPCtrack;
19class AliESDtrack;
20class TBits;
21
22class 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