musredit 1.0.0
Loading...
Searching...
No Matches
PGetAsymmetryRunBlockDialog.h
Go to the documentation of this file.
1/****************************************************************************
2
3 PGetAsymmetryRunBlockDialog.h
4
5 Author: Andreas Suter
6 e-mail: andreas.suter@psi.ch
7
8*****************************************************************************/
9
10/***************************************************************************
11 * Copyright (C) 2009-2026 by Andreas Suter *
12 * andreas.suter@psi.ch *
13 * *
14 * This program is free software; you can redistribute it and/or modify *
15 * it under the terms of the GNU General Public License as published by *
16 * the Free Software Foundation; either version 2 of the License, or *
17 * (at your option) any later version. *
18 * *
19 * This program is distributed in the hope that it will be useful, *
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
22 * GNU General Public License for more details. *
23 * *
24 * You should have received a copy of the GNU General Public License *
25 * along with this program; if not, write to the *
26 * Free Software Foundation, Inc., *
27 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
28 ***************************************************************************/
29
46
47#ifndef _PGETASYMMETRYRUNBLOCKDIALOG_H_
48#define _PGETASYMMETRYRUNBLOCKDIALOG_H_
49
50#include "ui_PGetAsymmetryRunBlockDialog.h"
51
52//---------------------------------------------------------------------------
91class PGetAsymmetryRunBlockDialog : public QDialog, private Ui::PGetAsymmetryRunBlockDialog
92{
93 Q_OBJECT
94
95 public:
96 PGetAsymmetryRunBlockDialog(const QString helpUrl);
97
102 QString getRunHeaderInfo();
103 QString getAlphaParameter(bool &present);
104 QString getBetaParameter(bool &present);
105 QString getMap(bool &valid);
106
111 QString getForward() { return QString("forward " + fForwardHistoNo_lineEdit->text() + "\n"); }
112
117 QString getBackward() { return QString("backward " + fBackwardHistoNo_lineEdit->text() + "\n"); }
118
119 QString getBackground(bool &valid);
120 QString getData(bool &valid);
121 QString getT0(bool &present);
122 QString getFitRange(bool &valid);
123 QString getPacking(bool &present);
125
126 private slots:
130 void helpContent();
131
132 private:
133 QString fHelpUrl;
134};
135
136#endif // _PGETASYMMETRYRUNBLOCKDIALOG_H_
QString getBetaParameter(bool &present)
Generates the beta parameter line for the asymmetry block.
QString getRunHeaderInfo()
Generates the RUN header line for the asymmetry block.
QString getFitRange(bool &valid)
Generates the fit range specification for the asymmetry block.
QString getMap(bool &valid)
Generates the parameter map line for the asymmetry block.
QString getData(bool &valid)
Generates the data range specification for the asymmetry block.
PGetAsymmetryRunBlockDialog(const QString helpUrl)
Constructs the asymmetry RUN block dialog.
QString getForward()
Get the forward histogram specification line.
QString getBackground(bool &valid)
Generates the background specification for the asymmetry block.
void helpContent()
Opens the online help for asymmetry RUN blocks.
QString getT0(bool &present)
Generates the T0 (time zero) specification for the asymmetry block.
QString fHelpUrl
URL to the online documentation for asymmetry RUN blocks.
QString getBackward()
Get the backward histogram specification line.
QString getPacking(bool &present)
Generates the packing (rebinning) specification for the asymmetry block.
QString getAlphaParameter(bool &present)
Generates the alpha parameter line for the asymmetry block.