]>
Commit | Line | Data |
---|---|---|
03fe1804 | 1 | #ifndef ALITPCCLUSTERINFO_H |
2 | #define ALITPCCLUSTERINFO_H | |
3 | ||
7d855b04 | 4 | /// \class AliTPCclusterInfo |
5 | /// \brief TPC Cluster Class | |
6 | /// | |
7 | /// Information for debugging puposes | |
8 | /// | |
9 | /// \author Marian Ivanov | |
03fe1804 | 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); | |
b85029eb | 22 | AliTPCclusterInfo& operator=(const AliTPCclusterInfo& info); |
03fe1804 | 23 | virtual ~AliTPCclusterInfo(); |
24 | UChar_t GetNPads() const { return fNPads;} | |
25 | UChar_t GetNTimeBins() const { return fNTimeBins;} | |
26 | UChar_t GetNPads(Float_t threshold) const; | |
27 | UChar_t GetNTimeBins(Float_t threshold) const; | |
28 | Float_t* GetMatrix(){ return fMatrix;} | |
29 | void SetGraph(Float_t * graph, Int_t nbins){ fGraph = graph; fNBins=nbins;} | |
30 | void SetNPadsTimes(UChar_t npads, UChar_t ntimes){ fNPads = npads; fNTimeBins = ntimes;} | |
31 | protected: | |
7d855b04 | 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] | |
03fe1804 | 38 | private: |
7d855b04 | 39 | /// \cond CLASSIMP |
40 | ClassDef(AliTPCclusterInfo,1) // Time Projection Chamber clusters Inofrmation | |
41 | /// \endcond | |
03fe1804 | 42 | }; |
43 | ||
44 | ||
45 | ||
46 | ||
47 | #endif | |
48 | ||
49 |