File | Description |
---|---|
pbarpReactionDefault.cfg | The configuration file. The fitted model is defined and all options are set here |
toyDataModel.dat | The "experimental" toy data as ASCII file containing four-vectors located in the event storage $EVT_DIR/benchmark/pi0pi0eta900/toyDataPbarPToPi0Pi0Eta900.dat |
toyDataMC.dat | The phasespace distributed toy Monte Carlo data as an ASCII file containing four-vectors located in the event storage $EVT_DIR/benchmark/pi0pi0eta900/toyMCPbarPToPi0Pi0Eta900.dat |
defaultparams.dat | A list of default start parameters for the fit |
benchmark*runscript | Shell scripts to run the PWA in different modes |
source SetEnv_rub
Otherwise, you'll have to set the relevant environment variables $ROOTSYS, $TOP_DIR, $LD_LIBRARY_PATH, $PATH, $EVT_DIR, $KMAT_DIR and $BOOST_BUILD_PATH yourself. Additionally, $ROOTSYS/bin has to appear in your PATH variable.
cp -r $TOP_DIR/benchmark/pbarpTopi0pi0eta ./
$TOP_DIR/bin/singleChannelApp --pbarpFiles pbarpReactionDefault.cfg --mode dumpDefaultParams
The list logic per line is as follows:
1. Paramter name
2. Initial parameter error (used in the initial step of the minimization process to estimate the variation step size; a too small value might affect the convergence)
3. Lower parameter bound (optional)
4. Upper parameter bound (optional)
serverPort = 20301To start the server run
serverAddress = localhost
noOfClients = 4
$TOP_DIR/bin/singleChannelApp --pbarpFiles pbarpReactionDefault.cfg --mode server --paramFile defaultparams.dat
However, you may want to pipe the output into a log file, e.g.
$TOP_DIR/bin/singleChannelApp --pbarpFiles pbarpReactionDefault.cfg --mode server --paramFile defaultparams.dat !>& server.log &Wait some seconds and then start the four clients on the same machine:
$TOP_DIR/bin/singleChannelApp --pbarpFiles pbarpReactionDefault.cfg --mode client --paramFile defaultparams.dat !>& client1.log & $TOP_DIR/bin/singleChannelApp --pbarpFiles pbarpReactionDefault.cfg --mode client --paramFile defaultparams.dat !>& client2.log & $TOP_DIR/bin/singleChannelApp --pbarpFiles pbarpReactionDefault.cfg --mode client --paramFile defaultparams.dat !>& client3.log & $TOP_DIR/bin/singleChannelApp --pbarpFiles pbarpReactionDefault.cfg --mode client --paramFile defaultparams.dat !>& client4.log &In the server.log, lines similar to the following should appear:
INFO: ********* Server mode ****************During the minimization, the current values of the likelihood are printed
INFO: Listening on port 20301
INFO: Number of clients for channel 0 : 4
INFO: Waiting for 4 clients ...
INFO: Client pc70 logged in (ID 0).
INFO: Client pc70 logged in (ID 1). INFO: Client pc70 logged in (ID 2). INFO: Client pc70 logged in (ID 2).
INFO: All clients ready.
INFO: start migrad with strategy level 1
INFO: current LH = -2218.040279118386
while the current parameter values (with default errors) are frequently dumped into a file named currentResult.dat. After the minimization has finished, the logfile should sho**************** Minuit <nop>FunctionMinimum information ******************resonance | a2(1320) | f2(1270) |
m (generated) [GeV/c2] | 1.3177 | 1.2755 |
Γ (generated) [GeV/c2] | 0.1111 | 0.1867 |
m (fitted) [GeV/c2] | 1.3181 ± 0.0012 | 1.2831 ± 0.0036 |
Γ (fitted) [GeV/c2] | 0.1069 ± 0.0031 | 0.2001 ± 0.0073 |
$TOP_DIR/bin/singleChannelApp --pbarpFiles ./pbarpReactionDefault.cfg --mode qaMode --paramFile ./finalResult.dat !>& logQA.log &=A ROOT file pawianHists.root is created (this may take some time). This file holds:
logLh -7155.52
noOfFreeFitParams 22
BIC: -14099.5
AICa: -14267
AICc: -14267
No of data events without weight 15000
No of data events with weight 15000
No of MC events 45000
scaling factor 0.333333
no of fitted events with scaling factor: 14999.9
contribution no 0
contribution name f2_1270
no of fitted events with scaling factor: 5192.8
contribution no 1
contribution name a2_1320
no of fitted events with scaling factor: 9128.37
I | Attachment | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|
jpg | FitResultHists.jpg | manage | 39 K | 2023-01-18 - 16:41 | BertramKopf | |
png | FitResultHists.png | manage | 32 K | 2023-01-18 - 16:48 | BertramKopf |