Difference: Benchmarkepem (1 vs. 4)

Revision 4
23 Feb 2016 - Main.JulianPychy
Line: 1 to 1
 
META TOPICPARENT name="PawianPwaSoftware"

Tutorial: performing an Example Partial Wave Analysis for e+ e- data

Line: 29 to 29
 

To start the server run
Changed:
<
<
$TOP_DIR/bin/epemReactionApp --epemFiles $TOP_DIR/Examples/benchmark/epem/JpsiGamOmegaOmega.cfg --mode server !>& server.log &
>
>
$TOP_DIR/bin/singleChannelApp --epemFiles $TOP_DIR/Examples/benchmark/epem/JpsiGamOmegaOmega.cfg --mode server !>& server.log &
 

Wait some seconds and then start the two clients on the same machine:
Changed:
<
<
$TOP_DIR/bin/epemReactionApp --epemFiles $TOP_DIR/Examples/benchmark/epem/JpsiGamOmegaOmega.cfg --mode client !>& client1.log &
$TOP_DIR/bin/epemReactionApp --epemFiles $TOP_DIR/Examples/benchmark/epem/JpsiGamOmegaOmega.cfg --mode client !>& client2.log &
>
>
$TOP_DIR/bin/singleChannelApp --epemFiles $TOP_DIR/Examples/benchmark/epem/JpsiGamOmegaOmega.cfg --mode client !>& client1.log &
$TOP_DIR/bin/singleChannelApp --epemFiles $TOP_DIR/Examples/benchmark/epem/JpsiGamOmegaOmega.cfg --mode client !>& client2.log &
 

In the server.log, lines similar to the following should appear:
Line: 63 to 63
  For this purpose it is needed to start the QA mode by running
Changed:
<
<
$TOP_DIR/bin/epemReactionApp -c $TOP_DIR/Examples/benchmark/epem/JpsiGamOmegaOmega.cfg --mode qaMode --paramFile finalResult_epem.dat --serializationFile serializedOutput_epem.dat !>& logQA.log &
>
>
$TOP_DIR/bin/singleChannelApp -c $TOP_DIR/Examples/benchmark/epem/JpsiGamOmegaOmega.cfg --mode qaMode --paramFile finalResult_epem.dat --serializationFile serializedOutput_epem.dat !>& logQA.log &
 

-- BertramKopf - 10 Feb 2015
Revision 3
23 Feb 2016 - Main.JulianPychy
Line: 1 to 1
 
META TOPICPARENT name="PawianPwaSoftware"

Tutorial: performing an Example Partial Wave Analysis for e+ e- data

Changed:
<
<
For testing and benchmarking purposes, an example PWA of Monte Carlo toy data is located in the directory /Pawian/Examples/benchmark/epem . It is an analysis of the e+ e- annihilation to a J/psi charmonium with a radiative decay to the final state particles omege omega gamma via two intermediate resonances, the f2(1910) and the eta(2225).
>
>
For testing and benchmarking purposes, an example PWA of Monte Carlo toy data is located in the directory Pawian/Examples/benchmark/epem . It is an analysis of the e+ e- annihilation to a J/psi charmonium with a radiative decay to the final state particles omege omega gamma via two intermediate resonances, the f2(1910) and the eta(2225).
 

This is a step by step tutorial on running this example.
Line: 25 to 25
 

This example PWA is performed using the client/server mode with two clients, each one using two threads. The relevant configuration file options are
Changed:
<
<
serverPort = 25374
serverAddress = localhost
noOfClients = 2
noOfThreads = 2
>
>
serverPort = 50003
serverAddress = localhost
noOfClients = 2
noOfThreads = 2
 

To start the server run
Changed:
<
<
$TOP_DIR/bin/epemReactionApp -c $TOP_DIR/Examples/benchmark/epem/JpsiGamOmegaOmega.cfg --mode server !>& server.log &
>
>
$TOP_DIR/bin/epemReactionApp --epemFiles $TOP_DIR/Examples/benchmark/epem/JpsiGamOmegaOmega.cfg --mode server !>& server.log &
 

