Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
athena
Manage
Activity
Members
Labels
Plan
Issues
38
Issue boards
Milestones
Wiki
Code
Merge requests
34
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
detectors
athena
Commits
963e18d1
Commit
963e18d1
authored
3 years ago
by
Whitney Armstrong
Browse files
Options
Downloads
Patches
Plain Diff
View20 update
parent
4a1e0237
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!134
View20 update
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/view20/generate_eps
+18
-7
18 additions, 7 deletions
scripts/view20/generate_eps
with
18 additions
and
7 deletions
scripts/view20/generate_eps
+
18
−
7
View file @
963e18d1
...
@@ -44,12 +44,24 @@ done
...
@@ -44,12 +44,24 @@ done
set
--
"
${
POSITIONAL
[@]
}
"
# restore positional parameters
set
--
"
${
POSITIONAL
[@]
}
"
# restore positional parameters
#npdet_info print EcalEndcapN_z0 --value-only athena.xml
#180.5 cm
# Top view
# Top view with a thin slice down the middle
#dawncut 0 -1 0 1 ${INPUT_FILE} ${FILE_TAG}.prim
dawncut 0 0 1
-1800
${
INPUT_FILE
}
${
FILE_TAG
}
_endcapN_temp0.prim
dawncut 0 1 0 1
${
INPUT_FILE
}
${
FILE_TAG
}
_top_temp0.prim
dawncut 0 0
-1
1805
${
FILE_TAG
}
_endcapN_temp0.prim
${
FILE_TAG
}
_endcapN.prim
../../bin/dawn_tweak
--mag
5
--draw
1
--theta
180
--phi
0
--draw
3
dawn
-d
${
FILE_TAG
}
_endcapN.prim
ps2pdf
${
FILE_TAG
}
_endcapN.eps
${
FILE_TAG
}
_endcapN_full.pdf
gs
-o
${
FILE_TAG
}
_endcapN.pdf
-sDEVICE
=
pdfwrite
\
-c
"[/CropBox [51 250 550 590] /PAGES pdfmark"
\
-f
${
FILE_TAG
}
_endcapN_full.pdf
pdftoppm
${
FILE_TAG
}
_endcapN.pdf
${
FILE_TAG
}
_endcapN
-png
-singlefile
-cropbox
-thinlinemode
solid
-aaVector
yes
# Top view with a thin slice down the middle
dawncut 0 1 0 1
${
INPUT_FILE
}
${
FILE_TAG
}
_top_temp0.prim
dawncut 0
-1
0 1
${
FILE_TAG
}
_top_temp0.prim
${
FILE_TAG
}
_top.prim
dawncut 0
-1
0 1
${
FILE_TAG
}
_top_temp0.prim
${
FILE_TAG
}
_top.prim
../../bin/dawn_tweak
--mag
1
--draw
1
--theta
270
--phi
90
../../bin/dawn_tweak
--mag
2
--draw
1
--theta
270
--phi
90
dawn
-d
${
FILE_TAG
}
_top.prim
dawn
-d
${
FILE_TAG
}
_top.prim
ps2pdf
${
FILE_TAG
}
_top.eps
${
FILE_TAG
}
_top_full.pdf
ps2pdf
${
FILE_TAG
}
_top.eps
${
FILE_TAG
}
_top_full.pdf
gs
-o
${
FILE_TAG
}
_top.pdf
-sDEVICE
=
pdfwrite
\
gs
-o
${
FILE_TAG
}
_top.pdf
-sDEVICE
=
pdfwrite
\
...
@@ -58,9 +70,8 @@ gs -o ${FILE_TAG}_top.pdf -sDEVICE=pdfwrite \
...
@@ -58,9 +70,8 @@ gs -o ${FILE_TAG}_top.pdf -sDEVICE=pdfwrite \
pdftoppm
${
FILE_TAG
}
_top.pdf
${
FILE_TAG
}
_top
-png
-singlefile
-cropbox
-thinlinemode
solid
-aaVector
yes
pdftoppm
${
FILE_TAG
}
_top.pdf
${
FILE_TAG
}
_top
-png
-singlefile
-cropbox
-thinlinemode
solid
-aaVector
yes
# Side view (lines)
# Side view (lines)
dawncut
-1
0 0 1
${
INPUT_FILE
}
${
FILE_TAG
}
.prim
dawncut 1 0 0 1
${
INPUT_FILE
}
${
FILE_TAG
}
_temp0.prim
#@dawncut 1 0 0 1 ${INPUT_FILE} ${FILE_TAG}_temp0.prim
dawncut
-1
0 0 1
${
FILE_TAG
}
_temp0.prim
${
FILE_TAG
}
.prim
#@dawncut -1 0 0 1 ${FILE_TAG}_temp0.prim ${FILE_TAG}.prim
../../bin/dawn_tweak
--mag
1
--draw
1
--theta
180
--phi
90
../../bin/dawn_tweak
--mag
1
--draw
1
--theta
180
--phi
90
dawn
-d
${
FILE_TAG
}
.prim
dawn
-d
${
FILE_TAG
}
.prim
ps2pdf
${
FILE_TAG
}
.eps
${
FILE_TAG
}
_full.pdf
ps2pdf
${
FILE_TAG
}
.eps
${
FILE_TAG
}
_full.pdf
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment