Recent changes in MVD software

Changes described in this section took place 13-Jul-98:

A first pass at the "12 step program" for the MVD -- code to help write simulationed data in raw data format -- is complete. Some notes about the "12 step program" for the MVD are at (a link from the MVD software page): here.

The following new modules were added to the cvs repository:

  • mvd/src/mMvdFEM.c and mMvdFEM.idl -- fill dMvdFEM table using dMvbRaw and dMvcRaw as input
  • mvd/src/mMvdDCM.c and mMvdDCM.idl -- fill dMvdDCM table using dMvdFEM as input
  • mvd/src/mMvdUnpack.c and mMvdUnpack.idl -- fill dMvbRaw and dMvcRaw tables using dMvdDCM as input

    The following new idl files were been added:

  • mvd/inc/dMvdFEM.idl -- input packet to MVD's DCM's
  • mvd/inc/dMvdDCM.idl -- output packet from MVD's DCM's

    The following kumac files have been changed in the repository:

  • mvd/wrk/luxini.kumac -- added "newtable" commands for dMvdFEM, dMvdDCM
  • mvd/wrk/luxrun.kumac -- added calls to mMvdFEM, mMvdDCM, mMvdUnpack

    The changes in the kumac files are optional -- the code will work with or without the changes. The added calls to mMvdFEM, mMvdDCM, mMvdUnpack will use the "Raw" table to fill the "FEM" table, then the "DCM" table, and will then erase and refill the "Raw" tables. Therefore, if you include these calls you will
    1) use more cpu time
    2) test the new modules for the "12 step program"

    The biggest problem with this new code is that some geometry constants are inside the new routines. Although these constants are not likely to change, they should be taken from the various staf geometry tables. I decided to release this code as is, since it seems to work, and make those changes later.


    The set of changes described here were made 6-Jul-1998. The reasons for the changes were
    1) fill the "official" MVD output table dMvddNdEtaOut (for dN/deta) and use it to fill histograms
    2) misc minor improvements in software and/or additions of comments

    Users of the code will have to change their staf kumacs because some of the calling sequences of the routines have been changed. Details follow.

    Here is a description of the changes in each file:

  • dMvddNdEtaOut.idl--- new file (an MVD output table)
  • dMvdClmp.idl --- added comments
  • dMvdNclmp.idl --- added comments
  • mMvbdNdEta.c --- Added new staf table dMvddNdEtaOut to calling sequence. Removed dMvdHst from calling sequence. Changed calling sequence of function MvbEta. Remove code which booked and filled histograms (it is now done elsewhere). Add dphi correction (the active part of each row of Si occupies less than 60 degrees in phi due to dead areas at the edges, etc.) Also add dN/deta*dphi. Define first software ID codes.
  • mMvbdNdEta.idl --- Added dMvddNdEtaOut to calling sequence. Removed dMvdHst from calling sequence.
  • mMvcdNdEta.c --- Added new staf table dMvddNdEtaOut to calling sequence. Add code to save dN/deta in dMvddNdEtaOut. Changed calling sequence to MvcEta to add a calculation of the uncertainty.
  • mMvcdNdEta.idl --- Added new staf table dMvddNdEtaOut to calling sequence.
  • mMvdHst.c --- Added new staf table dMvddNdEtaOut to calling sequence. Use data in dMvddNdEtaOut to construct dN/deta histograms.
  • mMvdHst.idl --- Added new staf table dMvddNdEtaOut to calling sequence.
  • mMvdPseudoTrk.c -- Make the binsize easier to change for pseudotracking. It is now controlled by ZRESOLUTION. Also, change its value from 200 microns to 300 microns which seems to give slightly better vertex finding-efficiency. In the process add some comments.
  • luxini.kumac -- add "newtable" command for dMvddNdEtaOut
  • luxrun.kumac -- Change calling sequence for mMvbdNdEta, mMvcdNdEta, mMvdHst. For details see descriptions of changes in idl files above. Add "tdm/table/rowcount dMvddNdEtaOut 0" at the beginning of every new event.

    I do not use the following kumacs, but I tried to update them to work with the new code. I have not tested them however:
    File: mvd_1_event.kumac -- Change calling sequence for mMvbdNdEta, mMvcdNdEta, mMvdHst. For details see descriptions of changes in idl files above.
    File: mvd_init.kumac -- add "newtable" command for dMvddNdEtaOut
    File: mvd_clear.kumac -- Add "tdm/table/rowcount dMvddNdEtaOut 0"


    The previous version of this page (dated 30-Apr-98) is here.


    updated 13-Jul-1998