1 /***************************************************************************
2 * Copyright (C) 2007 by Filimon Roukoutakis *
3 * Filimon.Roukoutakis@cern.ch *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the *
17 * Free Software Foundation, Inc., *
18 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19 ***************************************************************************/
20 #ifndef AMORE_TPC_UIUIQA_H
21 #define AMORE_TPC_UIUIQA_H
23 #include <VisualModule.h>
24 #include <TRootEmbeddedCanvas.h>
25 #include "../common/Common.h" // Absolute path necessary to allow usage of ACLiC
27 #include <TGNumberEntry.h>
28 #include <TGTextView.h>
29 class AliTPCCalibViewerGUI;
39 @author Filimon Roukoutakis
42 class UIQA : public amore::ui::VisualModule, public amore::TPC::common::Common { // VisualModule inheritance mandatory, Common inheritance optional for sharing the MonitorObject declarations with other modules
49 virtual void Construct();
50 virtual void Update();
51 virtual void SubscribeMonitorObjects();
52 virtual void Process();
53 virtual void StartOfCycle();
54 virtual void EndOfCycle();
55 virtual void StartOfRun() {};
56 virtual void EndOfRun() {};
57 virtual void StartOfSession() {};
58 virtual void EndOfSession() {};
61 void MakeTree(AliTPCdataQA * qa);
62 AliTPCCalPad * GetNoise();
63 AliTPCCalPad * GetPedestal();
64 AliTPCCalPad * GetTime0();
66 TRootEmbeddedCanvas* fEC[10];
67 TGNumberEntryField* fNEF[10];
68 TGTextView* fTextView[10];
69 AliTPCCalibViewerGUI *fViewerGUI;