In the current MVD software, geometry information in various components is buried in the code. While at the moment this has not led to any problems, aside from duplication of effort, this situation is likely to cause trouble as time goes on.
Therefore, the MVD software is currently being converted such that a single source is used for the geometry information, corresponding to the model in this figure:
The geometry data base can take any form. For now, it is a flat ascii file. Since the Monte Carlo needs to have more information than any of the other components that use geometry information, the format and content of what is actually stored is driven by Geant.
This is in progress. So far (6 Nov 2000), only the Pisa code has been converted. The analysis is next. Here are some the relevant files:
ver.f | top-level MVD (Pisa) routine |
ver_geom.dat | geometry data base file |
ver_geom.inc | common block that holds the geometry |
ver_getg.f | get the geometry from the data base |
ver_loadg.f | load the geometry into Geant |
ver_parse_rec.f | parse a geometry record |
ver_parse_rot.f | parse a rotation record |
MvdGeoRd.cc | read in the geometry |
MvdGeoRd.hh | header file |
mMvdReco.cc | main calling routine |
mMvdReco.hh | header file |