- 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: Perform regression tests on geometries
# 1) Check the geometry differential code out of CVS and setup the scripts $ cvs co StarVMC/StarBASE $ ln -s StarVMC/StarBASE/macros/starbase.py . $ ln -s StarVMC/StarBASE/macros/differential.py . # 2) Check out the MC geometry $ cvs co pams/geometry # 3) Compile it all under DEV $ stardev $ cons # 4) Now run the starbase application on the geometry which you will
# be modifying. Be sure to select an eta and phi range which is
# appropriate for your detector. The following example treats the
# case where we want to modify the EEMC (ECAL geometry). Note that
# phimin and phimax are in degrees. The code takes some time to
# execute, so we limit it to a 30 degree sector. [1] $ starbase.py --name=ecal_baseline --geom=y2006h --etamin=0.8 --etamax=2.2 --phimin=-15.0 --phimax=+15.0 # 5) Make your modifications to the geometry. When you are done, you
# can compare the material budget vs eta by running the differential
# code $ differential.py --base=ecal_baseline --geom=y2006h --top=CAVE # CAVE and daughter volumes $ differential.py --base=ecal_baseline --geom=y2006h --top=ECAL # ECAL and daughter volumes $ differential.py --base=ecal_baseline --geom=y2006h --top=EMSS # etc...
Notes:
[1] Do not use dashes ("-") in names. ROOT will not be able to create the geometry with a "-" in the name.
Groups:
- jwebb's blog
- Login or register to post comments