GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4CreateNewHistogram.h
Go to the documentation of this file.
1// $Id$
2//-----------------------------------------------------------------------
3// The GSI Online Offline Object Oriented (Go4) Project
4// Experiment Data Processing at EE department, GSI
5//-----------------------------------------------------------------------
6// Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7// Planckstr. 1, 64291 Darmstadt, Germany
8// Contact: http://go4.gsi.de
9//-----------------------------------------------------------------------
10// This software can be used under the license agreements as stated
11// in Go4License.txt file which is part of the distribution.
12//-----------------------------------------------------------------------
13
14#ifndef TGO4CREATENEWHISTOGRAM_H
15#define TGO4CREATENEWHISTOGRAM_H
16
17#include <QDialog>
18#include "ui_TGo4CreateNewHistogram.h"
19
20class QButtonGroup;
21class TH1;
22
23class TGo4CreateNewHistogram : public QDialog, public Ui::TGo4CreateNewHistogram
24{
25 Q_OBJECT
26
27public:
28 TGo4CreateNewHistogram(QWidget *parent = nullptr);
29 void SetAnalysisAvaliable(bool on);
30
31 void SetLocalAvaliable(bool on);
32
33 int GetSelectedCmd();
34
35 TH1 *MakeHistogram();
36
37public slots:
38
39 virtual void CreateLocalHist();
40
41 virtual void CreateRemoteHis();
42
43protected:
45
46 QButtonGroup *HisTypeGrp{nullptr};
47 QButtonGroup *HisClassGrp{nullptr};
48
49};
50#endif
TGo4CreateNewHistogram(QWidget *parent=nullptr)