]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCclusterInfo.h
- Replace the TClonesArray of AliMUONTrackParam by a TObjArray in
[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   AliTPCclusterInfo& operator=(const AliTPCclusterInfo& info);
22   virtual ~AliTPCclusterInfo();
23   UChar_t GetNPads() const { return fNPads;}
24   UChar_t GetNTimeBins() const { return fNTimeBins;}
25   UChar_t GetNPads(Float_t threshold) const;
26   UChar_t GetNTimeBins(Float_t threshold) const;
27   Float_t* GetMatrix(){ return fMatrix;}
28   void    SetGraph(Float_t * graph, Int_t nbins){ fGraph = graph; fNBins=nbins;}
29   void    SetNPadsTimes(UChar_t npads, UChar_t ntimes){ fNPads = npads; fNTimeBins = ntimes;}
30  protected:
31   Float_t  fMatrix[25];               // matrix of amplitude arround center pad - time 
32   UChar_t  fNPads;                // number of pads      in cluster
33   UChar_t  fNTimeBins;            // number of time bins in cluster
34   Int_t  fNBins;                // number of bins in graph
35   Float_t *fGraph;               //[fNBins] signal time dependence graph
36 private:
37   ClassDef(AliTPCclusterInfo,1)  // Time Projection Chamber clusters Inofrmation 
38 };
39
40
41
42
43 #endif
44
45