]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCclusterInfo.h
Using AliGeomManager in the macros (Raffaele)
[u/mrichter/AliRoot.git] / TPC / AliTPCclusterInfo.h
1 #ifndef ALITPCCLUSTERINFO_H
2 #define ALITPCCLUSTERINFO_H
3
4 //-------------------------------------------------------
5 //                    TPC Cluster Class
6 //   Information for debugging puposes
7 //   Origin: Marian Ivanov
8 //-------------------------------------------------------
9
10 /* $Id$ */
11
12
13 #include "TObject.h"
14 //_____________________________________________________________________________
15 class AliTPCclusterInfo : public TObject {
16 public:
17   AliTPCclusterInfo();
18   AliTPCclusterInfo(Bool_t withGraph);
19   AliTPCclusterInfo(Float_t *matrix, Int_t nbins, Float_t* graph);
20   AliTPCclusterInfo(const  AliTPCclusterInfo & info);
21   virtual ~AliTPCclusterInfo();
22   UChar_t GetNPads() const { return fNPads;}
23   UChar_t GetNTimeBins() const { return fNTimeBins;}
24   UChar_t GetNPads(Float_t threshold) const;
25   UChar_t GetNTimeBins(Float_t threshold) const;
26   Float_t* GetMatrix(){ return fMatrix;}
27   void    SetGraph(Float_t * graph, Int_t nbins){ fGraph = graph; fNBins=nbins;}
28   void    SetNPadsTimes(UChar_t npads, UChar_t ntimes){ fNPads = npads; fNTimeBins = ntimes;}
29  protected:
30   Float_t  fMatrix[25];               // matrix of amplitude arround center pad - time 
31   UChar_t  fNPads;                // number of pads      in cluster
32   UChar_t  fNTimeBins;            // number of time bins in cluster
33   Int_t  fNBins;                // number of bins in graph
34   Float_t *fGraph;               //[fNBins] signal time dependence graph
35 private:
36   ClassDef(AliTPCclusterInfo,1)  // Time Projection Chamber clusters Inofrmation 
37 };
38
39
40
41
42 #endif
43
44