]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/EMCAL/OnlineDisplay/AliHLTEMCALOnlineDisplayButton.h
Very last updates to account for very displaced vertices
[u/mrichter/AliRoot.git] / HLT / EMCAL / OnlineDisplay / AliHLTEMCALOnlineDisplayButton.h
1 //-*- Mode: C++ -*-
2 // $Id: AliHLTEMCALOnlineDisplayButton.h 29824 2008-11-10 13:43:55Z richterm $
3
4 #ifndef ALIHLTEMCALONLINEDISPLAYBUTTON_H
5 #define ALIHLTEMCALONLINEDISPLAYBUTTON_H
6
7 /**************************************************************************
8  * This file is property of and copyright by the Experimental Nuclear     *
9  * Physics Group, Dep. of Physics                                         *
10  * University of Oslo, Norway, 2007                                       *
11  *                                                                        *
12  * Author: Per Thomas Hille <perthi@fys.uio.no> for the ALICE HLT Project.*
13  * Contributors are mentioned in the code where appropriate.              *
14  * Please report bugs to perthi@fys.uio.no                                *
15  *                                                                        *
16  * Permission to use, copy, modify and distribute this software and its   *
17  * documentation strictly for non-commercial purposes is hereby granted   *
18  * without fee, provided that the above copyright notice appears in all   *
19  * copies and that both the copyright notice and this permission notice   *
20  * appear in the supporting documentation. The authors make no claims     *
21  * about the suitability of this software for any purpose. It is          *
22  * provided "as is" without express or implied warranty.                  *
23  **************************************************************************/
24
25 #include <TGButton.h>
26 #include <TGFrame.h>
27
28 class   AliHLTEMCALOnlineDisplay;
29
30 class  AliHLTEMCALOnlineDisplayButton : public TGTextButton
31 {
32 public:
33   AliHLTEMCALOnlineDisplayButton();
34   //   AliHLTEMCALOnlineDisplayButton(TGGroupFrame *gfPtr, char opt, char *name);
35   //  AliHLTEMCALOnlineDisplayButton(TGMainFrame *gfPtr, char opt, char *name);
36   AliHLTEMCALOnlineDisplayButton(AliHLTEMCALOnlineDisplay *onlineDisplayPtr, TGMainFrame *gfPtr, char opt, char *name);
37   virtual ~AliHLTEMCALOnlineDisplayButton();
38   virtual Bool_t HandleButton(Event_t* event);
39
40 private:
41   //  MainGui *currentMainGuiPtr;
42   TGMainFrame *currentWindowPtr;
43   char command;
44
45   AliHLTEMCALOnlineDisplay *fOnlineDisplayPtr;
46 };
47
48 #endif