Line data Source code
1 : #ifndef ALITPCCLUSTERINFO_H
2 : #define ALITPCCLUSTERINFO_H
3 :
4 : /// \class AliTPCclusterInfo
5 : /// \brief TPC Cluster Class
6 : ///
7 : /// Information for debugging puposes
8 : ///
9 : /// \author Marian Ivanov
10 :
11 : /* $Id$ */
12 :
13 :
14 : #include "TObject.h"
15 : //_____________________________________________________________________________
16 : class AliTPCclusterInfo : public TObject {
17 : public:
18 : AliTPCclusterInfo();
19 : AliTPCclusterInfo(Bool_t withGraph);
20 : AliTPCclusterInfo(Float_t *matrix, Int_t nbins, Float_t* graph);
21 : AliTPCclusterInfo(const AliTPCclusterInfo & info);
22 : AliTPCclusterInfo& operator=(const AliTPCclusterInfo& info);
23 : virtual ~AliTPCclusterInfo();
24 0 : UChar_t GetNPads() const { return fNPads;}
25 0 : UChar_t GetNTimeBins() const { return fNTimeBins;}
26 : UChar_t GetNPads(Float_t threshold) const;
27 : UChar_t GetNTimeBins(Float_t threshold) const;
28 0 : Float_t* GetMatrix(){ return fMatrix;}
29 0 : void SetGraph(Float_t * graph, Int_t nbins){ fGraph = graph; fNBins=nbins;}
30 0 : void SetNPadsTimes(UChar_t npads, UChar_t ntimes){ fNPads = npads; fNTimeBins = ntimes;}
31 : protected:
32 : Float_t fMatrix[25]; ///< matrix of amplitude arround center pad - time
33 : UChar_t fNPads; ///< number of pads in cluster
34 : UChar_t fNTimeBins; ///< number of time bins in cluster
35 : Int_t fNBins; ///< number of bins in graph
36 : /// signal time dependence graph
37 : Float_t *fGraph; //[fNBins]
38 : private:
39 : /// \cond CLASSIMP
40 24 : ClassDef(AliTPCclusterInfo,1) // Time Projection Chamber clusters Inofrmation
41 : /// \endcond
42 : };
43 :
44 :
45 :
46 :
47 : #endif
48 :
49 :
|