Project

General

Profile

Support #11352

Include ability to keep particles by volume in next release

Added by Matthew Bass almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
01/05/2016
Due date:
% Done:

100%

Estimated time:
Spent time:
Experiment:
MicroBooNE
Co-Assignees:
Duration:

Description

As discussed in the larsoft coordination meeting and here (https://indico.fnal.gov/getFile.py/access?contribId=3&resId=0&materialId=slides&confId=10893) MicroBooNE would like the following feature branches included in the next release:

larcore: gp_LocateVolumeByName
larsim: mibass_LArG4KeepByVolume

This adds the fcl parameter KeepParticlesInVolumes to LArG4_module.cc to allow a list of volume names to be specified. If a g4 particle passes through one of these volumes (has a trajectory point contained in the volume) then that particle is kept, otherwise it is not stored. This reduces the memory and disk usage and tests in MicroBooNE have shown that it does not significantly affect analyses.

If no volumes are specified (default) then all particles are kept so this is a non-breaking change.

History

#1 Updated by Lynn Garren almost 5 years ago

  • Status changed from New to Assigned
  • Assignee set to Lynn Garren

#2 Updated by Lynn Garren almost 5 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Merged and tested. This will be part of larsoft v04_32_00.

#3 Updated by Lynn Garren over 4 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF