Project

General

Profile

Feature #1882

Multiple primary tracks per event

Added by Dobbs, Adam over 5 years ago. Updated over 5 years ago.

Status:
Open
Priority:
High
Assignee:
Category:
Simulation
Target version:
Start date:
26 October 2016
Due date:
% Done:

0%

Estimated time:
Workflow:
New Issue

Description

MAUS cannot currently simulate multiple primary tracks per event (i.e. trigger). Issue is becoming very pertinent due to need to simulate the descoped DEMO, which potentially has dark current noise.

My initial break down of the task:

  • MCEvent:
    • Currently holds a pointer to a single Primary, this must become an array of pointers to Primaries, changing the class interface
    • Appropriate MCEvent data processor will need to be updated
    • Calling code will need to be refactored
    • Tests will need to be updated
  • MapPyBeamMaker:
    • particle["primary"] = {} should become particle["primary"] = [] i.e. a list of dicts not a single dict
    • Add a nested loop to populate this list with multiple primaries
    • Add a configuration variable to set the number of primaries per event
    • Tests will need to be updated
  • MAUSGeant4Manager:
    • Function RunManyParticles will need a new nested loop over primaries
    • Tests will need to be updated

This is not an extensive list, and may grow when I start coding.

Also available in: Atom PDF