1 #ifndef ALITPCCLUSTERINFO_H
2 #define ALITPCCLUSTERINFO_H
4 //-------------------------------------------------------
6 // Information for debugging puposes
7 // Origin: Marian Ivanov
8 //-------------------------------------------------------
14 //_____________________________________________________________________________
15 class AliTPCclusterInfo : public TObject {
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;}
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
36 ClassDef(AliTPCclusterInfo,1) // Time Projection Chamber clusters Inofrmation