MOFIA 2.0
E614 Analysis Code


VII. Calibration File Manager (CFM)

E614 will also adopt the Calibration File Manager (CFM) developed for BNL experiment E787. CFM allows the user to associate run numbers with calibration files. Calibration types (plane position corrections, wire position corrections, etc.) may be defined through CFM. For example, DC_PPC defines the calibration type for the Drift Chamber Plane Position Corrections. CFM allows up to 5 characters to identify a component (Drift Chamber, DC, in this case) and up to 3 characters to identify its attributes (Plane Position Corrections, PPC). The file name for a calibration type has the form XXXXX_YYY.NNNNN where NNNNN is a 5-digit (version) number called an indicator. For example DC_PPC.00001 is a PPC file name with indicator number equal to 1. CFM is then asked to associate a run number, or a group of runs with indicator 1 for the calibration type DC_PPC. When MOFIA is run it checks the run number and obtains the indicator number and the file name for each calibration type from CFM. CFM expects all calibration files to reside in the directory defined by the environment variable CAL_DB. To run CFM type CFM (outside MOFIA). Commands may be issued at the CFM command line to view the contents of CFM or modify and change the existing information. The help command provides the user with online help. For a more detailed description of CFM, please refer to the E787 document by Morgan Burke.

Several calibration files have been defined in CFM for use with MOFIA 2.0, and are listed below:
 

Type Number Type Description
1: DC_PPC Drift chamber UV plane position corrections
2: DC_WPC Drift chamber UV wire position corrections
3: DC_RES Drift chamber resolution parameters
4: DC_PRC Drift chamber plane rotation corrections
5: DT_GEO Detector Geometry
6: FBC1_MAP Mapping file for first FASTBUS crate
7: FBC2_MAP Mapping file for second FASTBUS crate
8: FBC3_MAP Mapping file for third FASTBUS crate
9: DC_PZC Drift chamber plane Z position corrections
10: DC_WZC Drift chamber wire Z position corrections
11: DC_WRC Drift chamber wire rotation corrections 

Table 6. Calibration files currently installed in the Calibration File Manager (CFM).