- 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
AgML Status
Geometry Tune Up I
Identified and corrected AgML Library Status and Tuneup in the AgML library and definition of geometry tags:
Geometry Tune Up II
Identified AgML Library Status and Tuneup, II in the AgML library:
The AgML support library was not handling certain medium parameters properly:
Block BLAH is an example block Material Polystyrene Material MyPolystyrene isvol=1 Shape Meh ... EndBlock
In the above example, the medium parameter isvol=1 is ignored in AgML because it is specified by a Material declaration. In order to fix, I modified the AgML exporter to emit code which modifies the default medium. Note that a subsequent Medium declaration will overwrite anything declared on the material line. This may require another round of modifications to the AgML sources.
After this fix, and some additional code to handle volumes whose creation we defer to position time, we now reproduce the AgSTAR rules for creating a new volume when either the shape or the medium parameters change.
Current Status of the y2011 Geometry: y2011
MTD has a few issues. PMD has many issues, but the geometry itself may be ok (just difference in the geometry tree...)
TPC has a few minor issues... TOIG may have been solved already and not checked into CVS (issue with definition of N - gas).
Thoughts on AgML interface for VMC Application
Need to provide data structures in parallel with the ROOT geometry to (1) define hits, (2) define tracking cuts, (3) define other physics paramters (e.g. reflectivity, cerenkov production, etc...)
class StarGeoVolume: static vector<StarGeoVolume *> mVolumeTable # Map ROOT TGeoVolume to StarGeoVolume by unique vol ID StarGeoShape *mShape # Store shape parameters and ptr to concrete ROOT shape StarGeoMedium *mMedium # Medium with additional cuts, etc... and ptr to concrete ROOT medium StarGeoMaterial *mMaterial # StarGeoInstrument *mInstrument # Structure for holding Hit definitions StarGeoAttribute *mAttribute #
- jwebb's blog
- Login or register to post comments