File indexing completed on 2024-04-06 11:57:57
0001
0002
0003
0004
0005 export HERE=${PWD}
0006 export MEPERIOD=$1
0007 export LINK=${HERE}/${MEPERIOD}
0008 export MUSECAL=${LINK}/musecal
0009 echo MUSECAL=${MUSECAL}
0010
0011 export PATH=$ROOTSYS/bin:$PATH
0012 export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
0013 export LD_LIBRARY_PATH=${MUSECAL}/lib:${LD_LIBRARY_PATH}
0014 export PATH=${MUSECAL}:${PATH}
0015 export PATH=${MUSECAL}/bin:${PATH}
0016
0017 if [ -z $ROOTSYS ]; then
0018 echo "Warning ROOTSYS is not yet defined"
0019 else
0020 echo "ROOTSYS="$ROOTSYS
0021 fi
0022
0023
0024
0025
0026
0027 export MEPSDIR=${HERE}/ps
0028 export MELMDAT=${LINK}
0029 export MELPRIM=${LINK}/primitives
0030 export MESTORE=/nfshome0/ecallaser/LaserPrim/${MEPERIOD}
0031
0032 echo 'Laser Monitoring Directory: '
0033 echo MELMDAT=$MELMDAT
0034 if [ -d $MELMDAT ]
0035 then
0036 echo '... OK'
0037 else
0038 echo '... is not present -- primitive NTuples cannot be created'
0039 fi
0040
0041
0042 echo 'MusEcal Laser Primitive Directory for the Period: '
0043 echo MESTORE=$MESTORE
0044 if [ -d $MESTORE ]; then
0045 echo '... OK'
0046 else
0047 echo '... directory does not exist -- create'
0048 mkdir $MESTORE
0049 if [ -d $MESTORE ]; then
0050 echo '... OK'
0051 else
0052 echo '...creation failed'
0053 return
0054 fi
0055 fi
0056
0057 echo 'MusEcal Laser Primitive Directory: '
0058 echo MELPRIM=$MELPRIM
0059 if [ -d $MELPRIM ]; then
0060 echo '... OK'
0061 else
0062 echo '... link does not exist -- create'
0063 ln -s $MESTORE $MELPRIM
0064 if [ -d $MELPRIM ]; then
0065 echo '... OK'
0066 else
0067 echo '...creation failed'
0068 return
0069 fi
0070 fi
0071
0072
0073 export MECONFIG=${LINK}/meconfig
0074
0075
0076
0077
0078
0079