Wait some seconds and then start the two clients on the same machine:
Changed:
<
<
$TOP_DIR/bin/epemReactionApp -c $TOP_DIR/Examples/benchmark/epem/JpsiGamOmegaOmega.cfg --mode client !>& client1.log &
$TOP_DIR/bin/epemReactionApp -c $TOP_DIR/Examples/benchmark/epem/JpsiGamOmegaOmega.cfg --mode client !>& client2.log &
>
>
$TOP_DIR/bin/epemReactionApp --epemFiles $TOP_DIR/Examples/benchmark/epem/JpsiGamOmegaOmega.cfg --mode client !>& client1.log &
$TOP_DIR/bin/epemReactionApp --epemFiles $TOP_DIR/Examples/benchmark/epem/JpsiGamOmegaOmega.cfg --mode client !>& client2.log &
 

In the server.log, lines similar to the following should appear:
Changed:
<
<
INFO: ********* Server mode ****************
INFO: Listening on port 25374
INFO: Number of clients for channel 0 : 2
INFO: Waiting for 2 clients ...
INFO: Client pc14 logged in (ID 0).
INFO: Client pc14 logged in (ID 1).
INFO: All clients ready.
INFO: start migrad
>
>
INFO: ********* Server mode ****************
INFO: Listening on port 50003
INFO: Number of clients for channel 0 : 2
INFO: Waiting for 2 clients ...
INFO: Client pc14 logged in (ID 0).
INFO: Client pc14 logged in (ID 1).
INFO: All clients ready.
INFO: start migrad
 

During the minimization, the current values of the likelihood are printed
Line: 52 to 52
  while the current parameter values are frequently dumped into a file named currentResult.dat. After the minimization has finished, the logfile should show
Changed:
<
<
**************** Minuit FunctionMinimum information ******************
Function minimum is valid.
Covariance matrix is valid.
Final LH: -6184.421575
# of function calls: 1329
minimum edm: 1.288794568e-06
>
>
**************** Minuit FunctionMinimum information ******************
INFO: Function minimum is valid.
INFO: Covariance matrix is valid.
INFO: Final LH: -6184.421575
INFO: # of function calls: 1329
INFO: minimum edm: 1.288794568e-06
 

The file finalResult.dat now holds the list of final fit parameters with proper errors. Another file serializedOutput.dat is created in which (currently only) the covariance matrix is stored for later use.
Revision 2
11 Feb 2015 - Main.BertramKopf
Line: 1 to 1
 
META TOPICPARENT name="PawianPwaSoftware"

Tutorial: performing an Example Partial Wave Analysis for e+ e- data

Line: 18 to 18
 
startparams.dat A list of default start parameters for the fit
benchmarkGam2Omega_runscript A shell script to run the PWA in client/server-mode

Changed:
<
<

>
>

Setting the Environment

If not yet done, the relevant environment variables have to be set. An example for the Bochum site is given in the file "SetEnv_rub" in the top directory of the PAWIAN installation.
 

Starting the Server and the Clients

This example PWA is performed using the client/server mode with two clients, each one using two threads. The relevant configuration file options are
Line: 61 to 63
  For this purpose it is needed to start the QA mode by running
Changed:
<
<
$TOP_DIR/bin/epemReactionApp -c $TOP_DIR/Examples/benchmark/epem/JpsiGamOmegaOmega.cfg --mode qaMode --paramFile finalResult.dat --serializationFile serializedOutput.dat !>& logQA.log &
>
>
$TOP_DIR/bin/epemReactionApp -c $TOP_DIR/Examples/benchmark/epem/JpsiGamOmegaOmega.cfg --mode qaMode --paramFile finalResult_epem.dat --serializationFile serializedOutput_epem.dat !>& logQA.log &
 

-- BertramKopf - 10 Feb 2015
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding PANDA Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)