- jwebb's home page
- Posts
- 2019
- 2018
- 2017
- 2016
- 2015
- 2014
- 2013
- November (1)
- October (1)
- September (1)
- July (1)
- June (1)
- April (1)
- March (3)
- February (1)
- January (1)
- 2012
- 2011
- December (2)
- September (3)
- August (5)
- July (6)
- June (6)
- May (1)
- April (5)
- March (5)
- February (2)
- January (2)
- 2010
- December (3)
- October (3)
- September (2)
- August (2)
- June (2)
- May (4)
- April (4)
- March (2)
- February (4)
- January (10)
- 2009
- 2008
- 2007
- 2006
- July (1)
- My blog
- Post new blog entry
- All blogs
HOWTO: Generate geometry material differential plots using StarBASE
This blog entry shows how to run the starbase application to generate plots showing the changes in material between two detector geometries.
# Checkout and compile the StarBASE library
$ cvs co StarVMC/StarBASE
$ cons
# Create symbolic links for convenience
$ ln -s StarVMC/StarBASE/macros/starbase.py .
$ ln -s StarVMC/StarBASE/macros/differential.py .
# Get the options for the two codes
$ ./starbase.py --help
$ ./differential.py --help
# Run the code for two geometry tags which you
# are interested in comparing
$ ./starbase.py --phimin=-1.5 --phimax=+1.5 --geom=y2006
$ ./starbase.py --phimin=-1.5 --phimax=+1.5 --geom=y2006h
# Generate a comparison of the two geometries
$ ./differential --base=y2006 --geom=y2006h
$ ls *.pdf
# Examine in more details changes made to specific volumes
$ ./differential --base=y2006 --geom=y2006h --volume=SVTT
$ ./differential --base=y2006 --geom=y2006h --volume=EMSS
$ ./differential --base=y2006 --geom=y2006h --volume=CALB
# etc...
Groups:
- jwebb's blog
- Login or register to post comments