Geometry in the MVD Software


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:


postscript

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


Here are offline the c++ files, resident on rcas2007.rcf.bnl.gov, in /direct/phenix+u/hubert/offline/packages/mvd

MvdGeoRd.cc read in the geometry
MvdGeoRd.hh header file
mMvdReco.cc main calling routine
mMvdReco.hh header file


Last update 1 Aug 2001 - HvH
back