]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/EMCAL/OnlineDisplay/AliHLTEMCALOnlineDisplayCalibTab.h
changed some histo ranges to save memory
[u/mrichter/AliRoot.git] / HLT / EMCAL / OnlineDisplay / AliHLTEMCALOnlineDisplayCalibTab.h
CommitLineData
fcbe44bf 1//-*- Mode: C++ -*-
2// $Id: AliHLTEMCALOnlineDisplayCalibTab.h 31683 2009-03-24 21:17:03Z odjuvsla $
3
4/**************************************************************************
5 * Copyright(c) 2006, ALICE Experiment at CERN, All rights reserved. *
6 * *
7 * Authors: Per Thomas Hille for the ALICE *
8 * offline/HLT Project. Contributors are mentioned in the code where *
9 * appropriate. *
10 * *
11 * Permission to use, copy, modify and distribute this software and its *
12 * documentation strictly for non-commercial purposes is hereby granted *
13 * without fee, provided that the above copyright notice appears in all *
14 * copies and that both the copyright notice and this permission notice *
15 * appear in the supporting documentation. The authors make no claims *
16 * about the suitability of this software for any purpose. It is *
17 * provided "as is" without express or implied warranty. *
18 **************************************************************************/
19
20
21#ifndef ALIHLTEMCALONLINEDISPLAYCALIBTAB_H
22#define ALIHLTEMCALONLINEDISPLAYCALIBTAB_H
23
24//#include "AliHLTEMCALCommonDefs.h"
25#include <TCanvas.h>
26#include "AliHLTDataTypes.h"
27#include "AliHLTEMCALOnlineDisplayTab.h"
28#include "AliHLTEMCALConstants.h"
29
30using namespace EmcalHLTConst;
31
32class TGTab;
33
34class TRootEmbeddedCanvas;
35class TH2D;
36class TH2I;
37class TCanvas;
38class AliHLTEMCALGetEventButton;
39
40class AliHLTEMCALOnlineDisplayCalibTab : public AliHLTEMCALOnlineDisplayTab
41{
42 public:
43 AliHLTEMCALOnlineDisplayCalibTab(); // Default Constructor
44 AliHLTEMCALOnlineDisplayCalibTab(TGTab *tabPtr, HOMERReader *homerSyncPtr, HOMERReader *homerPtrs[MAXHOSTS], int nHosts); // Constructor
45 virtual ~AliHLTEMCALOnlineDisplayCalibTab(); // Destructor
46
47 void InitDisplay(TGTab *tabPtr); // InitDisplay
48 void UpdateDisplay(); // UpdateDisplay
49 int GetNextEvent(); // GetNextEvent
50 virtual void ReadBlockData(HOMERReader *homeReaderPtr); // ReadBlockData
51 void ResetDisplay() const; // ResetDisplay
52
53 TH2D *fgCalibHistPtr[NGAINS]; // fgCalibHistPtr
54 TH2I *fgHitsHistPtr[NGAINS]; // fgHitsHistPtr
55 TH2D *fgAveragePtr[NGAINS]; // fgAveragePtr
56 TH2D *fgDCSViewPtr[NGAINS]; // fgDCSViewPtr
57
58 TH2D *fDeadCannelMapPtr[NGAINS]; // fDeadCannelMapPtr
59 TGTab *fTab; // fTab
60 TRootEmbeddedCanvas *fEc7, *fEc8, *fEc9, *fEc10, *fEc11, *fEc12, *fEc13, *fEc14, *fEc15, *fEc16, *fEc17, *fEc18; // Canvases
61 TGTab *fSubTab2; // fSubTab2
62 TGCompositeFrame *fSubF4, *fSubF5, *fSubF6, *fSubF7,*fSubF8, *fSubF9; // Composite frames
63 TCanvas *fgCanvasHGPtr; // fgCanvasHGPtr
64 TCanvas *fgCanvasLGPtr; // fgCanvasLGPtr
65 TH2D *fgLegoPlotLGPtr; // fgLegoPlotLGPtr
66 TH2D *fgLegoPlotHGPtr; // fgLegoPlotHGPtr
67 AliHLTEMCALGetEventButton* fgEventButtPtr; // fgEventButtPtr
68
69private:
70
71 AliHLTEMCALOnlineDisplayCalibTab(const AliHLTEMCALOnlineDisplayCalibTab&); //copy constructor
72 AliHLTEMCALOnlineDisplayCalibTab & operator=(const AliHLTEMCALOnlineDisplayCalibTab); //assignement operator
73
74};
75
76
77#endif