ROOTPWA
set_workspace_var.sh
Go to the documentation of this file.
1 # this script sets all variables needed to run the Kpipi analysis
2 # author: Promme@web.de ; jasinski@kph.uni-mainz.de
3 # worked with SVN version 258
4 
5 #!/bin/bash
6 
7 # ************************ variables to set ! **************************
8  export KPIPI_WORKSPACE="/mnt/disk2/analysis/Kp_Kppipi/PWA_20MeV" # if you specify here an exisiting directory with ~5GB space you may leave the rest unchanged
9 
10  # time consuming jobs should be run on a computer farm
11  # local : run on this machine
12  # cern : run on CERN batch system
13  # gridka: run on Karlsruhe batch system
14  # mainz : run on Mainz blaster
15  export KPIPI_CALC_AMP_FARM="local" # local or mainz are forseen settings for amplitude calculations
16 
17  export KPIPI_RAW_FILE_DIR=${KPIPI_WORKSPACE} # the directory where the data file will be copied to (must exist)
18  export KPIPI_RAW_FILE="hist.root" # the name of the file
19  export KPIPI_MC_FILE_DIR=${KPIPI_WORKSPACE} # the directory where the mc-acceptance data file will be copied to (must exist)
20  export KPIPI_MC_FILE="hist_mc_acc.root"; # the name of the file
21  export KPIPI_WEB_FILE="http://www.staff.uni-mainz.de/jasinsk/demo-data/hist.root" # where to get the file from
22  export KPIPI_WEB_MC_FILE="http://www.staff.uni-mainz.de/jasinsk/demo-data/hist_mc_acc.root" # where to get the MC acceptance file from
23  export KPIPI_FILE_TREE="events/tree_events_v2" # path to the tree in the rootfile
24  export KPIPI_NPARTICLES=0 # number of particles in the tree per event (since v2 of trees not important anymore)
25 
26  export KPIPI_WORK_DIR="${KPIPI_WORKSPACE}/SET_20MeV/" # work directory containing binned data and calculated amplitudes
27  export KPIPI_BIN_MIN=800 # lowest energy bin of invariant Kpipi mass spectrum to cut
28  export KPIPI_BIN_MAX=3000 # highest energy bin of invariant Kpipi mass spectrum to cut
29  export KPIPI_NBINS=110 # number of bins to create -> number of folders that will be created
30 
31  export KPIPI_NPHASESPACE_MC_EVENTS=100000 # number of flat phasespace events to be MC generated per bin
32  export KPIPI_MC_CONFIG_FILE_FLAT=${ROOTPWA}/generators/KpipiDiffractive2008.conf # configuration file for flat diffractive phase space
33 
34  export KPIPI_TREE_READER=${ROOTPWA}/keyfiles/keyKpipi/scripts/Tree_to_BNL_event.C # path to the tree converter that fills the bins
35 
36  export KPIPI_KEYFILE_DIR=${ROOTPWA}/keyfiles/keyKpipi/SETWA3_full # path to keyfile directory
37  export KPIPI_KEYFILE_GENERATOR=${ROOTPWA}/keygen/genKey_Kpipi_WA3.C # path to keyfile generator
38  export KPIPI_GENERATOR_PATH=${ROOTPWA}/keygen # currently the path where the generator must be compiled in
39 
40  export KPIPI_FIT_DIR="${KPIPI_WORKSPACE}/FIT_20MeV/" # path to the fit directory
41 
42  export KPIPI_WAVE_LIST="${KPIPI_FIT_DIR}/wavelist" # path to wave list containing the amplitude names to fit
43 # ************************ end variables *******************************