| 1 | #!/bin/bash
|
|---|
| 2 | #
|
|---|
| 3 | # This a resource file for the scripts, in which paths, variables
|
|---|
| 4 | # and setups are defined
|
|---|
| 5 | #
|
|---|
| 6 | # This setup file is for the machine data in La Palma
|
|---|
| 7 | #
|
|---|
| 8 |
|
|---|
| 9 | # setup to use ftools
|
|---|
| 10 | export HEADAS=/opt/heasoft-6.11/x86_64-unknown-linux-gnu-libc2.13-0/
|
|---|
| 11 | export HEADASPROMPT=/dev/null
|
|---|
| 12 |
|
|---|
| 13 | # setup to use ROOT
|
|---|
| 14 | root=/opt/root_svn/bin/thisroot.sh
|
|---|
| 15 | source $root
|
|---|
| 16 |
|
|---|
| 17 | # software versions
|
|---|
| 18 | export factpath=/home/fact/FACT++
|
|---|
| 19 | #export mars=/home/fact/SW.automatic.processing/Mars.CheObs.svn.2012.01.25
|
|---|
| 20 | export mars=/home/fact/fast_setup_for_automatic_analysis/Mars.von.Thomas.2012.06.22
|
|---|
| 21 |
|
|---|
| 22 | # site
|
|---|
| 23 | processingsite=lp
|
|---|
| 24 | sitekey=3
|
|---|
| 25 | storagesite=wue
|
|---|
| 26 |
|
|---|
| 27 | # logging and setup
|
|---|
| 28 | logpath=/home/fact/logs.automatic.processing/autologs
|
|---|
| 29 | lockpath=/home/fact/logs.automatic.processing/locks
|
|---|
| 30 | #setuppath=/magic/simulated/setup
|
|---|
| 31 | rsynctempdir=/loc_data/rsync_tmp
|
|---|
| 32 | if ! [ -d $rsynctempdir ]
|
|---|
| 33 | then
|
|---|
| 34 | mkdir $rsynctempdir
|
|---|
| 35 | fi
|
|---|
| 36 |
|
|---|
| 37 | # data paths
|
|---|
| 38 | anapath=/loc_data/analysis # on daq
|
|---|
| 39 | auxdata=/loc_data/aux
|
|---|
| 40 | auxdata_for_sed=$(printf "%s\n" "$auxdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
|
|---|
| 41 | rawdata=/data00/fact-construction/raw
|
|---|
| 42 | rawdata_for_sed=$(printf "%s\n" "$rawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
|
|---|
| 43 | ziprawdata=/loc_data/zipraw
|
|---|
| 44 | ziprawdata_for_sed=$(printf "%s\n" "$ziprawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
|
|---|
| 45 |
|
|---|
| 46 | # get paths for mars, macros and scripts
|
|---|
| 47 | # in case the variable is not yet set
|
|---|
| 48 | macrospath=$mars/datacenter/macros
|
|---|
| 49 | scriptspath=$mars/datacenter/scripts
|
|---|
| 50 | # rcfiles
|
|---|
| 51 | # dependencies of steps
|
|---|
| 52 | steps=$mars/resources/steps_fact.rc
|
|---|
| 53 | # file with db information
|
|---|
| 54 | sqlrc=$mars/sql.rc
|
|---|
| 55 |
|
|---|
| 56 |
|
|---|
| 57 | #addresses to which the errors are sent
|
|---|
| 58 | erradrs="dorner@astro.uni-wuerzburg.de"
|
|---|
| 59 | #addresses to which the changes are sent
|
|---|
| 60 | adrs="dorner@astro.uni-wuerzburg.de"
|
|---|
| 61 |
|
|---|
| 62 | # setup for Step1.sh
|
|---|
| 63 | bwlimit=70000
|
|---|
| 64 | numcallistos=4
|
|---|
| 65 |
|
|---|
| 66 | # setup for FillNumEvts.sh and Step3.sh
|
|---|
| 67 | resulttable1="AnalysisResultsRunLP"
|
|---|
| 68 | resulttable2="AnalysisResultsNightLP"
|
|---|
| 69 | firstnight=20121213
|
|---|