All posts by klato

March 2019 Offline Leads Meeting Notes

The March 2019 LArSoft Offline Leads meeting was handled via email and a google document.

LArSoft – Erica Snider

  • LArSoft Workshop Plans – targeting June 2019 — Planning for the summer LArSoft workshop has begun. We anticipate three sessions, the first of which will be an introduction to LArSoft that will include material from DUNE’s introductory TCP workshop series. This will be followed by a multi-threading and vectorization section targeting CPU-based grid processing, and discussion of HPC resource utilization. The third session will cover the long-term vision for LArSoft and will discuss how LArSoft should evolve as we move toward the era of DUNE data-taking.

Workshop Agenda:

    • LArSoft introduction / tutorial session
      • What should we include? Who is the target audience? What level are we aiming at?
      • Tools to assist in using FHICL?
    • Multi-threading, vectorization, HPC utilization
      • Introduction to multi-threading and vectorization
      • Multi-threading in art
      • Making code thread-safe
      • Experience of a beginner learning to make code thread-safe
      • Vectorizing code
      • HPC computing solutions for LArSoft
    • Long-term vision for LArSoft in the DUNE data-taking era
      • Discuss issues, seek input from experiments, SCD

Please comment and advise on this agenda. Received a suggestion to talk about the impending GitHub migration from the Steering Group. Should we talk about that?

  • The LArTPC Data Overlay Workshop was held on March 4th with the goal of aligning experiments with a common infrastructure and approach to data overlays to be implemented within LArSoft. Key aspects included introducing the overlay method and interested parties, learning from past experience with discussion about adding simulated and data signals, calibrating simulation to match data, timing issues in simulation and data, and producing overlay samples. About 13 people participated in the workshop, including representatives from NOvA, CMS, all LAr experiments, and a theorist. The outcome of the workshop was a list of actions and developments needed for a common data overlay infrastructure, which can be found at the bottom of the meeting notes:  https://docs.google.com/document/d/1i2njli0lvTR7ZYnvlh-YIsVkFcgGpmdjJjwdIvVj73Q/edit?usp=sharing. The to-do list includes:
    • Port common waveform adding tools to LArSoft (Adi + LArSoft person)
      • Redmine tickets
    • Create art tool interfaces for the various mixers (Adi + DUNE person + LArSoft person)
      • OpDetWaveform
      • RawDigit
      • CRTHit
      • Redmine tickets
    • Investigate whether calibrations should be services or tools (Expts + LArSoft person)
      • The bigger question, which  corrections can be made more generic than they currently are
      • Already built on service interfaces
    • Figure out what to do with the art::Event::isRealData() method (Expts + art person)
      • Need a richer description for overlay data
      • Consider service, more methods, eg, hasRealData/hasMCData, etc
      • Something else
    • Are there general ways to think about timing that preserve the ability to do back-tracking in overlay data samples? (Expts)
    • Consider whether inline (eg, in-situ simulation) vs file-based primary / secondary overlay model is optimal
      • Trade-offs between the need to handle multiple input files vs controlling event re-use
    • Art EventMixing infrastructure needs to be more capable in order to be useful (Expts + art person + LArSoft person)
      • Particularly associations are currently not supported
    • Can we design a standardized way for grid jobs to deal with run/subrun/conditions alignment issues between input files  (FIFE (and Andrei Gaponenko) + ??)
  • Ubuntu support. We wanted to remind offline leads that ubuntu is supported under an “on-demand” model.  It is important that offline leads and users know that they can request ubuntu releases as needed.

DUNE – Andrew John Norman, Heidi Schellman, Tingjun Yang, Tom Junk

We are starting to think about and work on ways to read in partial event data so that an entire Far Detector module’s worth of raw digits aren’t in memory at any given time.  ProtoDUNE-SP has already taken some test data that are broken into several smaller branches (with different module/instance names) which helps the input step. We propose that in the Far Detector, each APA gets a branch of fragments out of artdaq, so that GetByLabel and GetValidHandle don’t immediately reserve large amounts of memory just to get any data in.

ICARUS – Daniele Gibin, (Tracy Usher)

