Skip to content

Commit c9541eb

Browse files
authored
Merge pull request #32 from Eventdisplay/v1.6.1-beta
Updates for prod5b North response
2 parents faf11c4 + 4cd12d9 commit c9541eb

8 files changed

+41
-26
lines changed

CTA.mainRunScripts.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ if [ $# -lt 2 ]; then
1111
1212
data sets:
1313
prod5-South-20deg prod5-South-40deg prod5-South-60deg
14+
prod5-South-20deg-moon prod5-South-40deg-moon prod5-South-60deg-moon
1415
prod5b-North-20deg prod5b-North-40deg prod5b-North-60deg
16+
prod5b-North-20deg-moon prod5b-North-40deg-moon prod5b-North-60deg-moon
1517
prod3b-S20deg-SCTAlpha
1618
1719
run modes:
@@ -75,9 +77,11 @@ else
7577
else
7678
for M in "${NMULT[@]}"
7779
do
78-
./CTA.runAnalysis.sh ${P2} ${RUN} 0 $M $M $M $M
79-
# ./CTA.runAnalysis.sh ${P2} ${RUN} 2 $M $M $M $M
80-
./CTA.runAnalysis.sh ${P2}-sub ${RUN} 0 $M $M $M $M
80+
for L in "${LSTMULT[@]}"
81+
do
82+
./CTA.runAnalysis.sh ${P2} ${RUN} 0 $L $M $M $M
83+
done
84+
./CTA.runAnalysis.sh ${P2}-sub ${RUN} 0 $M $M $M $M
8185
done
8286
fi
8387
fi

CTA.runAnalysis.sh

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -223,17 +223,20 @@ then
223223
if [[ $P2 == *"moon"* ]]; then
224224
SITE="${SITE}-NSB5x"
225225
fi
226-
EDM="-sq20-LL"
226+
EDM="-lin40-LL"
227227
if [[ $P2 == *"DL2plus"* ]]; then
228+
EDM="-lin30-LL"
228229
EDM="-sq10-LL-DL2plus"
229230
fi
230231
ARRAY=( "subArray.prod5.North-SV3.list" )
231232
ARRAY=( "subArray.prod5.North-BL.list" )
232233
ARRAY=( "subArray.prod5.North-D25.list" )
234+
ARRAY=( "subArray.prod5.North-Alpha-MSTF.list" )
233235
ARRAY=( "subArray.prod5.North-Alpha.list" )
234236
if [[ $P2 == *"sub"* ]]; then
235237
ARRAY=( "subArray.prod5.North-SV3-sub.list" )
236238
ARRAY=( "subArray.prod5.North-D25-sub.list" )
239+
ARRAY=( "subArray.prod5.North-Alpha-MSTF-sub.list" )
237240
ARRAY=( "subArray.prod5.North-Alpha-sub.list" )
238241
fi
239242
if [[ $P2 == *"LST"* ]]; then
@@ -245,6 +248,7 @@ then
245248
ARRAYDIR="prod5"
246249
TDATE="g20210610"
247250
ANADATE="${TDATE}"
251+
ANADATE="g20220408"
248252
TMVADATE="${ANADATE}"
249253
EFFDATE="${ANADATE}"
250254
# PHYSDATE="${EFFDATE}"
@@ -264,8 +268,7 @@ then
264268
if [[ $P2 == *"moon"* ]]; then
265269
SITE="${SITE}-NSB5x"
266270
fi
267-
EDM="-sq70-LL"
268-
EDM="-sq20-LL"
271+
EDM="-sq40-LL"
269272
if [[ $P2 == *"DL2plus"* ]]; then
270273
EDM="-sq10-LL-DL2plus"
271274
fi
@@ -274,7 +277,6 @@ then
274277
ARRAY=( "subArray.prod5.South-AlphaLSTs.list" )
275278
##
276279
ARRAY=( "subArray.prod5.South-AlphaC8aj.list" )
277-
ARRAY=( "subArray.prod5.South-BetaPlus.list" )
278280
ARRAY=( "subArray.prod5.South-AlphaC8aj-BetaPlus.list" )
279281
if [[ $P2 == *"sub"* ]]; then
280282
ARRAY=( "subArray.prod5.South-BL-sub.list" )
@@ -300,9 +302,9 @@ then
300302
ARRAY=( "subArray.prod5.South-SV0.list" )
301303
fi
302304
ARRAYDIR="prod5"
303-
TDATE="g20210610"
305+
TDATE="g20220408"
304306
ANADATE="${TDATE}"
305-
ANADATE="g20220103"
307+
ANADATE="g20220408"
306308
TMVADATE="${ANADATE}"
307309
EFFDATE="${ANADATE}"
308310
PHYSDATE="${EFFDATE}"
@@ -335,7 +337,7 @@ NIMAGESMIN=$((SCMST<NIMAGESMIN ? SCMST : NIMAGESMIN))
335337
OBSTIME=( "50h" "5h" "30m" "10m" "10h" "20h" "100h" "500h" "5m" "1m" "2h" )
336338
OBSTIME=( "10s" "30s" "300s" "1000s" "3000s" "10000s" "30000s" )
337339
OBSTIME=( "50h" "30m" )
338-
OBSTIME=( "5h" )
340+
OBSTIME=( "50h" "5h" )
339341
OBSTIME=( "50h" "5h" "30m" "100s" )
340342

341343
echo "$RUN" "$SITE"
@@ -522,6 +524,15 @@ do
522524
echo "NSCMST ${SCMST}" >> "$PARA"
523525
echo "OBSERVINGTIME_H $OOTIME" >> "$PARA"
524526
echo "GETXOFFYOFFAFTERCUTS yes" >> "$PARA"
527+
if [[ ${SITE} == *"paranal"* ]]; then
528+
echo "THETA2MINENEERGY 1." >> "$PARA"
529+
else
530+
if [[ ${OOTIME} != "50h" ]]; then
531+
echo "THETA2MINENEERGY 0.35" >> "$PARA"
532+
else
533+
echo "THETA2MINENEERGY 1." >> "$PARA"
534+
fi
535+
fi
525536
echo "OFFAXISFINEBINNING $BFINEBINNING" >> "$PARA"
526537
if [[ ${RUN} == "CUTS" ]] && [[ ${OOTIME} == "50h" ]]; then
527538
if [[ $P2 == *"DL2plus"* ]] || [[ $EDM == *"sq70"* ]]; then

analysis/CTA.EFFAREA.qsub_analyse_list.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ else
9191
echo "Problem / error? ${TELLIST} teltype file not found"
9292
exit
9393
fi
94+
THETA2MINENEERGY=`grep THETA2MINENEERGY $ANAPAR | awk {'print $2'}`
9495

9596
for T in LST MST SST SCMST
9697
do
@@ -444,11 +445,13 @@ do
444445
-e "s|TELTYPESSCMST|$TELTYPESSCMST|" \
445446
-e "s|MCAZIMUTH|${VMCAZ}|" \
446447
-e "s|ANGRESFILE|$ANGRESFILE|" \
448+
-e "s|THETA2ENERGYMIN|${THETA2MINENEERGY}|" \
447449
-e "s|PARTICLENUMBERFILE|$PNF|" \
448450
-e "s|MAXCOREDISTANCE|$MAXCDISTANCE|" \
449451
-e "s|OBSERVINGTIME_H|$OBSTIME|" $iCFIL
450452

451453
echo "CUTFIL $iCFIL"
454+
cat $iCFIL
452455
CUTFILIST[$ii]=$iCFIL
453456
###############################################################################
454457
# unpack XML files from TMVA

analysis/CTA.MSCW_ENERGY.qsub_analyse_MC.sh

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,15 @@ fi
117117

118118
#########################################
119119
# options for simple stereo reconstruction
120-
#MOPT="$MOPT -redo_stereo_reconstruction -sub_array_sim_telarray_counting $LISFILE -minangle_stereo_reconstruction=15"
121-
MOPT="$MOPT -redo_stereo_reconstruction -sub_array_sim_telarray_counting $LISFILE -minangle_stereo_reconstruction=0.01"
122-
123-
# IMPORTANT: this must be the same or lower value as in dispBDT training
124-
MOPT="$MOPT -maxloss=0.2 -minfui=0."
120+
MOPT="$MOPT -redo_stereo_reconstruction -sub_array_sim_telarray_counting $LISFILE"
125121
if [[ $DSET == *"LaPalma"* ]]; then
126-
MOPT="$MOPT -maxdistfraction=0.70"
122+
MOPT="$MOPT -minangle_stereo_reconstruction=15."
127123
else
128-
MOPT="$MOPT -maxdistfraction=0.80"
124+
MOPT="$MOPT -minangle_stereo_reconstruction=0.01"
129125
fi
126+
# IMPORTANT: this must be the same or lower value as in dispBDT training
127+
MOPT="$MOPT -maxloss=0.2 -minfui=0."
128+
MOPT="$MOPT -maxdistfraction=0.80"
130129

131130
#########################################
132131
# disp reconstruction

analysis/CTA.WPPhysWriter.sub.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ do
7979
OXUTNAME=${ODIR}/${OUTNAME}
8080
echo "WP Phys file written to $OXUTNAME"
8181

82-
FNAM=${FDIR}/$FSCRIPT-$ARRAY-$DSET-$OBSTIME.sh
82+
FNAM=${FDIR}/$FSCRIPT-$ARRAY-$DSET-$OBSTIME-$(basename $OXUTNAME).sh
8383
cp -f $FSCRIPT.sh $FNAM
8484

8585
echo "run script $FNAM"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
N.D25-0LSTs09MSTs-MSTF
2+
N.BL-0LSTs15MSTs-MSTF
3+
N.TS-0LSTs05MSTs-MSTF
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
N.D25-4LSTs09MSTs-MSTF
2+
N.BL-4LSTs15MSTs-MSTF
3+
N.TS-4LSTs05MSTs-MSTF

prod5/subArray.prod5.South-BetaPlus.list

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)