]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ANALYSIS/AliClusterMap.h
Protection against special particle types.
[u/mrichter/AliRoot.git] / ANALYSIS / AliClusterMap.h
CommitLineData
a5556ea5 1#ifndef ALICLUSTERMAP_H
2#define ALICLUSTERMAP_H
0206ddfb 3
4///////////////////////////////////////////////////////////////////////////
a5556ea5 5//
6// class AliClusterMap
a5556ea5 7// class that describes cluster occupation at TPC
8// Each padraw has a corresponding bit in fPadRawMap
a5556ea5 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);}
201c7e13 31 void Print(const Option_t * opt) const {TObject::Print(opt);}
a5556ea5 32 void Print() const;
33 protected:
34 private:
35 TBits fPadRawMap;//bit vector of length 150 correspondind to total number of padraws in TPC
0206ddfb 36 static const Int_t fgkNPadRows; // Number of pad rows
a5556ea5 37 ClassDef(AliClusterMap,1)
38};
39
40#endif