]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MONITOR/AliMonitorTPC.h
monitor histograms for HLT added
[u/mrichter/AliRoot.git] / MONITOR / AliMonitorTPC.h
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
54   AliMonitorHisto* fTrackDEdxVsP;       // dE/dx vs momentum distribution of TPC tracks
55
56   AliMonitorDataTPC* fData;             // data for the monitor tree
57
58   ClassDef(AliMonitorTPC, 0)   // creation and filling of monitor histograms for TPC
59 };
60  
61
62 #endif
63
64
65
66
67
68
69
70
71