ICARUS is preparing to launch effectively MCC 2 which will provide simulated data for the upcoming SBN Workshop in Oxford the beginning of April. Much progress has been made since MCC 1, the signal processing (with a coherent noise model) is in good shape, we are running the latest pandora track/shower reconstruction plus downstream track fits, we now have the first attempt at an optical reconstruction and are in position to work on the CRT reconstruction. A goal for the workshop will be to try to do track/flash matching. There is still much to do… work is ongoing to extend the photon library to all four TPC’s, we still need to split the horizontal wires, etc.

I would guess that sometime in the Spring ICARUS should be ready to ask for help in doing a timing and memory usage review. Most of the current simulation/reconstruction jobs run fairly quickly but are only single particle or neutrino with no cosmic samples and here we suppress the channels with no MC signal. The CR sim/recon times jump dramatically, handling the >50,000 channels in the TPC alone is significant load. Also, the photon library consumes a fair bit of memory, as does the CRT simulation.

LArIAT – Jonathan Asaadi

No Report

MicroBooNE – Herbert Greenlee, Tracy Usher

No Report

SBND – Andrzej Szelc

Main recent effort has been on optimizing the light simulation, towards trying to understand the impact of the beam rotation change in the BNB on physics analyses. We have implemented an improved optical library (needed adding stash-cache functionality following DUNE example), improved timing parametrization and semi-analytic light simulation (will be used soon). In parallel, we are starting to test the update to nutools implemented by Robert Hatcher, that allows tweaking the beam bucket parameters. Final step is to update the digitization simulation. Once that is done we plan to launch a relatively large data production in order to provide data samples for summer internships and understand the timing resolution.

Please email Katherine Lato or Erica Snider for any corrections or additions to these notes.

February 2019 Offline Leads Meeting Notes

Attendees: Chris Jones, Erica Snider, Tom Junk, Herb Greenlee, Katherine Lato, Tracy Usher (in a follow on meeting)

Chris Jones shared information on GitHub – The current  way of operating is unsustainable as more experiments start taking data and need to closely manage their production LArSoft releases. So we asked Chris to share his experience in CMS with GitHub and the use of pull requests to manage code integration. His slides are available at CMS GitHub Usage for LArSoft. A zoom recording of his presentation is available upon private request.

The discussion included extensive details on the CMS-specific infrastructure used to support that system, and how elements could be adapted to the LArSoft community. Differences between how such a system might be used in single-experiment versus a multi-experiment collaboration were examined, along with various strategies for deploying the system. A significant finding was that the CMS system was initially deployed with relatively little supporting infrastructure. Despite this, Chris believed the system gained widespread approval quickly, due in part to the ease of using the tools provided by GitHub. This then led to a rapid and organic growth of tools that in time produced the current, highly sophisticated system. It is unclear how much, if any of the existing CMS code could be used or adapted to a non-CMS system.

In the CMS pull request system, there are three roles defined:  developers, reviewer and release managers. Most of the positions have at least two people in them. In CMS, people are adding comments because it’s easy. They didn’t expect this, but it happened. They built seven releases. Testing lots of things. ROOT, GEANT. They are a continuous integration machine. This presentation provided useful background.

  • Update on LArSoft items
    • Progress on event display technology evaluation. Seeking input from community
      • Go over the four options + evaluation categories / criteria
      • Option A. Web browser-based system, three.js
      • Option B. Custom application
      • Option C. Vtk-based application
      • Option D. TEve-based application
      • Criteria — https://cdcvs.fnal.gov/redmine/issues/19037
        • Some of these solutions don’t directly talk to LArSoft. Instead, they read and interpret art-root files directly. We would prefer something that talks directly to LArSoft.
        • Lack of documentation on TEve will make it difficult to use.
    • Overlay workshop is on March 4th. Details are: here 
    • Experiments learning to build their own patch releases of LArSoft
      • Noted that MicroBooNE has asked for a new patch release, and is expected to ask for another by the end of the week
      • LArSoft team has limited capacity for creating releases, so tight production schedules will be difficult to manage, particularly with multiple experiments taking data. Experiments should expand their current release manager roles to include creation of LArSoft patch releases for production.
      • No major objections raised
    • Genie v3 status:  MicroBooNE has performed detailed validation, has patches for Genie, working to integrate it into MCC9 patch release
      • LArSoft team wants all experiments to be using v3 at the same time, if possible
      • Need input from DUNE on their plans asap
      • Will try to share the validation results from MicroBooNE, since nothing there was actually specific to MicroBooNE
  • Round robin discussion
    • MicroBooNE
      • No issues to discuss
    • DUNE
      • The longer DUNE takes, the more prototypes we’ll have. ICEBERG is one of them.
      • Has been working mostly on GArSoft and ICEBERG recently
      • Happier with LArSoft than with dunetpc. Need to break that into smaller chunks

