Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Variables
JTriggerEfficiencyRunByRun.sh File Reference

Go to the source code of this file.

Variables

 script
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
set_variable 
DEBUG
 
then usage $script< detector
file >< detectorfile > input
file< outputfile >< DAQfile >
nNote that if more than one
input file is 
specified
 
then usage $script< detector
file >< detectorfile > input
file< outputfile >< DAQfile >
nNote that if more than one
input file is all other
arguments must be provided fi
case set_variable 
PMT_FILE
 
&set_variable DAQ_FILE
 
set_variable OUTPUT_FILE
 
set_variable INPUT_FILE
 
set_variable DETECTORB
 
set_variable DETECTORA
 
fatal Wrong number of arguments
 
*set_variable DETECTORA $argv[1]
set_variable DETECTORB $argv[2]
set_variable INPUT_FILE $argv[3,-4]
set_variable OUTPUT_FILE $argv[-3]
set_variable DAQ_FILE $argv[-2]
set_variable PMT_FILE 
$argv [-1]
 
esac RUNBYRUN
 
then if [[!-f $TURBOT]]
 

Variable Documentation

script
Initial value:
=${0##*/}
if [ -z $JPP_DIR ]

Definition at line 5 of file JTriggerEfficiencyRunByRun.sh.

then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR set_variable DEBUG
Initial value:
{TRIGGEREFFICIENCY_DEBUG:-1}
set_variable OUTPUT_FILE $WORKDIR/trigger_efficiency+runbyrun.root
set_variable DETECTORA $JPP_DATA/km3net_reference.detx
set_variable DETECTORB $JPP_DATA/km3net_reference.detx
set_variable PMT_FILE $JPP_DATA/PMT_parameters.txt
set_variable BACKGROUND_HZ ${TRIGGEREFFICIENCY_BACKGROUND_HZ:-${BACKGROUND_HZ:-5e3 500 50 5 0.5}}
set_variable SEED ${TRIGGEREFFICIENCY_SEED:-0}
set_variable TURBOT ${TRIGGEREFFICIENCY_TURBOT:-}
set_variable NUMBER_OF_TIMESLICES ${TRIGGEREFFICIENCY_NUMBER_OF_TIMESLICES:-0}
set_variable FACTOR ${TRIGGEREFFICIENCY_FACTOR:-${FACTOR:-1.0}}
set_variable OPTION ${TRIGGEREFFICIENCY_TRIGGERED_EVENTS_ONLY+-O}
if ( do_usage $* )
&set_variable NUMBER_OF_TIMESLICES
Definition: JRunAnalyzer.sh:19
void set_variable(const std::string &name, const std::string &value)
Set environment variable.
&set_variable INPUT_FILE
Definition: JLegolas.sh:30
&set_variable DETECTOR_FILE set_variable DAQ_FILE
&set_variable DETECTORA
&set_variable DETECTORB
then display $WORKDIR
Definition: plot-Domino.sh:142
then usage $script< detector >< run >< outputfile > fi case set_variable OPTION
Definition: JTuna.sh:26
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR set_variable DEBUG set_variable WORKDIR set_variable PIPE $WORKDIR pipe dat set_variable OUTPUT_FILE $WORKDIR timeslice root set_variable DETECTOR $JPP_DATA km3net_reference detx set_variable TRIGGER $JPP_DATA trigger_parameters_arca txt set_variable PMT_FILE $JPP_DATA PMT_parameters txt set_variable BACKGROUND_HZ
then usage $script< detector file >< inputfile > fi case set_variable WORKDIR
Definition: JLegolas.sh:28

Definition at line 20 of file JTriggerEfficiencyRunByRun.sh.

then usage $script<detector file><detectorfile> input file<outputfile><DAQfile> nNote that if more than one input file is specified

Definition at line 37 of file JTriggerEfficiencyRunByRun.sh.

then usage $script<detector file><detectorfile> input file<outputfile><DAQfile> nNote that if more than one input file is all other arguments must be provided fi case set_variable PMT_FILE

Definition at line 37 of file JTriggerEfficiencyRunByRun.sh.

& set_variable DAQ_FILE

Definition at line 42 of file JTriggerEfficiencyRunByRun.sh.

set_variable OUTPUT_FILE

Definition at line 43 of file JTriggerEfficiencyRunByRun.sh.

set_variable INPUT_FILE

Definition at line 44 of file JTriggerEfficiencyRunByRun.sh.

set_variable DETECTORB

Definition at line 45 of file JTriggerEfficiencyRunByRun.sh.

set_variable DETECTORA

Definition at line 46 of file JTriggerEfficiencyRunByRun.sh.

fatal Wrong number of arguments

Definition at line 46 of file JTriggerEfficiencyRunByRun.sh.

* set_variable DETECTORA $argv [1] set_variable DETECTORB $argv [2] set_variable INPUT_FILE $argv [3,-4] set_variable OUTPUT_FILE $argv [-3] set_variable DAQ_FILE $argv [-2] set_variable PMT_FILE $argv[-1]

Definition at line 51 of file JTriggerEfficiencyRunByRun.sh.

esac RUNBYRUN
Initial value:
="file=$DAQ_FILE; sampler=25 250"
check_input_file $DETECTORA $DETECTORB $INPUT_FILE $DAQ_FILE $PMT_FILE
check_output_file $OUTPUT_FILE
if [[ -n $TURBOT ]]
&set_variable INPUT_FILE
Definition: JLegolas.sh:30
esac print_variable DETECTOR TRIGGER OUTPUT_FILE BACKGROUND_HZ PMT_FILE check_input_file $DETECTOR $TRIGGER $PMT_FILE check_output_file $OUTPUT_FILE RUNBYRUN
then JFileTuna f $INPUT_FILE
Definition: file-Tuna.sh:66
&set_variable DETECTORA
&set_variable DETECTORB
alias put_queue eval echo n
Definition: qlib.csh:19

Definition at line 60 of file JTriggerEfficiencyRunByRun.sh.

then if[[!-f $TURBOT]]

Definition at line 68 of file JTriggerEfficiencyRunByRun.sh.