File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,24 @@ ACTS_FILES=(
32
32
for file in ${ACTS_FILES[@]} ; do
33
33
if [ ! -f ${file} ] ; then
34
34
curl --silent --location --create-dirs --output ${file} ${ACTS_URL} /${ACTS_VERSION} /${file}
35
+ if [ " ${file} " = " Examples/Scripts/MaterialMapping/Mat_map.C" ] ; then
36
+ # help with B0 being cropped
37
+ patch -p1 << EOF
38
+ diff -aru a/Examples/Scripts/MaterialMapping/Mat_map.C b/Examples/Scripts/MaterialMapping/Mat_map.C
39
+ --- a/Examples/Scripts/MaterialMapping/Mat_map.C
40
+ +++ b/Examples/Scripts/MaterialMapping/Mat_map.C
41
+ @@ -145,7 +145,8 @@
42
+
43
+ // 2D map for Validation input
44
+ TCanvas *VM = new TCanvas("VM","Validation Map") ;
45
+ - Val_file->Draw("mat_y:mat_z","fabs(mat_x)<1");
46
+ + Val_file->Draw("sqrt(mat_x**2+mat_y**2):mat_z>>mat_map1","(mat_z>-5000)&(mat_z<8000)");
47
+ + VM->SetGrid();
48
+
49
+ eta_0->Draw("Same");
50
+ eta_1p->Draw("Same");
51
+ EOF
52
+ fi
35
53
fi
36
54
done
37
55
export PYTHONPATH=$PWD /Examples/Scripts/Python:$PYTHONPATH
You can’t perform that action at this time.
0 commit comments