Current Code Release: October 23, 2002

Update of executables to p11.13.00

reco_analyze is now working. Please include it in processing for p11.13.00.

Store: reco, thumbnail, and reco_analyze output.

Note, I have changed the structure of the tarballs so that they do not include the libraries or the rcp databases. These are now contained within there own files. This slightly reduces the size of the tarballs and reduces time to extract them.

Use the Linux2.4 version of the rcp file/

The tarballs to obtain are:

Common Files: d0mino.fnal.gov:/d0dist/dist/minitar/tarfiles
mc_runjob_v04-00-05.tar.gz
mc_runjob_patch2_v04-00-05.tar.gz
mc_runjob_patch_v04-00-05.tar.gz
xcardfiles-v00-04-05.tar.gz
MagField-v00-01-00.tar.gz
Linux 7.1
lib-p11.13.00-Linux2.4-KCC_4_0-maxopt.tar.gz

lib-p11.13.00-Linux2.4-KCC_4_0.tar.gz

mc-p11.13.00-Linux2.4-KCC_4_0-maxopt.tar.gz
mc-p11.13.00-Linux2.4-KCC_4_0.tar.gz
rec-p11.13.00-Linux2.4-KCC_4_0-maxopt.tar.gz
rec-p11.13.00-Linux2.4-KCC_4_0-maxopt_patch.tar.gz
sim-p11.13.00-Linux2.4-KCC_4_0-maxopt.tar.gz
rcp-p11.13.00-Linux2.2-KCC_4_0.tar.gz

Minimum Bias Model

This will be defined with a request see instructions below. The Overlap model has not changed in mcp11.

The Request ID is: 1158

Each overlap file generated MUSTbe declared to SAM.

Finally, Once you have generated all of your MB files you need to create a MB data set of them. This is done using a python script with SAM setup. An example script follows:

 import mcreq
defid = mcreq.createMinBiasDataset("filename1,filename2,filename3,....",
        "my_stations_mcp11_dataset",
        "dzero",
        desc="fnal Phase mcp10  plate Geometry Minbias Dataset 2",keywords=None)
print defid

You then just run the script with your filenames.

This then becomes the macro line 
   cfg d0sim define string MinBiDataset plate-minbias-fnal-testing 
 
 

SAM http://d0db.fnal.gov/sam/.

You will need to upgrade your SAM station to the latest version. This is to be compatible with the request system. Details to follow.

Environment Variables

A new variable has been set in mc_runjob, as part of the move to a UPS product. The required variables are:

export SRT_LOCAL=`pwd` # directory containing mcc-dist

cd mcc-dist
source mcc_dist_setup.sh
cd ..
# set directory to one holding version of mc_runjob

cd mc_runjob/py_script
export PYTHON_PATH=.:`pwd`:$PYTHON_PATH
export MC_RUNJOB_PATH=`pwd`/scripts

cd ../..
export MC_RUNJOB_USERSWB_PATH=`pwd`/mc_runjob/templates/swb
export MC_RUNJOB_PATH=$MC_RUNJOB_PATH:`pwd`/mc_runjob/templates/swb:.

export MC_RUNJOB_CARD_PATH=`pwd`/mc_runjob/templates/cards
 

How to use the Request System:

  1. You will need an up to date version of SAM to extract the requests
  2. Requests will be delivered via a request number.
  3. To get the request detaiuls for request ID you need to run the command:
    sam get request details --request-id=1158 --dictfmt > Request_1158.py
  4. These details need to be transformed into a macro, I have written a short python script to do this: translate.py which needs two input files: macro.default and Defaults.py .
    1. You need to edit the Defaults.py and change the values to those that are appropriate for your station.
    2. Edit macros.default for any generic commands needed at your station, for example the queue.
  5. To create your input macro run the following:
    python translate.py Request_1158.py > Request_1158.macro
  6. You should now have a macro ready as input for your job.
  7. When you have started running the job carry out the command
    sam modify request status --request-id=1155 --status=running
  8. When the job is complete run the command
    sam modify request status --request-id=1155 --status=finished

Storing Metadata

We are using the new Metadata system. This means your input files are now in MetadataSystem and not in Metadata.

The storage commands have not changed, however you will not be able to store files if you have used an incorrect setting or request number.

The thumbnail file can now be stored. We want you to store three files at fermi:

An example directory looks like:

d0g_recocert_p11.10.00_lancs_pythia_npv00+03+43+qcd-incl-PtGt20.0-Plate_mb-none_1157_02214090319
gen_recocert_p11.10.00_lancs_pythia_npv00+03+43+qcd-incl-PtGt20.0_mb-none_1157_02214090319
import_d0gstar_Request-1157-02214090319.py
import_d0reco_Request-1157-02214090319.py
import_d0sim_Request-1157-02214090319.py
import_pythia_Request-1157-02214090319.py
import_thumb_Request-1157-02214090319.py
reco_recocert_p11.10.00_lancs_pythia_npv00+03+43+qcd-incl-PtGt20.0-Plate_mb-none_1157_02214090319
reco_recocert_p11.10.00_lancs_pythia_npv00+03+43+qcd-incl-PtGt20.0-Plate_mb-none_1157_02214090319.tmb
sim_recocert_p11.10.00_lancs_pythia_npv00+03+43+qcd-incl-PtGt20.0-Plate_mb-none_1157_02214090319

If you have any problems with this please let me know.

 

Iain Bertram
Wednesday, October 23, 2002