Search for MC-Data
request.py or v5request.py script from R. Herber
~herber/request.py for SAM v7 requests
~herber/v5request.py for SAM v5 requests
- Available on d0minox, for the moment in private area ~herber/request.py
- ~herber/request.py
First do required setups
setup sam_python
setup oracle_instant_client
setup cx_Oracle
Check a help
Warning! - for the moment wild cards are not usable, you have to know exact syntax
The search is done in the request Oracle DB table, works only for SAM v7
Allows to get list of requests based on different constraints, e.g. on the production and/or
decay channel, as well as detailed information about each request
Simple Examples
- if you know your reqID and you want to know all parameters
the request was created with:
~herber/request.py request_id=85436
- Find requests with production t+t+0lp exclusive,
decay channel: 2l+2nu+2b_n.unw
~herber/request.py generated.production=t+t+0lp generated.decay=2l+2nu+2b_n.unw
- Whenever you want only a summary list: add to the above command line:
report=summary
- Do you want a list of request IDs produced for top group with software release version p20.09.02 and submitted in the year 2008?
~herber/request.py work_grp_name=top reconstructed.d0release=p20.09.02 created_on_or_after=2007/12/31 report=summary
In order to create MC Catalog two steps are needed
- Step 1: information about request IDs is retrieved from SAM and stored on disk in ASCI files
- Step 2: these files feed web pageis, providing maximum
amount of information about all request IDs
Request ID List Maker (REILM) from S. Muanza
- this script makes list of requests IDs according the physics search constraints based on the "generated" or "fome" parameter categories
e.g. all ttbar samples produced with p17.09% release and top mass m=170 GeV
- The usual SAM wild cards (%) are allowed, search is done in the fome or generated DB tables
- script can be run on cluedO and expects at least 5 input arguments; first one compulsory contain the full
'fome%' or 'generated%' substrings.
- The script accepts an arbitrary number of additional arguments in the form of a
"SAM Keyword" "Requested Value" the SAM Keyword must exist and be in the fome or generated data tier
(along the choice of the 1st field).
- to run the request do the following setups:
setup sam -O python
setup python v2_4_2_sam (or another 2.4 version)
- Example:
- python ~muanza/sam_scripts/Step3_v1_0.pyc 'fome%' 'p20.09.02' 'alpgen' 't+t%' '2l+2nu%'
Tibor Kurca
Last modified: Thu Feb 21 15:55:37 CST