gallery-framework

The event display for SBN at Fermilab

https://github.com/titus-evd/gallery-framework

Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.9%) to scientific vocabulary

Keywords

fermilab icarus microboone neutrino sbnd
Last synced: 10 months ago · JSON representation ·

Repository

The event display for SBN at Fermilab

Basic Info
Statistics
  • Stars: 5
  • Watchers: 8
  • Forks: 13
  • Open Issues: 10
  • Releases: 7
Topics
fermilab icarus microboone neutrino sbnd
Created over 9 years ago · Last pushed 11 months ago
Metadata Files
Readme Citation

README.md

Generic badge

Gallery Framework

What is this?

This is a light framework that interfaces with gallery to read art-root files. You have probably used larlite, which gives a light framework for reading and writing larlite format root files. Gallery is a system to read art-root files, but doesn't provide any of the other useful tools you're used to. You have to write your own event loop, build your code yourself, make sure to get all the linked libraries correct, etc.

This framework tries to help with that. It interfaces with gallery to provide a larlite-style interface. You write classes that extend from anabase.h, just like in larlite. Instead of receiving storagemanager, you receive gallery::Event. You still have access to a lot of tools from larlite like GeometryHelper and LArUtils in general.

TITUS Event Display

This framework contains TITUS: the event display for SBND at Fermilab. TITUS allows to visualize both raw and reconstructed data in 2D and 3D from the all the detectors in SBN program: SBND, MicroBooNE and ICARUS.

TITUS for SBND

Example of event display for SBND

TITUS for ICARUS

Example of event display for ICARUS Example of event display for ICARUS

Requirements

1) You need gallery. For right now, that requires ups products, which means it uses it's own gcc/python/root and not the ones on your laptop. If you are on the gpvms, getting gallery is super simple. On your laptop, visit scisoft.fnal.gov to get gallery.

2) You need larsoft data products: nusimdata, larcoreobj, lardataobj. If you get gallery via ups, get these via ups too.

3) We're working on a way to build gallery and larsoftobj systems without ups, using your own gcc and such. This will come out later.

4) If you want to have the display you'll need numpy and PyQt. You can get numpy and qt5 through scisoft and ups as well. PyQt5 you can install once qt5 is built and ready, just make sure to install it to the ups python area.

How to build and install the framework

1) Create a build directory: mkdir gallery_framework_build && cd gallery_framework_build

2) Run cmake: cmake /path/to/gallery-framework

3) Compile with cmake --build .

4) Make sure libraries are in your $LD_LIBRARY_PATH: export LD_LIBRARY_PATH=$(pwd)/lib:$LD_LIBRARY_PATH

How to build and run the event display

1) Make sure the framework is built.

2) Make sure you have a working Python environment with PyQt5

3) Go to the UserDev/EventDisplay/python directory

4) Run with evd.py /path/to/art-root-file.root

(planned, coming soon) Install TITUS Python library: From UserDev/EventDisplay/python, do pip install .. Now you can write your own evd.py or copy the example and run from anywhere

Citation (CITATION)

@article{instruments4040031,
  AUTHOR = {Adams, Corey and Del Tutto, Marco},
  TITLE = {TITUS: Visualization of Neutrino Events in Liquid Argon Time Projection Chambers},
  JOURNAL = {Instruments},
  VOLUME = {4},
  YEAR = {2020},
  NUMBER = {4},
  ARTICLE-NUMBER = {31},
  URL = {https://www.mdpi.com/2410-390X/4/4/31},
  ISSN = {2410-390X},
  DOI = {10.3390/instruments4040031}
}

GitHub Events

Total
  • Issues event: 2
  • Delete event: 3
  • Issue comment event: 3
  • Member event: 1
  • Push event: 131
  • Pull request review event: 8
  • Pull request event: 10
  • Fork event: 1
  • Create event: 5
Last Year
  • Issues event: 2
  • Delete event: 3
  • Issue comment event: 3
  • Member event: 1
  • Push event: 131
  • Pull request review event: 8
  • Pull request event: 10
  • Fork event: 1
  • Create event: 5

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 2
  • Total pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: 3 days
  • Total issue authors: 2
  • Total pull request authors: 3
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: 3 days
  • Issue authors: 2
  • Pull request authors: 3
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • marcodeltutto (8)
  • ikatza (1)
  • tbwester (1)
Pull Request Authors
  • marcodeltutto (9)
  • henrylay97 (4)
  • tbwester (4)
  • Jjm321814 (1)
Top Labels
Issue Labels
feature (3) enhancement (3) bug (1)
Pull Request Labels