Please email Katherine Lato or Erica Snider for any corrections or additions to these notes.

January 2019 Offline Leads Meeting Notes

The January 2019 LArSoft Offline Leads status update was handled via email and a google document.

LArSoft – Erica Snider

  • The 2019 LArSoft workplan was updated after the steering group meeting in December and is available at: https://indico.fnal.gov/event/18678/material/2/0.pdf It is an ambitious plan and will require additional effort to complete.
  • LArSoft will be working with Wes Ketchum to organize a mini-workshop on March 4 to discuss the problems, solutions and workflows for performing data overlays in LArSoft. These techniques will be used by all experiments, so should be of interest to the entire LArSoft community. Background can be found in Wes’s presentation Feature update to DetectorClocks service for data/simulation overlays.
  • Steve Gardiner from ND/MicroBooNE created LArSoft v08_01_00_01, a test release based on Genie v3_00_02. Completing this integration has been a high priority, and we thank Steve for contributing this work. All experiments will need to sign-off on Genie v3 before it will be integrated into the develop branch, so experiments should perform whatever tests are needed using this release.
  • MicroBooNE has declared LArSoft v08_00_00 as production for MCC9.

DUNE – Andrew John Norman, Heidi Schellman, Tingjun Yang

The first round of production of ProtoDUNE-SP data processed with LArSoft/dunetpc release v07_08_00 was very successful and we are using this pass to help us inform the TDR and to start analyses that we intend to publish.  We have tested the 2D deconvolution provided by the wire-cell team on ProtoDUNE data, which may be included in the second pass of production. We have moved our photon visibility libraries to StashCache. We would like to thank the art and LArSoft teams for helping us migrate to art v3.x.

ICARUS – Daniele Gibin, (Tracy Usher)

  • Production running with POMS appears to be fairly turnkey now.
  • A small group of analyzers have been busy uncovering issues with the TPC simulation and in the next icaruscode release should have the signal processing issues fairly well sorted.
  • Work has begun on splitting the horizontal wires with the first test geometry made available recently. Gianluca Petrillo has been understanding impacts to the LArSoft code; hopefully this will be ready soon.
  • ICARUS continues to work towards launch of the next MCC in early March with the goals of being able to do a demonstration of basic Cosmic Ray tagging and perhaps a basic physics analysis.

LArIAT – Jonathan Asaadi

No Report

MicroBooNE – Herbert Greenlee, Tracy Usher

MCC9 is progressing well with much good work on space charge and overlays with both highly relevant to future LArTPCs.

SBND – Roxanne Guenette, Andrzej Szelc

  • SBND, thanks to work of Tom Brooks, has integrated the CRT simulation into our workflow.
  • We are working to understand the timing resolution of the detector using LArSoft. This will require implementing the BnB bucket structure (investigated by A. Ezeribe, A. Scarrf, Sheffield), and new timing parametrizations to work with the optical library, as well as solutions to make it work faster (D. Garcia-Gamez, P. Green).
  • We are making progress with the implementation of the Spacecharge simulation (A. Timilsina).
  • We expect to produce large data samples with the improved parameters soon.

Please email Katherine Lato or Erica Snider for any corrections or additions to these notes.

November 2018 Offline Leads Meeting Notes

The November 2018 LArSoft Offline Leads status update was handled via email and a google document.

LArSoft – Erica Snider

LArSoft met with each experiment’s Spokespeople and Offline Leads to learn detailed plans for the next year, the implied requirements for LArSoft, and how LArSoft could help, as well as what the experiments might be able to contribute to LArSoft code. This input will be used to develop the 2019 LArSoft Work Plan.

Stage 1 of the LArG4 refactoring project will officially close with the acceptance of documentation, currently posted to https://cdcvs.fnal.gov/redmine/projects/larg4/wiki/Wiki. The offline leads are invited to review and comment on the documentation at any time.

DUNE – Andrew John Norman, Heidi Schellman, Tingjun Yang, Tom Junk

A recent shift away from using /grid/fermiapp for staging of built binaries made DUNE’s build script fail on mac.  CVMFS is unreliable and slow on mac, so we use the /grid/fermiapp mount. We see that larsoft and other experiments use buildFW in their Jenkins scripts and may want to consult with how to do that ourselves.   Keeping the latest release on /grid/fermiapp is the path of least resistance for us.

ICARUS – Daniele Gibin, (Tracy Usher)

ICARUS has launched MCC 1.1 which addressed some deficiencies in the initial 1.0 run but importantly also signifies the official switch to the POMS system. This week (final week of November) is being used to eliminate the last remaining issues and we expect to be generating moderate size (compared to MicroBooNE and ProtoDUNE) data sets in the next month.

LArIAT – Jonathan Asaadi

No Report

MicroBooNE – Herbert Greenlee, Tracy Usher

No Report

SBND – Roxanne Guenette, Andrzej Szelc

No Report

Please email Katherine Lato or Erica Snider for any corrections or additions to these notes.

October 2018 Offline Leads Meeting Notes

Attendance: Erica Snider, Tom Junk, Katherine Lato

  1. LArSoft Status including open issues.
    • Comment on GitHub migration:  no progress during past weeks. SCD planning a meeting with CMS to discuss this migration with several experiments.
    • 3D workshop status
    • Update on event display
      • Paul Russo will be looking into some of the options for the technology to use to replace the LArSoft event display.   
      • Tom noted that there are lots of little things that are bothersome in the current Event Display.
    • LArG4 update
      • Documentation – Hans is providing examples of fhicl files, gdml files
      • AuxDet Module hasn’t been put into the event stream yet, but shouldn’t take long
      • He plans on presenting at the Oct. 23rd LArSoft Coordination meeting.
      • Need to make decision on how to re-architect the handling of LAr material properties (which has major implications for LArProperties and Geometry services). Note, this is part of phase 3.
  2. Round Robin sharing.
    • DUNE –
      • art 3 is of interest. LArSoft has a list of changes for art 3, under breaking changes. https://cdcvs.fnal.gov/redmine/projects/larsoft/wiki/Update_from_art_v2_to_art_v3
      • Two scenarios involve taking data with long waveforms. (1) SN data stream, where data blocks can last ~30 sec. (2) Low frequency noise studies where data blocks are ~100k ticks long. This is an issue because raw digits use a short to define the number of ticks in the waveform. Both of these scenarios exceed the 65k limit. Case (2) can be solved using DAQ data structures, since this is a limited study that is not likely to be repeated (Tom believes. Dave Evans is the requester here). Case (1) will require some mechanism for triggering on the streaming data, then defining events that are ~30 sec long, then micro-triggering to produce events that fit within the existing raw digit format. Also discussed a third case, that of proton decay searches, but those will define three or four drift window events from the continuous stream. Conclusion is that no request for a change is requested, so this is not yet a LArSoft issue.
    • From Andrzej (last month’s meeting notes): UK groups will run a LArSoft workshop in Manchester, 10/31-11/2, which is geared up to get people started in LArSoft and basic reconstruction. http://indico.hep.manchester.ac.uk/conferenceDisplay.py?confId=5372
  3. Input on priorities for 2019 LArSoft workplan.
    • Please let us know by mid-November if you have any specific items you’d like LArSoft to consider for 2019 workplan.

Please email Katherine Lato or Erica Snider for any corrections or additions to these notes.

September 2018 Offline Leads Meeting Notes

The September 2018 LArSoft Offline Leads status update was handled via email and a google document.

LArSoft – Erica Snider

  • Working to develop a plan for migration to GitHub and pull requests. Will be seeking input from CMS on their experience with this exercise, and will continue discussing ongoing plans and concerns with the offline leads. The timescale for the migration is open for the time being.
  • The LArSoft team has developed a draft interim error handling policy based on the use of the art::Exception class. The current draft is interim pending an update to the art exception wiki page.
  • LArSoft met with various 3D pattern recognition stakeholders to discuss how to proceed with creating a common interface layer into 3D pattern recognition algorithms, and other topics of common interest to 3D reconstruction in LAr and GAr TPCs. A working outline agenda for a workshop can be found in https://docs.google.com/document/d/1rDsoGQhJgSMhxwP2dH0U2rV5sCWFgU3hII9d-n4gMVE/edit?usp=sharing
  • The LArSoft team has started a survey of products and technologies that are candidates to replace the event display.

DUNE – Andrew John Norman, Heidi Schellman, Tingjun Yang

ProtoDUNE has started analyzing real data from the detector. The noise level is very low (4-5 ADCs) which leads to very high signal-to-noise ratio. Clean tracks are visible and successfully reconstructed by the Pandora and PMA algorithms. At this moment, the electron lifetime is around 100 us and increasing. The current focus on reconstruction is noise filtering and signal processing.  

ICARUS – Daniele Gibin, Tracy Usher

ICARUS has successfully launched its first Monte Carlo Challenge (dubbed MCC1) this past month and is beginning to digest the output. This is the first production run by ICARUS that includes TPC, PMT and CRT simulation and reconstruction. The production running is still working with project.py but we are hoping to be converted to the full POMS system within a few weeks (initial tests start this week). The hope is to get converted to POMS, digest the current production running with the eye to understanding the primary issues and to work to get those fixed through the fall and early winter, then to ramp up for the next challenge in the early winter which will have the goal of being “physics capable”.

LArIAT – Jonathan Asaadi

No Report

MicroBooNE – Herbert Greenlee, Tracy Usher

MCC9 is currently in development, Large data and MC production planned to start around December of 2018, with smaller test sample production before then. There is no final decision yet whether MicroBooNE will switch to the new style LArG4 refactoring. Before that can happen, there has to be a way to simulate CRT aux detectors.  There is no MCC9 production branch yet, and we haven’t decided when or whether to create an MCC9 branch off of develop. A major breaking change, such as migration to art 3.x could trigger the creation of a production branch.  MicroBooNE would prefer that such a major breaking change not happen soon.

SBND – Roxanne Guenette, Andrzej Szelc

SBND has, as of last week implemented the Space Charge simulation (thanks Arbin Timilsina), first tests are ongoing. We plan to transition our production system to POMS, and launch a quick production in mid October to test that infrastructure. We are also looking into plugging in analytical method of predicting light signals, which could speed up the simulation and lower the need for lookup libraries.

Non-SBND: UK groups will run a LArSoft workshop in Manchester, 10/31-11/2, which is geared up to get people started in LArSoft and basic reconstruction. http://indico.hep.manchester.ac.uk/conferenceDisplay.py?confId=5372

Please email Katherine Lato or Erica Snider for any corrections or additions to these notes.

August 2018 Offline Leads Meeting Notes

Attendance: Tom Junk, Herb Greenlee, Erica Snider, Katherine Lato

I. LArSoft Status including open issues.

    • LArG4 status –
      • The first stage of Phase I was deployed in v07_03_00. Phase 1 remains incomplete due to missing documentation and the AuxDet module.
        • The short term need for the AuxDet subsystem will depend on the state of on-going developments in MicroBooNE. If not needed, then the first stage will meet the needs of MicroBooNE for MCC9
        • We do not know how long it will take to produce the documentation given the absence of Hans Wenzel, who is away through mid-September.
      • Work on Phase 2 is proceeding — abstracting the anode region simulation and handling of “S2” light generated in the dual-phase electron extraction and amplification region.
        • The S2 light work is almost completed.
        • Erica Snider met with Christoph Alt, Bea Oregui and Paul Russo to refine the design and interfaces for the anode region abstraction. The new design will accommodate dual-phase, single-phase and pixel detector workflows as configurable elements without encumbering any detector with features or elements not essential for that detector. Some interface work has already been completed.
        • Noted that the on-going Wire-Cell based electron drift and signal induction models will need to be adapted in the move to Phase II. No change is needed for Phase I.
    • DUNE timestamp – closed
    • GitHub and licensing. Have redmine issue for licensing (so that’s closed)–  https://cdcvs.fnal.gov/redmine/issues/20370 [After the meeting:  For GitHub, migrating repositories, what about wiki pages and issues? May want a division level solution on this, not just LArSoft, so management will raise this including having a presentation from CMS about how they use GitHub. Need to understand the high level workflow. This issue is beyond just LArSoft, so we won’t be tracking it here.[] Closed.
    • Large detector strategy – asking DUNE to start thinking about this. Have ideas for solution, mainly dealing with small parts of the detector at a time. LArSoft wants to be included in ongoing discussions about this by DUNE, or other experiments.
    • 3D pattern recognition – had meeting. Working on a google document to outline agenda for a meeting https://docs.google.com/document/d/1rDsoGQhJgSMhxwP2dH0U2rV5sCWFgU3hII9d-n4gMVE/edit?usp=sharing
    • S2 light simulation –
      • Paul Russo provided update at SciSoft meeting on Monday. Bea is working on some photon library issues (among them, a bug introduced by MicroBooNE). Christoph Alt also working on it. All immediate questions are answered, so just working on code.

II. Discussion of larsim to lardetsim sign-off – no issues raised at the meeting. If people don’t check in private code, they’ll have to run scripts.

III. We asked for comments on:

  1. New policy for merging code & migration to pull-request system – Want to move to pull-requests as part of migrating to GitHub with the experiments being responsible for their own pull-requests. This provides administrative control when someone makes a pull-request. If the CI test fails, they have to deal with it before it is merged. Each experiment needs to have a set of people who handle the pull requests. Asking each experiment to discuss this and let us know if there are any objections.
  2. Plan of each experiment for monitoring the CI system for error reports, and responding to those errors with corrective actions. DUNE has a person. MicroBooNE is thinking about it.

IV. Round Robin sharing, including input to 2019 priorities

  1. ProtoDUNE may soon have stuff they need.
  2. MicroBooNE is interested in maintaining stability to process large volumes of data without infrastructure or interface changes.
    • Question about multi-threading. Plan for 2018 is to make our services thread safe and demonstrate scaling in a test job. Mike Wang is working on this.
  3. ICARUS
    • Priority for 2019 — The build system issues on OSX need to be solved. A critical issue for code development at ICARUS, and has caused several people to stop developing. In advance of a full Spack/SpackDev-based solution, strongly recommends that we address the problem with the install and cmake stages. If not possible, then we should raise the priority of Spack/SpackDev development.
    • A new event display is also a high priority

Please email Katherine Lato or Erica Snider for any corrections or additions to these notes.

July 2018 Offline Leads Meeting Notes

The July 2018 LArSoft Offline Leads status update was handled via email and a google document.

LArSoft – Erica Snider

  1. LArG4 re-factoring update — The current plan as of 7/20/18 is to stage the LArG4 re-factoring in two major steps, targeting the first to be released in a v07 release candidate during the week of July 30. This release will have all major features except for AuxDet support. The second major candidate release update will include support for AuxDet’s as well. The first v07 release will be cut after appropriate testing, and completion of necessary documentation on a schedule to be determined later. This will complete phase I of the LArG4 re-factoring project. Notably, the handling of S2 light, which is formally part of phase II, may be included in the first v07 release.
  2. DUNE timestamp request from Tom Junk https://cdcvs.fnal.gov/redmine/issues/20160 – There were no objections in principle at the last Offline Leads meeting.  Tom Junk presented Timestamp Data Product Proposal at the July 3rd Coordination meeting. LArSoft Collaboration approved addition of new data product for experiment-defined time-stamps, Branch: lardataobj feature/trj_rawdata_timestamp_june2018
  3. GitHub and licensing — discussed at the June Offline Leads meeting.
    • GitHub:  The project has started to investigate the cost / benefit of migrating to GitHub, and will decide whether to make a proposal in the coming months.
    • Licensing:  LArSoft will propose putting the core LArSoft code (everything in the lar* repositories) under the Apache License V2.
  4. Strategy for dealing with large detectors – deferred last month since DUNE wasn’t at the meeting.
  5. 3D pattern recognition.
    • LArSoft would like agreement on a common representation for pixel data versus reconstructed 3D space-points from wires. The project is organizing a meeting in early August with interested parties to discuss whether and how to move forward with collaborating on a common foundation for direct sharing of 3D algorithms between pixel and detectors with wire readouts.
  6. S2 light simulation
    • The project met on June 19th with members of DUNE, Geant4 and LArSoft teams (Jose alfonso Soto, Christoph Alt, Michel Sorel,  Beatriz Tapia Oregui, Paul Russo, Hans-Joachim Wenzel and Erica Snider) to discuss how to deal with the S2 light generated in the gaseous volume in dual phase TPCs.
    • DUNE noted that although there is more than an order of magnitude more S2 light than S1 light, the modeling need not be highly detailed.
    • The generation of this light is entangled with the electron drift model. We agreed on a basic workflow design that accommodates SP and DP detectors, avoids the use case of single photon propagation for S2 light, provides for detector-specific anode simulations, and minimizes the amount of new code that needs to be written. We further agreed on a careful review of the necessary interfaces before finalizing the design. The timescale for this work is still under discussion, but has started.

DUNE – Andrew John Norman, Heidi Schellman, Tingjun Yang

