Project

General

Profile

Good runs » History » Version 31

Version 30 (Salvatore Davide Porzio, 01/30/2019 08:13 AM) → Version 31/33 (Salvatore Davide Porzio, 01/30/2019 08:14 AM)

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 good run list for Run 3 (up to run 17055). The definitions for the DQM analysis trees (in case they should be re-analyzed) are as follows:

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

* "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 has been produced from these files and it is available here:

* "GoodRunsList_BNB_Run3_13696to15500.txt":https://cdcvs.fnal.gov/redmine/attachments/49153/good_runs_run3_bnb.txt

* "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"
</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) .