sbndqm -- A Repository for SBN Online Monitoring¶
This repository is intended to house code for online monitoring in SBN and contains tooling for sending metrics to a database (through the artdaq MetricManager) and for receiving data from the artdaq Dispatcher (through the TransferInput module).
- Instructions for using the metric manager: https://cdcvs.fnal.gov/redmine/projects/sbndqm/wiki/Metric_Management
- Instructions for using the TransferInput module: https://cdcvs.fnal.gov/redmine/projects/sbndqm/wiki/Receiving_Data_from_Artdaq
All analysis code is located in sbndqm/sbndqm/dqmAnalysis. An example analysis using the Metric Manager resides in sbndqm/sbndqm/dqmAnalysis/example.
History: instructions to build previous versions:
On the sbnd-daq* machines, sbndqm is available globally as a ups product. It is thus much easier to get started development on the sbnd-daq* machines. However, it is also possible to develop on the gpvm’s provided you build more things yourself.
Building on the sbnd-daq* Machines¶
# setup the software environment source /software/products/setup setup mrb setup sbndqm v00_02_00 -qe17:prof:s83 # make a new mrb environment export MRB_PROJECT=sbndqm # <make the needed directories> mrb newDev source localProducts_sbndqm_v00_02_00_e17_prof_s83/setup cd srcs # pull down the latest sbndqm mrb g sbndqm -t v00_02_00 # build mrbsetenv mrb i -j6
Building on the gpvm’s
Note: This is work in progress!¶
# setup the software environment source /cvmfs/fermilab.opensciencegrid.org/products/larsoft/setup source /cvmfs/fermilab.opensciencegrid.org/products/artdaq/setup setup mrb # make a new mrb environment export MRB_PROJECT=sbndqm mrb newDev -v v0_02_00 -q e17:prof:s83 source localProducts_sbndqm_v0_02_00_e17_prof_s83/setup
NOTES: should remove sbnddaq-datatypes once it migrates to sbndaq-artdaq-core. Should figure out issue with “-“ v. “_”.