Project

General

Profile

Wiki » History » Version 23

« Previous - Version 23/52 (diff) - Next » - Current version
Anthony Ezeribe, 05/17/2019 01:22 PM


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).

All analysis code is located in sbndqm/sbndqm/dqmAnalysis. An example analysis using the Metric Manager resides in sbndqm/sbndqm/dqmAnalysis/example.

Building

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

Steps:


# 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

cd $MRB_TOP/srcs

# Checkout out the latest sbndqm
mrb g sbndqm -v v00_02_00 -q e17:prof:s83

## Checkout all the dependencies (for details see $MRB_TOP/srcs/sbndqm/ups/product_deps)

NOTES: should remove sbnddaq-datatypes once it migrates to sbndaq-artdaq-core. Should figure out issue with “-“ v. “_”.