Skip to content

Commit

Permalink
Switch off creation of ESD tags in data and MC processing
Browse files Browse the repository at this point in the history
  • Loading branch information
fprino committed Sep 7, 2017
1 parent 52f8cfc commit ca211ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 34 deletions.
30 changes: 1 addition & 29 deletions DataProc/PPass/runPPass.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,7 @@ else
fi
fi

if [ -f tag.C ]; then
echo "Use tag.C macro passed as input"
else
echo "Use tag.C macro from AliDPG"
cp $ALIDPG_ROOT/DataProc/PPass/tag.C .
fi
# ESD tag creation removed on September 2017 after CB and PB discussions

if [ -f QAtrain_duo.C ]; then
echo "Use QAtrain_duo.C macro passed as input"
Expand Down Expand Up @@ -260,29 +255,6 @@ if [ "$pass_type" == "ppass" ] && [ -n "$preclusterizeTPC" ] && [ -f TPC.RecPoin
fi


echo "* Running AliRoot to generate Tags..."
echo ""
echo "running the following tag.C macro:"
cat tag.C
echo ""
echo "" >&2
echo "tag.C" >&2
echo executing aliroot -l -b -q -x tag.C\(\)
timeStart=`date +%s`
time aliroot -l -b -q -x tag.C\(\) &> tag.log

exitcode=$?
timeEnd=`date +%s`
timeUsed=$(( $timeUsed+$timeEnd-$timeStart ))
delta=$(( $timeEnd-$timeStart ))
echo "tag: delta = $delta, timeUsed so far = $timeUsed"
echo "tag: delta = $delta, timeUsed so far = $timeUsed" >&2
echo "Exit code: $exitcode"

if [ $exitcode -ne 0 ]; then
echo "tag.C exited with code $exitcode" > validation_error.message
exit 50
fi

for file in *.stat; do
mv $file $file.rec
Expand Down
8 changes: 3 additions & 5 deletions MC/dpgsim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -690,11 +690,9 @@ if [[ $CONFIG_MODE == *"rec"* ]] || [[ $CONFIG_MODE == *"full"* ]]; then
exit 2
fi

TAGC=$ALIDPG_ROOT/MC/tag.C
if [ -f tag.C ]; then
TAGC=tag.C
fi
runcommand "TAG" $TAGC tag.log 50

# ESD tag creation removed on September 2017 after CB and PB discussions


CHECKESDC=$ALIDPG_ROOT/MC/CheckESD.C
if [ -f CheckESD.C ]; then
Expand Down

0 comments on commit ca211ed

Please sign in to comment.