ProtoDUNE has switched to use tool-based dataprep code (issue #20303).

TrajCluster is being restructured to run 3D slicing first and then run cluster reconstruction on each slice. This helps improve the speed to reconstruct events with lots of cosmic ray muons (ProtoDUNE and MicroBooNE). There was a presentation at the July 31 LArsoft coordination meeting on this.

ICARUS – Daniele Gibin, (Tracy Usher)

In preparation for MCC1 which hopes to launch the first full week of August. Toward that end have integrated pandora, have generated a new photon library (with updated geometry), have included the CRT into the simulation, have developed a coherent noise model which should represent what has been observed with tests of the new (warm) electronics at CERN, etc. We seem to still be not fully operational with POMS and current plans are to use project.py for MCC1 unless a solution to what appear to be ICARUS only problems can be solved. MCC1 will consist not only of single particle samples similar to what has been generated previously but also aims to generate of order 100k BNB + cosmic events. This will probably tax our current resources (jobs, disk space, tape, etc.) but need to find out sooner than later!

Looking forward, the next big task for the geometry will be the splitting of the horizontal wires into two halves, we are not sure what impact this has on LArSoft but expect things to break when this happens.

LArIAT – Jonathan Asaadi

No Report

MicroBooNE – Herbert Greenlee, Tracy Usher

All updates from MicroBooNE’s MCC8 campaign have been merged to the develop branch (both larsoft proper as well as uboonecode).

The current focus of MicroBooNE’s development on the develop branch is integrating code for a future MCC9 production campaign.  This will most likely make use of the the “MicroBooNE LArG4 refactoring” (as opposed to the official larsoft LArG4 refactoring).  A major subfocus is integrating wire cell simulation, which replaces the electron drift model of the old LArG4 simulation. In principle, this impacts larsoft via the larwirecell package.  We know for sure that there will need to be a new version (v0_8) of the wirecell external product (current version v0_7_0a).

The monolithic uboonecode repository was recently split into ten repositories (the “uboone suite” now consists of 13 packages/repositories).  This impacts larsoft minimally only to the extent that uboonecode is included in larsoft test builds.

MicroBooNE is beginning to think about SLF7 migration.  We have a ticket open requesting SLF7 build and login gpvm nodes.

SBND – Roxanne Guenette, Andrzej Szelc

No Report

Please email Katherine Lato or Erica Snider for any corrections or additions to these notes.

June 2018 Offline Leads Meeting Notes

LArSoft Offline Leads Meeting – 6/27/18
Attendees: Erica Snider, Tracy Usher, Herb Greenlee, Andrzej Szelc, Katherine Lato

LArSoft Status

  • LArG4 restructuring update –
    1. Work that remains in phase one is a translation from MCParticle into the inputs that Geant uses. We believe testing of phase 1 will occur in early July.
    2. There are things in phase two that are critical for DUNE and ICARUS, and may benefit everyone else who needs various detector-specific customizations while using common bits of everything else. We don’t have a timescale for phase two.
  • Requested comments on:
    1. DUNE timestamp request – https://cdcvs.fnal.gov/redmine/issues/20160 there’s a feature in the protoDUNE DAQ that has some ambiguity about the time various blocks of raw digits are read out. They’re proposing a timestamp per channel. Questions:
      • How does that affect things written to disk already? It adds 64 bits per channel. Backward compatibility problem if you need the timestamp, but not if you don’t. No one except DUNE currently needs it.
      • Had hoped there would be a DUNE representative to help discuss this at the meeting, but there wasn’t, but experiments represented had no objections in principle.
    2. GitHub and licensing – Apache license. Can use the code however you want, can repackage it, but can’t take it out of this license. While not opposed to migrating to GitHub, SBND wanted to know why? GitHub has a richer set of collaboration tools than redmine. It enables pull requests. We’d probably start by mirroring from redmine and eventually switch to mirroring from github. People could work with either one.
      • How do you control authorization and access? Public means public for everyone to access, not everyone to commit code. We’d like to structure access with groups, like we have now.
      • No objections in principle. “All the cool kids are doing this.”
    3. Strategy for dealing with large detectors – deferred since DUNE wasn’t at the meeting.

Round Robin:

ICARUS

  1. Discussion in Europe about 3D pattern recognition.
    • LArSoft would like agreement on common representation for pixel data versus reconstructed 3D space-points from wires. The idea of having a workshop around a DUNE collaboration meeting with participation from ALICE didn’t gain traction. Could start with a short video-call meeting to discuss if people are interested in collaborating and figure out the next step from there.
  2. Pandora fixed their problem with handling horizontal wires. ICARUS has a lot of questions surrounding geometry, adding more stuff to the detector geometry model. Have to deal with split wires in the simulation and reconstruction, where the split does not provide a logical TPC boundary.
    • LArSoft suggested that the simulation case could be handled locally with a detector-specific anode region simulation, which becomes possible in phase 2 of the LArG4 re-factoring. This would mean that ICARUS won’t have to rely on geometry system to give all the answers. Going this route, however,  risks issues on the reconstruction side, where algorithms rely on answers from the geometry system.
    • Analogy with DUNE raised. But ICARUS has two channels servicing one wire. DUNE has the inverse problem, a single channel servicing two wires. ICARUS should let LArSoft know if they run into things that the geometry isn’t addressing.
  3. Question: Where are things on Event Display?
    • Erica is hoping to devote time in early July to taking the first steps in the evaluation with a goal to get it done by the end of the summer.

SBND

Working on reconstruction chain.

Update on earlier items:

  • effects of misalignment in APAs. They haven’t had time to finish the code. Misaligning the APA changes the electric field, most important for a surface detector.
  • Ran into problems running the optical simulation. This is a fixable problem. SBND talked to Wes, and understand what to do.

MicroBooNE

  • Regarding LArG4 refactorization, will the experiment be tied to the fast optical simulation?
    • Yes when run in a production mode (eg, with full TPC simulation). Doing otherwise would require going back into Geant4. There is no provision for that, even after the phase one release, though it is not in principle precluded.
    • Will need a dedicated job with a different workflow to generate a photon library.
  • Cherenkov light will be an issue for MicroBooNE and ICARUS.
    • Believe Geant4 can handle this. The only question is whether downstream optical detector simulation code looks for the result.
    • We might also want a look-up library for Cherenkov light
  • The warning message about deprecation should be fixed. As requested, MicroBooNE opened a ticket for this:. https://cdcvs.fnal.gov/redmine/issues/20233

July meeting is via a google doc.

Any questions or comments, please email Erica or Katherine

Erica & Katherine