Commit 18c5719a authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

Adding markdown page for detector views

	modified:   README.md
	new file:   views/detector_views.md
parent 6551d0fd
Pipeline #7294 passed with stages
in 8 minutes and 48 seconds
......@@ -16,6 +16,9 @@ Quick start
[Browse latest](https://eicweb.phy.anl.gov/EIC/detectors/topside/-/jobs/artifacts/master/browse/images?job=report)
[Detector views](views/detector_views.md)
<a href="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view01.pdf?job=report">
<img src="https://eicweb.phy.anl.gov/api/v4/projects/390/jobs/artifacts/master/raw/images/view01.png?job=report" width="600px" />
</a>
......
......@@ -6,7 +6,7 @@
0
1500
55
1
3
0.001
0
1
......
#!/bin/bash
#trignometry
sin ()
{
echo "scale=5;s($1)" | bc -l
}
add ()
{
echo "scale=5;$1 + $2" | bc -l
}
cos ()
{
echo "scale=5;c($1)" | bc -l
}
tan ()
{
echo "scale=5;s($1)/c($1)" | bc -l
}
#sin ()
#{
# echo "scale=5;s($1)" | bc -l
#}
#
#add ()
#{
# echo "scale=5;$1 + $2" | bc -l
#}
#
#cos ()
#{
# echo "scale=5;c($1)" | bc -l
#}
#
#tan ()
#{
# echo "scale=5;s($1)/c($1)" | bc -l
#}
function print_the_help {
......
1.34392e+07
54.0
72.5
189.5
0
0
0
1500
10
50
3
0.001
0
......
#!/bin/bash
#trignometry
sin ()
{
echo "scale=5;s($1)" | bc -l
}
add ()
{
echo "scale=5;$1 + $2" | bc -l
}
cos ()
{
echo "scale=5;c($1)" | bc -l
}
tan ()
{
echo "scale=5;s($1)/c($1)" | bc -l
}
#sin ()
#{
# echo "scale=5;s($1)" | bc -l
#}
#
#add ()
#{
# echo "scale=5;$1 + $2" | bc -l
#}
#
#cos ()
#{
# echo "scale=5;c($1)" | bc -l
#}
#
#tan ()
#{
# echo "scale=5;s($1)/c($1)" | bc -l
#}
function print_the_help {
......
......@@ -9,8 +9,8 @@ function print_the_help {
exit
}
FILE_TAG="view2"
INPUT_FILE="g4_0000.prim"
FILE_TAG="view02"
INPUT_FILE="../../g4_0000.prim"
POSITIONAL=()
......@@ -47,7 +47,7 @@ set -- "${POSITIONAL[@]}" # restore positional parameters
# units are mm
dawncut 0 0 -1 1 ${INPUT_FILE} ${FILE_TAG}a_temp0.prim
dawncut 0 0 1 1 ${FILE_TAG}a_temp0.prim ${FILE_TAG}a.prim
dawn ${FILE_TAG}a.prim
dawn -d ${FILE_TAG}a.prim
ps2pdf ${FILE_TAG}a.eps ${FILE_TAG}a_full.pdf
gs -o ${FILE_TAG}a.pdf -sDEVICE=pdfwrite \
-c "[/CropBox [50 175 550 675] /PAGES pdfmark" \
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment