Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ALICE-open-data
ALICE Blender animation
Commits
9be2732a
Commit
9be2732a
authored
Dec 16, 2019
by
Lucas Mello Schnorr
Browse files
use EVENT_ID instead of simple i
parent
58922494
Changes
1
Show whitespace changes
Inline
Side-by-side
workflow_sketch.sh
View file @
9be2732a
...
...
@@ -136,13 +136,14 @@ elif [ "$DEFAULT_ANIMATION" = "false" ]; then
exit
for
((
i
=
0
;
i<n_events
;
i++
))
;
do
aliroot
-q
-b
"runAnalysis.C(
$i
)"
for
EVENT_ID
in
"
$(
seq
${
FIRST_EVENT
}
${
LAST_EVENT
}
)
"
;
do
echo
$EVENT_ID
aliroot
-q
-b
"runAnalysis.C(
${
EVENT_ID
}
)"
ESD_DETAIL
=
${
ALIROOT_SCRIPT_DIR
}
/esd-detail.dat
if
!
[[
-f
"
$ESD_DETAIL
"
]]
then
echo
"ERROR: aliRoot analysis on event
$
i
went wrong."
echo
"ERROR: aliRoot analysis on event
$
{
EVENT_ID
}
went wrong."
fi
##############################
...
...
@@ -151,11 +152,11 @@ elif [ "$DEFAULT_ANIMATION" = "false" ]; then
mv
--verbose
${
ALIROOT_SCRIPT_DIR
}
/
${
FILE_WITH_DATA
}
${
BLENDER_SCRIPT_DIR
}
pushd
${
BLENDER_SCRIPT_DIR
}
for
type
in
"BarrelCamera"
"OverviewCamera"
"ForwardCamera"
;
do
blender
-noaudio
--background
-P
animate_particles.py
--
-radius
=
0.05
-duration
=
1
-camera
=
${
type
}
-datafile
=
"
${
FILE_WITH_DATA
}
"
-n_event
=
$
i
-simulated_t
=
0.02
-fps
=
5
-resolution
=
50
-stamp_note
=
"Texto no canto"
echo
"
${
type
}
for event
$
i
done."
blender
-noaudio
--background
-P
animate_particles.py
--
-radius
=
0.05
-duration
=
1
-camera
=
${
type
}
-datafile
=
"
${
FILE_WITH_DATA
}
"
-n_event
=
$
{
EVENT_ID
}
-simulated_t
=
0.02
-fps
=
5
-resolution
=
50
-stamp_note
=
"Texto no canto"
echo
"
${
type
}
for event
$
{
EVENT_ID
}
done."
done
popd
echo
"EVENT
$
i
DONE."
echo
"EVENT
$
{
EVENT_ID
}
DONE."
done
popd
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment