Online Analysis

From NPDGamma Wiki

Jump to: navigation, search

The leader for this work package is Chris Crawford. And his helper elf is Nadia Fomin.

For offline analysis, goto here

  1. The online analysis code will be written in C++/ROOT -> Those interested in getting their hands dirty should learn it (that includes me!)
    1. Tool to read the data (data stream structure is briefly described here, it's a work in progress - last updated 4/6/2010) - Chris has a code from a previous experiment that we will try to adapt to our purposes. It reads the raw binary data files in as a root tree.
      • For those who would like to look at a run to get an idea of what's in it, here are the VME2 and VME3 data runs containing 100 spin sequences worth of noise data.
    2. Once in memory, one can make various plots. A library of default diagnostic plots/histos will be written and very well commented/documented. This way, if any user wanted to add a new plot/histogram, it would be a straight-forward task.
      • Default plots/histos - discuss.
    3. A reduced, processed ntuple for every run to be saved - includes asymmetries (<A>ss vs tbin as well as <A>tbin vs ss, can average over the time bins, since the neutron polarization will be known).
    4. A running total of "good" spin sequences, to keep track of accumulated statistics.
    5. An ideal/golden data run for comparison.
  2. Online Electronic Logbook - so easy, a shift worker can do it.
    • The plots that are deemed most useful for every run (diagnostic as well as asymmetries) will be entered into the logbook automatically, viewable to collaborators everywhere.
    • Also, a great way to share analysis progress with the rest of the collaboration, and some people in specific (the logbook allows for email notifications of people for given entries).
  3. Git - This is the new tool for synchronizing our work see here.

Meeting Minutes

Status Update

Current (04/11/2008) status - link Backup

Relevant Write-ups

  • Write-up about the structure of the data stream, possible errors, as well as the network diagram (PDF)
  • Write-up on the online analysis structure and tools (PDF)
Personal tools