]>
Commit | Line | Data |
---|---|---|
04fa961a | 1 | #ifndef ALIMONITORTPC_H |
2 | #define ALIMONITORTPC_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | #include "AliMonitor.h" | |
9 | #include "AliMonitorHisto.h" | |
10 | #include "AliMonitorTrend.h" | |
11 | #include "AliTPCParam.h" | |
12 | ||
13 | ||
14 | class AliMonitorDataTPC : public TObject { | |
15 | public: | |
16 | AliMonitorDataTPC(); | |
17 | AliMonitorDataTPC(Int_t size); | |
18 | virtual ~AliMonitorDataTPC(); | |
19 | void SetSize(Int_t size); | |
20 | ||
21 | Int_t fNTracks; // number of TPC tracks | |
22 | Float_t* fPt; //[fNTracks] | |
23 | Float_t* fEta; //[fNTracks] | |
24 | Float_t* fPhi; //[fNTracks] | |
25 | ||
26 | private: | |
27 | Int_t fSize; //! size of the arrays | |
28 | ||
29 | ClassDef(AliMonitorDataTPC, 1) // data structure for the TPC monitor tree branch | |
30 | }; | |
31 | ||
32 | ||
33 | class AliMonitorTPC : public AliMonitor { | |
34 | public: | |
35 | AliMonitorTPC(AliTPCParam* param); | |
36 | virtual ~AliMonitorTPC(); | |
37 | ||
38 | virtual void CreateHistos(TFolder* folder); | |
39 | virtual void CreateBranches(TTree* tree); | |
40 | virtual void FillHistos(AliRunLoader* runLoader, | |
41 | AliRawReader* rawReader); | |
42 | ||
43 | private: | |
44 | AliTPCParam* fParam; // TPC parameters | |
45 | ||
46 | AliMonitorHisto* fPadsCharge; // charge distribution of TPC pads | |
47 | AliMonitorHisto* fClustersCharge; // charge distribution of TPC clusters | |
48 | AliMonitorHisto* fNClustersVsRow; // mean number of TPC clusters per pad row | |
49 | AliMonitorHisto* fNClustersVsSector; // mean number of TPC clusters per sector | |
50 | AliMonitorTrend* fNTracks; // number of TPC tracks per event | |
51 | AliMonitorHisto* fTrackPt; // pt distribution of TPC tracks | |
52 | AliMonitorHisto* fTrackEta; // eta distribution of TPC tracks | |
53 | AliMonitorHisto* fTrackPhi; // phi distribution of TPC tracks | |
c650b50c | 54 | AliMonitorHisto* fTrackNCl; // number of clusters per track |
04fa961a | 55 | AliMonitorHisto* fTrackDEdxVsP; // dE/dx vs momentum distribution of TPC tracks |
56 | ||
57 | AliMonitorDataTPC* fData; // data for the monitor tree | |
58 | ||
59 | ClassDef(AliMonitorTPC, 0) // creation and filling of monitor histograms for TPC | |
60 | }; | |
61 | ||
62 | ||
63 | #endif | |
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | ||
71 | ||
72 |