Jpp
18.3.1
the software that should make you happy
|
Go to the source code of this file.
Functions | |
then | if (is_CCNikhef) |
then set_array | INPUT_REFERENCE_FILES (cat ${INPUT_DAQ_FILELIST}) set_array INPUT_REWEIGHTING_FILES $ |
do set_variable | N_EVENTS (JPrintTree-f ${MC_MERGE_FILE}-d ${DEBUG}--|tr-s ' '|grep"E Evt"|cut-d' '-f3) set_variable N1 $((N_EVENTS/2)) set_variable N2 $((N_EVENTS-N1)) set_variable INPUT_REFERENCE_FILE $ |
then rm f $STEERING_FILE touch $STEERING_FILE set_array | PREREQUISITES (cat $JOBID_FILE) configure_job $ |
do set_variable | BINFRAC (JPrintResult-f ${REFERENCE_POSTFIT_FILE}:^\${NAME}\$-F"GetNcells / ((GetNbinsX+2)*(GetNbinsY+2))"-O"%f"--) if[[\$ |
then | if ((BINFRAC > 1.0)) |
skip | elif ((BINFRAC< 1.0)) |
Variables | |
version | |
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR source $JPP_DIR software scripts qlib sh set_variable | IFS0 |
then usage $script< detector file >< inputfile > < reweightingfile > < oscillationprobabilitytable > n Note that if more than one input file is given all optional parameters need to be specified fi case set_variable | WORKDIR |
&set_variable | LIVETIME |
&set_variable | OSCPARAMETERS_GRID_FILE |
&set_variable | DEFAULT_OSCPARAMETERS_FILE |
&set_variable | OSCPROBTABLE |
set_variable | REWEIGHTING_INPUTS_FILE |
set_array | INPUT_FILES |
set_variable | DETX_FILE |
then echo Submitting reweighting and histogram comparison jobs to nikhef stbc batch | queue |
then fatal Please specify a valid directory for local scratch files other | than |
then echo printf s | n |
then rm | f |
do | if [["$(JPrintHeader -f ${INPUT_FILE} -k simul --)"!=" 0"]] |
then set_variable | OUTPUT_FILE |
then | cat |
then fatal No MC input files specified fi set_variable | JOBID_FILE |
else | configure_job |
part1 root set_variable | INPUT_REWEIGHTING_FILE |
then warning Cannot perform comparison test for | histogram {NAME} with >2 dimensions |
then if | ( | is_CCNikhef | ) |
Definition at line 263 of file JEvtReweightGSeaGenParameterScan.sh.
do set_variable N_EVENTS | ( | JPrintTree-f ${MC_MERGE_FILE}-d ${DEBUG}--|tr-s ' '|grep"E Evt"|cut-d' '- | f3 | ) |
Definition at line 281 of file JEvtReweightGSeaGenParameterScan.sh.
Definition at line 336 of file JEvtReweightGSeaGenParameterScan.sh.
do set_variable BINFRAC | ( | JPrintResult-f ${REFERENCE_POSTFIT_FILE}:^\${NAME}\$-F"GetNcells / ((GetNbinsX+2)*(GetNbinsY+2))"-O"%f"-- | ) |
Definition at line 380 of file JEvtReweightGSeaGenParameterScan.sh.
skip elif | ( | (BINFRAC< 1.0) | ) |
version |
Definition at line 5 of file JEvtReweightGSeaGenParameterScan.sh.
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR source $JPP_DIR software scripts qlib sh set_variable IFS0 |
Definition at line 24 of file JEvtReweightGSeaGenParameterScan.sh.
then usage $script<detector file><inputfile><reweightingfile><oscillationprobabilitytable> n Note that if more than one input file is given all optional parameters need to be specified fi case set_variable WORKDIR |
Definition at line 60 of file JEvtReweightGSeaGenParameterScan.sh.
& set_variable LIVETIME |
Definition at line 61 of file JEvtReweightGSeaGenParameterScan.sh.
& set_variable OSCPARAMETERS_GRID_FILE |
Definition at line 62 of file JEvtReweightGSeaGenParameterScan.sh.
& set_variable DEFAULT_OSCPARAMETERS_FILE |
Definition at line 63 of file JEvtReweightGSeaGenParameterScan.sh.
& set_variable OSCPROBTABLE |
Definition at line 64 of file JEvtReweightGSeaGenParameterScan.sh.
set_variable REWEIGHTING_INPUTS_FILE |
Definition at line 65 of file JEvtReweightGSeaGenParameterScan.sh.
set_array INPUT_FILES |
Definition at line 66 of file JEvtReweightGSeaGenParameterScan.sh.
*set_variable DETX_FILE |
Definition at line 67 of file JEvtReweightGSeaGenParameterScan.sh.
then fatal No batch processing option available yet for CC Lyon else echo Submitting reweighting and histogram comparison jobs to local batch queue |
Definition at line 161 of file JEvtReweightGSeaGenParameterScan.sh.
Definition at line 162 of file JEvtReweightGSeaGenParameterScan.sh.
Definition at line 186 of file JEvtReweightGSeaGenParameterScan.sh.
Definition at line 196 of file JEvtReweightGSeaGenParameterScan.sh.
do if[["$(JPrintHeader -f ${INPUT_FILE} -k simul --)"!=" 0"]] |
Definition at line 215 of file JEvtReweightGSeaGenParameterScan.sh.
then set_variable OUTPUT_FILE |
Definition at line 216 of file JEvtReweightGSeaGenParameterScan.sh.
then cat |
Definition at line 222 of file JEvtReweightGSeaGenParameterScan.sh.
then fatal No MC input files specified fi set_variable JOBID_FILE |
Definition at line 238 of file JEvtReweightGSeaGenParameterScan.sh.
else configure_job |
Definition at line 268 of file JEvtReweightGSeaGenParameterScan.sh.
part1 root set_variable INPUT_REWEIGHTING_FILE |
Definition at line 286 of file JEvtReweightGSeaGenParameterScan.sh.
Definition at line 388 of file JEvtReweightGSeaGenParameterScan.sh.