
The SCT barrel program "as was".
Here is the source
code for the AGDB stuff which generated the first (old) barrel geometry
in 1999. This version is very old, and the style of the code has changed
much in the interim. These pages are still here to serve as a historical
record, and not to learn from, so YOU HAVE BEEN WARNED!
I have placed comments after the three most relevant files, these being:
-
SCT.geo.hh
This is the file which actually contains the SCT barrel "geometry description".
If a similar method were to be used to implement a forward geometry, then
a file analogous to this would have to be created.
-
SCTBarrel.preXml.cc
This is the main program which selects and prepares the preXML file for
reading, and determined where to write the AGDB file which is eventually
produced.
-
preXmlManager.hh
This describes the interface to the manager object which mediates much
of the activities of the two files above.
Most (all?) of the rest are utilities which facillitate the above, and
would not have to be consulted in order to generate a new geometries (except
when the XML format changed, and we all know how likely that is! )
Back to main SCT/AGDD page.