Project

General

Profile

Good runs » History » Version 29

Version 28 (Salvatore Davide Porzio, 01/22/2019 11:37 AM) → Version 29/33 (Salvatore Davide Porzio, 01/24/2019 01:35 PM)

h1. Good Run Selection

---

h2. Run 1

This article is about how to apply good run selection at the sam level. Information presented here is a synopsis of the DQ group's "Good Runs Guide" ("docdb 13933":https://microboone-docdb.fnal.gov/cgi-bin/private/ShowDocument?docid=13933).

The DQ group has supplied two sam datasets for doing run 1 good run selection, based on an analysis of bnb-trigger events and external-trigger events, which datasets are as follows.

* "dqm_neutrino2016_bnb":http://samweb.fnal.gov:8480/sam/uboone/api/definitions/name/dqm_neutrino2016_bnb

* "dqm_neutrino2016_bnbextrevised":http://samweb.fnal.gov:8480/sam/uboone/api/definitions/name/dqm_neutrino2016_bnbextrevised

To select good runs at the sam level, "and" one or both of the above definitions with an existing sam dataset definition.
<pre>
$ samweb list-files --summary "defname: mydef and defname: dqm_neutrino2016_bnb and defname: dqm_neutrino2016_bnbextrevised"
$ samweb create-definition mygoodrundef "defname: mydef and defname: dqm_neutrino2016_bnb and defname: dqm_neutrino2016_bnbextrevised"
</pre>

For selecting good bnb data, it probably makes sense to apply both definitions. For selecting good beam-off data, or good numi data, you should probably only apply selection from the second (bnbextrevised) definition.

Note that for the above kinds of selection to make sense, the original definition ("mydef" in the above example) must not contain data that has been merged accros runs. This condition (not merging accross runs) is true for most datasets produced by the DM group, but not mcc 8.8. To summarize.

* MCC 8.5 (v11) datasets (prod_reco_optfilter_bnb_v11[_unblind]_mcc8 and prod_reco_optfilter_extbnb_v11_mcc8[_dev] are OK to apply good run selection.

* MCC 8.9 (v13) datasets (e.g. prod_reco_optfilter_[ext]bnb_[ccinclusive|ccpi0]_v13_mcc8) are OK to apply good run selection.

* MCC 8.8 (v12) datasets (e.g. prod_reco_optfilter_[ext]bnb_ccpi0_v12_mcc8 are NOT OK to apply good run selection in this way.

---

h2. Run 2

Not available yet.

---

h2. Run 3

DQM analysis trees have been produced in order to determine a


A .txt file containing the list of
good run list runs for Run 3 (up to run 17055). The definitions for the DQM analysis trees (in case they should Run3 can be re-analyzed) are as follows: found here:

* "goodRunHist_bnb_Run3_13696to15500":http://samweb.fnal.gov:8480/sam/uboone/api/definitions/name/goodRunHist_bnb_Run3_13696to15500 "Run3 Good Runs list - run 13696 to 17055 (txt)":https://cdcvs.fnal.gov/redmine/attachments/51910/pass_r3_all.txt

* "goodRunHist_bnb_Run3_15500to17055":http://samweb.fnal.gov:8480/sam/uboone/api/definitions/name/goodRunHist_bnb_Run3_15500to17055

* "goodRunHist_ext_Run3_13696to15500":http://samweb.fnal.gov:8480/sam/uboone/api/definitions/name/goodRunHist_ext_Run3_13696to15500

* "goodRunHist_ext_Run3_15500to17055":http://samweb.fnal.gov:8480/sam/uboone/api/definitions/name/goodRunHist_ext_Run3_15500to17055

A good run list
This file has been produced from these files and it is available here: used to create a new definition:

* "GoodRunsList_BNB_Run3_13696to15500.txt":https://cdcvs.fnal.gov/redmine/attachments/49153/good_runs_run3_bnb.txt "goodRuns_Run3_r13696to17055_all":http://samweb.fnal.gov:8480/sam/uboone/api/definitions/name/goodRuns_Run3_r13696to17055_all

* "GoodRunsList_EXT_Run3_13696to15500.txt":https://cdcvs.fnal.gov/redmine/attachments/49155/good_runs_run3_ext.txt

* "GoodRunsList_BOTH_Run3_13696to15500.txt":https://cdcvs.fnal.gov/redmine/attachments/49154/good_runs_run3_both.txt

The following definitions contain the good run list:

* "goodRuns_Run3_bnb_part1of2":http://samweb.fnal.gov:8480/sam/uboone/api/definitions/name/goodRuns_Run3_bnb_part1of2 (BNB)

* "goodRuns_Run3_ext_part1of2":http://samweb.fnal.gov:8480/sam/uboone/api/definitions/name/goodRuns_Run3_ext_part1of2 (EXT)

* "goodRuns_Run3_part1of2":http://samweb.fnal.gov:8480/sam/uboone/api/definitions/name/goodRuns_Run3_part1of2 (BOTH)

Provided you have a definition @mydef@, in order to select good runs in your own definition, all you have to do is to create a new definition with the following method:

<pre>
samweb create-definition myDefWithGoodRuns "defname: mydef and defname: goodRuns_Run3_part1of2" goodRuns_Run3_r13696to17055_all"
</pre>

More details on the input definitions used to create the good run list and previous (partial) good run lists for Run 3 can be found "here":https://cdcvs.fnal.gov/redmine/projects/uboonecode/wiki/Good_Run_Selection_(Run_3_-_Old) .