Difference between revisions of "DQM payloads"

From DUNE
Jump to navigation Jump to search
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
= Overview =
 
= Overview =
The original requirements for DQM were published as DocDB 1811.
+
Historical notes on the design and planning have been moved to the page "[[DQM notes]]".
Over time, there was more detail added to some of the DQM components
+
User-level documents will be updated and kept on GitHub, in the "documents"
and their expected functionality.
+
folder of the p3s repo: https://github.com/DUNE/p3s.
  
As an additional piece of information, it is useful to consider "uBooNE lessons learned"
+
The remainder of this page serves to keep record of current testing for the experts
information (courtesy M.Mooney)
+
and can be expected to change periodically.
* Electron lifetime/purity every 2-8 hours.  Hardware and software. Track-based, requires O(1000) triggers.
 
* Noise filtering + event display is important (that's on the protoDUNE DQM list)
 
* Removal of coherent noise allows for uncovering of more subtle problems
 
* Channel "health":  pedestal RMS, channel FFTs
 
* Slow Control is critical. Mostly for HV monitoring
 
* Drill down from global view to subsystems
 
* Space Charge Effect probably not needed in DQM
 
  
= Evolution of the DQM plan =
+
DQM Mailing list: DUNE-PROTO-SP-DQM
== "Original Plan" ==
+
<pre>
See DocDB references for prompt processing, p3s etc (cf. DocDB 1861). The short list of DQM items includes
+
dladams@BNL.GOV        David Adams
* ADC/FFT with variety of aggregation modes (e.g. APA, board, power supply etc)
+
baller@FNAL.GOV        Bruce R Baller
* signal processing (filtering, de-noising, deconvolution etc)
+
Nectarios.Benekos@CERN.CH Nektarios Benekos
* some (unspecified) fast recontruction and event display
+
georgios.christodoulou@CERN.CH Georgios Christodoulou
 +
zalesak@FZU.CZ        Zalesak Jaroslav
 +
trj@FNAL.GOV          Thomas R Junk
 +
kettell@BNL.GOV        Steve Kettell
 +
kutter@PHYS.LSU.EDU    Thomas Kutter
 +
mrmooney@COLOSTATE.EDU Michael Mooney
 +
potekhin@BNL.GOV      Maxim Potekhin
 +
bv@BNL.GOV            Brett Viren
 +
mworcester@BNL.GOV    Matthew Worcester
 +
tjyang@FNAL.GOV        Tingjun Yang
 +
</pre>
  
== Beam Instrumentation ==
+
=Setting up=
Early 2017: additions by Flavio et al. Need to monitor BI itself and also match tracks to the TPC.
+
For (mostly) official instructions see:
  
Comments and questions:
+
https://wiki.dunescience.org/wiki/DUNE_Computing/Analysis_Module_From_Example_August2017
* pLAPPD ToF will be joined with the “normal” DAQ data stream
 
* The fiber tracker data, other spill-relevant data, and ckov data will go into the BI DB
 
* When and how to capture BI data from the DB? (Current thinking from J.Paley - purely offline, from CERN DB without own cache - any news on that?)
 
* When and how to merge it with the TPC and other data?
 
* Track reco and matching to the TPC - who will do it?
 
  
== Signal Processing and Basic Event Display ==
+
Check versions at CERN:
Mid-2017: add basic event-display-type (cf. channel vs time) of visual product before and after signal processing.
+
 
* demonstrates that the detector and software both work
+
<pre>
* similar to the original paper
+
source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh
* BNL team has plans for this item, leveraging signal processing experience in μBooNE, 35t etc
+
ups list -aK+ dunetpc
* Synergy with the OM group
+
</pre>
  * prototypes such as “purity calculation” have been tested under p3s at CERN - thousands of jobs run
+
 
  * the boundary between OM and DQM can be quite fluid, most software is portable
+
Recall that when you run larsoft with the "-c" option which tells it the name of the FCL file, said file will be searched for in the path contained in $FHICL_FILE_PATH which typically starts with a "." (current directory).
  * ROOT and art/LArSoft are common denominators
+
 
  * Photon Detector (need more info)
+
= Current Work =
  * CRT will need to be merged offline (need more info)
+
References to JSON, FCL and .sh files correspond to what is in the current repo, available on GitHub.
 +
The "lxvm" prefix in filenames was dropped for brevity in the following notes.
 +
 
 +
==v06==
 +
Works: purity_5.json
 +
<pre>
 +
[
 +
    {
 +
"name": "Purity:Main",
 +
"timeout": "1000",
 +
        "jobtype": "purity",
 +
        "payload": "/afs/cern.ch/user/m/mxp/projects/p3s/inputs/larsoft/purity/lxdqm_purity_3.sh",
 +
        "priority": "1",
 +
"state": "defined",
 +
"env": {
 +
    "P3S_VENV":"/afs/cern.ch/user/m/mxp/vp3s",
 +
    "P3S_LARSOFT_HOME":"/afs/cern.ch/user/d/dostefan/public/v06/",
 +
    "P3S_LARSOFT_RELEASE":"localProducts_larsoft_v06_45_01_e14_prof",
 +
    "P3S_NEVENTS":"10",
 +
    "P3S_FCL_DIR":"/afs/cern.ch/user/m/mxp/projects/p3s/inputs/larsoft/purity",
 +
    "P3S_FCL":"lxdqm_purity_1.fcl",
 +
    "P3S_INPUT_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/input",
 +
    "P3S_OUTPUT_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/output/",
 +
    "P3S_OUTPUT_FILE":"PurityOutput.root"}
 +
    }
 +
]
 +
</pre>
 +
 
 +
 
 +
 
 +
Works: evdisp_4.json
 +
<pre>
 +
[
 +
    {
 +
"name": "EvDisp:Main",
 +
"timeout": "1000",
 +
        "jobtype": "evdisp",
 +
        "payload": "/afs/cern.ch/user/m/mxp/projects/p3s/inputs/larsoft/evdisp/lxdqm_evdisp_4.sh",
 +
        "priority": "1",
 +
"state": "defined",
 +
"env": {
 +
    "P3S_VENV":"/afs/cern.ch/user/m/mxp/vp3s",
 +
    "P3S_LARSOFT_HOME":"/afs/cern.ch/user/d/dostefan/public/v06/",
 +
    "P3S_LARSOFT_RELEASE":"localProducts_larsoft_v06_45_01_e14_prof",
 +
    "P3S_NEVENTS":"2",
 +
    "P3S_FCL_DIR":"/afs/cern.ch/user/m/mxp/projects/p3s/inputs/larsoft/evdisp",
 +
    "P3S_FCL":"lxdqm_evdisp_4.fcl",
 +
    "P3S_INPUT_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/input/",
 +
    "P3S_OUTPUT_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/output/",
 +
    "P3S_EVDISP_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/evdisp/",
 +
    "P3S_USED_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/used/",
 +
    "P3S_OUTPUT_FILE":"evdisp.root"}
 +
    }
 +
]
 +
</pre>
 +
 
 +
 
 +
Works: crt_tpc_3.json
 +
 
 +
<pre>
 +
[
 +
    {
 +
"name": "CRT:Main",
 +
"timeout": "1000",
 +
        "jobtype": "crt2tpc",
 +
        "payload": "/afs/cern.ch/user/m/mxp/projects/p3s/inputs/larsoft/crt/lxdqm_crt_tpc_3.sh",
 +
        "priority": "1",
 +
"state": "defined",
 +
"env": {
 +
    "P3S_VENV":"/afs/cern.ch/user/m/mxp/vp3s",
 +
    "P3S_LARSOFT_HOME":"/afs/cern.ch/user/d/dostefan/public/v06/",
 +
    "P3S_LARSOFT_RELEASE":"localProducts_larsoft_v06_45_01_e14_prof",
 +
    "P3S_NEVENTS":"50",
 +
    "P3S_FCL":"/afs/cern.ch/user/m/mxp/projects/p3s/inputs/larsoft/crt/lxdqm_crt_tpc_1.fcl",
 +
    "P3S_CRT_TXT":"/afs/cern.ch/user/m/mxp/projects/p3s/inputs/larsoft/crt/CRTs.txt",
 +
    "P3S_OUTPUT_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/output",
 +
    "P3S_INPUT_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/input",
 +
    "P3S_DATA":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/"
 +
}
 +
    }
 +
]
 +
</pre>
 +
 
 +
==v06_57==
 +
 
 +
Works: evdisp_5.json
 +
<pre>
 +
[
 +
    {
 +
"name": "EvDisp:Main",
 +
"timeout": "1000",
 +
        "jobtype": "evdisp",
 +
        "payload": "/afs/cern.ch/user/m/mxp/projects/p3s/inputs/larsoft/evdisp/lxdqm_evdisp_5.sh",
 +
        "priority": "1",
 +
"state": "defined",
 +
"env": {
 +
    "P3S_VENV":"/afs/cern.ch/user/m/mxp/vp3s",
 +
    "P3S_LARSOFT_HOME":"/afs/cern.ch/user/d/dostefan/public/v06_57_00/",
 +
    "P3S_LARSOFT_RELEASE":"localProducts_larsoft_v06_57_00_e14_prof",
 +
    "P3S_NEVENTS":"2",
 +
    "P3S_FCL_DIR":"/afs/cern.ch/user/m/mxp/projects/p3s/inputs/larsoft/evdisp",
 +
    "P3S_FCL":"lxdqm_evdisp_4.fcl",
 +
    "P3S_INPUT_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/input/",
 +
    "P3S_OUTPUT_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/output/",
 +
    "P3S_EVDISP_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/evdisp/",
 +
    "P3S_USED_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/used/",
 +
    "P3S_OUTPUT_FILE":"evdisp.root"}
 +
    }
 +
]
 +
</pre>

Latest revision as of 12:28, 1 June 2018

Overview

Historical notes on the design and planning have been moved to the page "DQM notes". User-level documents will be updated and kept on GitHub, in the "documents" folder of the p3s repo: https://github.com/DUNE/p3s.

The remainder of this page serves to keep record of current testing for the experts and can be expected to change periodically.

DQM Mailing list: DUNE-PROTO-SP-DQM

dladams@BNL.GOV        David Adams
baller@FNAL.GOV        Bruce R Baller
Nectarios.Benekos@CERN.CH Nektarios Benekos
georgios.christodoulou@CERN.CH Georgios Christodoulou
zalesak@FZU.CZ         Zalesak Jaroslav
trj@FNAL.GOV           Thomas R Junk
kettell@BNL.GOV        Steve Kettell
kutter@PHYS.LSU.EDU    Thomas Kutter
mrmooney@COLOSTATE.EDU Michael Mooney
potekhin@BNL.GOV       Maxim Potekhin
bv@BNL.GOV             Brett Viren
mworcester@BNL.GOV     Matthew Worcester
tjyang@FNAL.GOV        Tingjun Yang

Setting up

For (mostly) official instructions see:

https://wiki.dunescience.org/wiki/DUNE_Computing/Analysis_Module_From_Example_August2017

Check versions at CERN:

source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh 
ups list -aK+ dunetpc

Recall that when you run larsoft with the "-c" option which tells it the name of the FCL file, said file will be searched for in the path contained in $FHICL_FILE_PATH which typically starts with a "." (current directory).

Current Work

References to JSON, FCL and .sh files correspond to what is in the current repo, available on GitHub. The "lxvm" prefix in filenames was dropped for brevity in the following notes.

v06

Works: purity_5.json

[
    {
	"name":		"Purity:Main",
	"timeout":	"1000",
        "jobtype":	"purity",
        "payload":	"/afs/cern.ch/user/m/mxp/projects/p3s/inputs/larsoft/purity/lxdqm_purity_3.sh",
        "priority":	"1",
	"state":	"defined",
	"env":		{
	    "P3S_VENV":"/afs/cern.ch/user/m/mxp/vp3s",
	    "P3S_LARSOFT_HOME":"/afs/cern.ch/user/d/dostefan/public/v06/",
	    "P3S_LARSOFT_RELEASE":"localProducts_larsoft_v06_45_01_e14_prof",
	    "P3S_NEVENTS":"10",
	    "P3S_FCL_DIR":"/afs/cern.ch/user/m/mxp/projects/p3s/inputs/larsoft/purity",
	    "P3S_FCL":"lxdqm_purity_1.fcl",
	    "P3S_INPUT_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/input",
	    "P3S_OUTPUT_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/output/",
	    "P3S_OUTPUT_FILE":"PurityOutput.root"}
    }
]


Works: evdisp_4.json

[
    {
	"name":		"EvDisp:Main",
	"timeout":	"1000",
        "jobtype":	"evdisp",
        "payload":	"/afs/cern.ch/user/m/mxp/projects/p3s/inputs/larsoft/evdisp/lxdqm_evdisp_4.sh",
        "priority":	"1",
	"state":	"defined",
	"env":		{
	    "P3S_VENV":"/afs/cern.ch/user/m/mxp/vp3s",
	    "P3S_LARSOFT_HOME":"/afs/cern.ch/user/d/dostefan/public/v06/",
	    "P3S_LARSOFT_RELEASE":"localProducts_larsoft_v06_45_01_e14_prof",
	    "P3S_NEVENTS":"2",
	    "P3S_FCL_DIR":"/afs/cern.ch/user/m/mxp/projects/p3s/inputs/larsoft/evdisp",
	    "P3S_FCL":"lxdqm_evdisp_4.fcl",
	    "P3S_INPUT_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/input/",
	    "P3S_OUTPUT_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/output/",
	    "P3S_EVDISP_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/evdisp/",
	    "P3S_USED_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/used/",
	    "P3S_OUTPUT_FILE":"evdisp.root"}
    }
]


Works: crt_tpc_3.json

[
    {
	"name":		"CRT:Main",
	"timeout":	"1000",
        "jobtype":	"crt2tpc",
        "payload":	"/afs/cern.ch/user/m/mxp/projects/p3s/inputs/larsoft/crt/lxdqm_crt_tpc_3.sh",
        "priority":	"1",
	"state":	"defined",
	"env":	{
	    "P3S_VENV":"/afs/cern.ch/user/m/mxp/vp3s",
	    "P3S_LARSOFT_HOME":"/afs/cern.ch/user/d/dostefan/public/v06/",
	    "P3S_LARSOFT_RELEASE":"localProducts_larsoft_v06_45_01_e14_prof",
	    "P3S_NEVENTS":"50",
	    "P3S_FCL":"/afs/cern.ch/user/m/mxp/projects/p3s/inputs/larsoft/crt/lxdqm_crt_tpc_1.fcl",
	    "P3S_CRT_TXT":"/afs/cern.ch/user/m/mxp/projects/p3s/inputs/larsoft/crt/CRTs.txt",
	    "P3S_OUTPUT_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/output",
	    "P3S_INPUT_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/input",
	    "P3S_DATA":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/"
	}
    }
]

v06_57

Works: evdisp_5.json

[
    {
	"name":		"EvDisp:Main",
	"timeout":	"1000",
        "jobtype":	"evdisp",
        "payload":	"/afs/cern.ch/user/m/mxp/projects/p3s/inputs/larsoft/evdisp/lxdqm_evdisp_5.sh",
        "priority":	"1",
	"state":	"defined",
	"env":		{
	    "P3S_VENV":"/afs/cern.ch/user/m/mxp/vp3s",
	    "P3S_LARSOFT_HOME":"/afs/cern.ch/user/d/dostefan/public/v06_57_00/",
	    "P3S_LARSOFT_RELEASE":"localProducts_larsoft_v06_57_00_e14_prof",
	    "P3S_NEVENTS":"2",
	    "P3S_FCL_DIR":"/afs/cern.ch/user/m/mxp/projects/p3s/inputs/larsoft/evdisp",
	    "P3S_FCL":"lxdqm_evdisp_4.fcl",
	    "P3S_INPUT_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/input/",
	    "P3S_OUTPUT_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/output/",
	    "P3S_EVDISP_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/evdisp/",
	    "P3S_USED_DIR":"/eos/experiment/neutplatform/protodune/np04tier0/p3s/used/",
	    "P3S_OUTPUT_FILE":"evdisp.root"}
    }
]