Jpp  15.0.1-rc.1-highQE
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JEvD.sh
Go to the documentation of this file.
1 #!/bin/zsh
2 
3 if [ -z $JPP_DIR ]; then
4  echo "Variable JPP_DIR undefined."
5  exit
6 fi
7 
8 source $JPP_DIR/setenv.sh $JPP_DIR
9 
11 set_variable PDF $JPP_DATA/J%p.dat
12 set_variable DIR $JPP_DIR/examples/JReconstruction
13 set_variable EVENT_SELECTOR $DIR/event_selector.so
14 set_variable: FORMAT GRAPHICS_FORMAT gif
15 set_variable+ BATCH GRAPHICS_BATCH -B
16 
17 if do_usage $*; then
18  usage "$script <detector file> <input file>"
19 fi
20 
21 case $# in
24  *) fatal "Wrong number of arguments."
25 esac
26 
27 make -C $DIR JEvD
28 make -C $DIR libs
29 
30 insert_directory LD_LIBRARY_PATH $DIR
31 
32 PARAMETERS=(
33  TTS_ns 2
34  E_GeV 1.0e3
35  TMin_ns -50.0
36  TMax_ns +450.0
37  R_Hz 6.0e3
38  roadWidth_m 150.0
39  numberOfPrefits 0)
40 
41 eval $DIR/JEvD \
42  -f $INPUT_FILE \
43  -a $DETECTOR \
44  -P $PDF \
45  ${EVENT_SELECTOR:+-L \$EVENT_SELECTOR} \
46  -@ `make_equation PARAMETERS` \
47  -o %.$FORMAT \
48  -d $DEBUG $BATCH
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR set_variable DEBUG set_variable PDF $JPP_DATA J p dat set_variable HISTOGRAM if do_usage *then usage $script< detector file >< inputfile >< outputfile > fi case set_variable PDF
then JMuonPostfit f
static const char *const LD_LIBRARY_PATH
Nick names of environment variables.
Definition: JeepToolkit.hh:31
set_variable INPUT_FILE
exit
Definition: JPizza.sh:36
do echo Generating $dir eval DIR
Definition: JPlotNPE1D.sh:54
then echo
static const double C
Physics constants.
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
Definition: JAcoustics.sh:20
do $DIR JTransitTime o
Definition: JTransitTime.sh:44
* usage
then JFileTuna f $INPUT_FILE
Definition: file-Tuna.sh:66
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
Definition: JMuonPath.sh:47
then JCalibrateToT a
Definition: JTuneHV.sh:116
then set_variable MODULE getModule a $DETECTOR L $STRING $FLOOR JEditDetector a $DETECTOR M $MODULE add $X o $DETECTOR else echo No update of detector $DETECTOR
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
set_variable DETECTOR
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
Definition: JCanberra.sh:41
then usage $script< detector file >< inputfile > fi case set_array PARAMETERS
then $DIR JPlotNPE PDG P
Definition: JPlotNPE-PDG.sh:62