GlueX Offline Meeting, January 22, 2014

From GlueXWiki
Jump to: navigation, search

GlueX Offline Software Meeting
Wednesday, January 22, 2014
1:30 pm EST
JLab: CEBAF Center F326/327


  1. Announcements
    1. Collaboration Meeting Agenda, February 20-22
    2. SQLite versions of CCDB generated automatically now (wiki page)(latest version)
    3. CCDB authorship now being recorded
      • must be member of "halld" group at JLab to write to CCDB
    4. Gagik's talk next time
  2. Review of minutes from the last meeting: all
  3. Bug fix in tracking (Paul)
  4. Fix to backward angle tracks and CDC stereo layers (Richard or Simon)
  5. b1pi, reverse magnetic field, JANA 0.7, and all that. (all)
  6. Data Challenge
  7. Event Store Overview Documentation
  8. Mantis Bug Tracker Review
  9. Review of recent repository activity: all

Communication Information

Video Conferencing

Desktop Sharing

You can view the computer desktop in the meeting room at JLab via the web.

  1. Go to
  2. In the "join a meeting" box enter the Hall D code: 1833622
  3. Fill in the participant registration form.


To connect by telephone:

  1. dial:
  2. enter access code followed by the # sign: 1833622#


Talks can be deposited in the directory /group/halld/www/halldweb/html/talks/2014-1Q on the JLab CUE. This directory is accessible from the web at .



  • CMU: Will Levine, Paul Mattione, Curtis Meyer
  • FSU: Aristeidis Tsaris
  • IU: Kei Moriya, Matt Shepherd
  • JLab: Mark Ito (chair), David Lawrence, Simon Taylor
  • MIT: Justin Stevens
  • NWU: Sean Dobbs
  • UConn: Richard Jones


  1. Collaboration Meeting Agenda. We went through the agenda. Current line-up is:
    • Offline Overview - Mark Ito
    • Setting up an OSG node - Sean Dobbs
    • Tracking Update - Simon Taylor
    • Other possible topics: Geant4, Data Challenge 2, Tracking on GPUs, Breaking up the software packages.
  2. SQLite versions of CCDB. These are being generated automatically now. There is a [SQLite-form_of_the_CCDB_database|wiki page] describing how to use the SQLite version and where to get it.
  3. CCDB authorship now being recorded. You must be a member of the "halld" group at JLab to make changes to the main MySQL database. As always, you also have to be logged into a JLab computer to have access to the server.
  4. Tagged Database. Gagik Gavalian will give us a talk next time.
  5. New release: sim-recon-2014-01-10 [added in press]. This tag suffers from the backward-angle-stereo-CDC disease, but is a needed recent reference release. It is compatible with JANA 0.6.6 and CCDB 0.8.

Review of Minutes from January 8

We looked at the minutes.

  • Paul has deleted the deprecated packages.
  • David has release JANA 0.7. Look for 0.7.1, to come.
  • David reminded us that if you get a new CCDB SQLite you will need to update to CCDB 0.09.
  • The new version of JANA supports resources.
    • HDGeant has not been modified to exploit this feature. Simon is working on that.
    • David suggests that you set the new JANA_RESOURCE_DIR variable to define your local resource cache directory. Otherwise it will default to something under /tmp.
    • Mark suggested we implement a method to pre-cache all resource files, in case one anticipates a network outage.
    • Richard requested a wiki page to document use of resources.

Bug fix in tracking

Paul told us about a recent bug he found and fixed in the tracking code. He noticed a recent failure of the b1pi test and tracked down the cause. It was a rare case where there are two hits in a CDC track and thus the number of degrees-of-freedom are zero. A divide by number of d.o.f.'s ensued during the circle fit.

Fix to backward angle tracks and CDC stereo layers

Richard commented on his own bug fix. The problem was always there, but was exposed due to a change in the route through setting up the CDC geometry. He tried to minimize the amount of code change needed to native GEANT 3 routines to reduce the possibility of unintended consequences. The new routine has been checked in.

b1pi, reverse magnetic field, JANA 0.7, and all that

The b1pi job has been failing recently. Simon told us that most of this is due to the change of sign in the magnetic field. There were some implicit assumptions about the sign of the field in the code. He is going through the code and correcting the offending items.

Mark mentioned asked whether the old field could be selected to fix the single-track and b1pi jobs. David told us that this is easy. Although we will keep things as they are for now, Mark threatened to go back to the old field in a few days until the problem is fixed.

Data Challenge 2

We discussed what is left to do get the next data challenge going. After the meeting, Curtis compiled a list, reproduced below:

  1. Finish reversed magnetic field fixes.
  2. Do we have standard build/submission stuff to run the challenge?
  3. Are we ready to produce the event sample?
  4. Test jobs with EM background to make sure that data size is reasonable and we are not introducing crashes.
  5. Test jobs in general with the updated REST format to check new data footprint.
  6. Pre-load sets of jobs with ~100 runs on the clusters participating in the data challenge to make sure that things run.
  7. Is the JLab CC ready for us?
  8. What ability will we have for SRM at Jefferson Lab?

We decided to meet on Friday, January 31 at 11:00 to organize ourselves.


Sean has been in touch with Valentin Kuznetsov about EventStore, Valery thinks that the code is in good shape and should be usable by others. We discussed the detail about whether the event format and its API need any special instrumentation to handle skipping to an arbitrary event in a file or whether and simple serial search is sufficient. Sean will ask about this. In any case to use it we would have to implement its use in JANA. That is unavoidable.

Valentin is working on similar capability for CMS. He may be able to comment on other approaches as well.

Action Items

  1. Items carried over from last time:
    1. Circulate document on database/webserver deployment developed by JLab IT. -> Mark
    2. Research IT Division procedure for restoring a backup of the MySQL database. -> Mark
  2. Implement pre-caching of resources. -> Mark, David
  3. Ask about event format requirements for EventStore. -> Sean