Skip to content

Commit 249f536

Browse files
committed
add PHYS log file to root output file
1 parent f56e9f5 commit 249f536

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

analysis/CTA.WPPhysWriter.qsub.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ then
3636
DE=$(grep "error filling" $OXUTNAME.$AXRRAY.$OXBSTIME.log)
3737
DF=$(grep "error, cannot find effective area tree" $OXUTNAME.$AXRRAY.$OXBSTIME.log)
3838
if [[ -z ${DE} ]] && [[ -z ${DF} ]]; then
39-
bzip2 -f $OXUTNAME.$AXRRAY.$OXBSTIME.log
4039
# root file
4140
DROOT=$(cat $OXUTNAME.$AXRRAY.$OXBSTIME.log | grep "writing histograms" | awk '{print $4}')
4241
if [[ -e ${DROOT} ]]; then
43-
$EVNDISPSYS/bin/logFile IRFLog $OXUTNAME.$AXRRAY.$OXBSTIME.log
42+
$EVNDISPSYS/bin/logFile IRFLog ${DROOT} $OXUTNAME.$AXRRAY.$OXBSTIME.log
43+
rm -f $OXUTNAME.$AXRRAY.$OXBSTIME.log
4444
fi
4545
fi
4646
fi

0 commit comments

Comments
 (0)