removed parallel tree
This commit is contained in:
@ -76,6 +76,27 @@ PFitOutputHandler::PFitOutputHandler(QString workingDirectory, QValueVector<QStr
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------------------------------
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
*/
|
||||||
|
PFitOutputHandler::~PFitOutputHandler()
|
||||||
|
{
|
||||||
|
if (fProc->isRunning()) {
|
||||||
|
qDebug("fProc still running");
|
||||||
|
fProc->kill();
|
||||||
|
}
|
||||||
|
if (fProc->isRunning()) {
|
||||||
|
QString msg = "fProc still running ...";
|
||||||
|
qDebug(msg);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (fProc) {
|
||||||
|
delete fProc;
|
||||||
|
fProc = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
@ -115,8 +136,11 @@ void PFitOutputHandler::quitButtonPressed()
|
|||||||
{
|
{
|
||||||
// if the fitting is still taking place, kill it
|
// if the fitting is still taking place, kill it
|
||||||
if (fProc->isRunning()) {
|
if (fProc->isRunning()) {
|
||||||
|
/*
|
||||||
fProc->tryTerminate();
|
fProc->tryTerminate();
|
||||||
QTimer::singleShot( 100, fProc, SLOT( kill() ) );
|
QTimer::singleShot( 100, fProc, SLOT( kill() ) );
|
||||||
|
*/
|
||||||
|
fProc->kill();
|
||||||
}
|
}
|
||||||
|
|
||||||
accept();
|
accept();
|
||||||
|
@ -49,16 +49,17 @@ class PFitOutputHandler : public QDialog
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
PFitOutputHandler(QString workingDirectory, QValueVector<QString> &cmd);
|
PFitOutputHandler(QString workingDirectory, QValueVector<QString> &cmd);
|
||||||
~PFitOutputHandler() {}
|
virtual ~PFitOutputHandler();
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void readFromStdOut();
|
virtual void readFromStdOut();
|
||||||
void readFromStdErr();
|
virtual void readFromStdErr();
|
||||||
void quitButtonPressed();
|
virtual void quitButtonPressed();
|
||||||
void processDone();
|
virtual void processDone();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QProcess *fProc;
|
QProcess *fProc;
|
||||||
|
|
||||||
QVBox *fVbox;
|
QVBox *fVbox;
|
||||||
QTextEdit *fOutput;
|
QTextEdit *fOutput;
|
||||||
QPushButton *fQuitButton;
|
QPushButton *fQuitButton;
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
% [output file name]
|
% [output file name]
|
||||||
|
|
||||||
reducedTemp = 0.8492
|
reducedTemp = 0.8492
|
||||||
lambdaL = 33.6
|
lambdaL = 32.3
|
||||||
xi0 = 380.0
|
xi0 = 380.0
|
||||||
meanFreePath = 12000.0
|
meanFreePath = 12000.0
|
||||||
filmThickness = 500000.0
|
filmThickness = 500000.0
|
||||||
|
@ -16,7 +16,7 @@ asym, 0.24, 0.24, 0.24, 0.24
|
|||||||
phase, 0.0, 90.0, 180.0, 270.0
|
phase, 0.0, 90.0, 180.0, 270.0
|
||||||
#------------------------------------------------------
|
#------------------------------------------------------
|
||||||
# N0's
|
# N0's
|
||||||
N0, 1100, 1000, 1002, 990
|
N0, 11000, 10000, 10002, 9990
|
||||||
#------------------------------------------------------
|
#------------------------------------------------------
|
||||||
# bkg's
|
# bkg's
|
||||||
bkg, 2, 1, 2, 3
|
bkg, 2, 1, 2, 3
|
||||||
|
@ -42,11 +42,11 @@ void skewedGaussian()
|
|||||||
char fln[256];
|
char fln[256];
|
||||||
|
|
||||||
const Double_t w = 1.0; // weight of the skewed Gaussian
|
const Double_t w = 1.0; // weight of the skewed Gaussian
|
||||||
const Double_t B0 = 1000.0; // skewed Gaussian B0 (G)
|
const Double_t B0 = 100.0; // skewed Gaussian B0 (G)
|
||||||
const Double_t sm = 5.0; // skewed Gaussian sigma- (G)
|
const Double_t sm = 50.0; // skewed Gaussian sigma- (G)
|
||||||
const Double_t sp = 5.0; // skewed Gaussian sigma+ (G)
|
const Double_t sp = 50.0; // skewed Gaussian sigma+ (G)
|
||||||
|
|
||||||
const Double_t B0ext = 1000.0; // external field Gaussian B0 (G)
|
const Double_t B0ext = 100.0; // external field Gaussian B0 (G)
|
||||||
const Double_t sext = 10; // external field Gaussian sigma (G)
|
const Double_t sext = 10; // external field Gaussian sigma (G)
|
||||||
|
|
||||||
sprintf(fln, "skewedGauss-B%0.2lf-sm%0.2lf-sp%0.2lf-w%0.1lf-Bext%0.2lf-sext%0.2lf.dat",
|
sprintf(fln, "skewedGauss-B%0.2lf-sm%0.2lf-sp%0.2lf-w%0.1lf-Bext%0.2lf-sext%0.2lf.dat",
|
||||||
|
Reference in New Issue
Block a user