Thoughts on implementing y2012 in AgML and integrating with STARSIM framework

1. The current starsim geometry interface should be preserved.  Users should still be able to instantiate geometry using

starsim> DETP geom y2011a
starsim> GEXE $STAR_LIB/geometry.so
or
starsim> make geometry

2. The above scheme will always yield the AgSTAR version of the geometry for geometries before y2012.  Users should optionally be able to obtain the AgML geometries by loading the AgML library (and the magnetic field) instead.

starsim> DETP geom y2011a
starsim> GEXE $STAR_LIB/libStarMagFieldNoDict.so
starsim> GEXE $STAR_LIB/xgeometry.so

3. We would also like to have a similar interface for the y2012 geometry...

starsim> DETP geom y2012
starsim> GEXE $STAR_LIB/libStarMagFieldNoDict.so
starsim> GEXE $STAR_LIB/xgeometry.so

xgeometry.g is simply a wrapper around geometry.g.  So the geometry.so library will require a stub for every AgML-specific module.  If called, that stub will throw an assert (otherwise an invalid geometry is created).


Plan of Attack

Initial Release: target date 8/15/2011

1. geometry.g remains the single-source description for geometry tags

2. AgML geometries will be stubbed out in geometry.so.  They will only exist in xgeometry.so.

3. Stubbed geometries halt program execution to avoid pilot error.

Minimal Validation Requirements:

1. Less than 1% difference in material budget for all detectors

2. Good correlation of hits between AgML and original geometries.

First Revision: target date 9/15/2011

1. Replace geometry.g with a geometry.xml file

2. geometry.xml will export a geometry.g file which can be compiled, linked into both the geometry.so and xgeometry.so libraries.

Minimal Valdiation Requirements:

1. Less than 1% difference in material budget for all detectors

2. Good correlation of hits between AgML and original geometries.

Full Production: target date 12/15/2011

1. geometry.xml exports geometry.g and geometry.cxx

Minimal Validation Requirements:

1. Less than 1% difference in material budget for all detectors

2. Good correlation of hits between AgML and original geometries.