(LAr) ND Software · • Spill ID, interaction ID (book keeping) • Genie status code (QE, RES,...

6
(LAr) ND Software DUNE BSM Group Meeting March 17, 2020 Andy Mastbaum Rutgers University [email protected]

Transcript of (LAr) ND Software · • Spill ID, interaction ID (book keeping) • Genie status code (QE, RES,...

Page 1: (LAr) ND Software · • Spill ID, interaction ID (book keeping) • Genie status code (QE, RES, etc.) ... initial/final 4-position, initial/final energy, process • Spill ID, interaction

(LAr) ND SoftwareDUNE BSM Group Meeting March 17, 2020

Andy Mastbaum Rutgers University [email protected]

bas ic elements 2 .8

ident it y.rutgers .edu rutgers v isual ident it y manual

The Rutgers Shield

The Rutgers shield appears to the left. It may not

be modified in any way.

The shield is available in different electronic formats

appropriate for your use.

The shield may be used as a stand-alone design

element; however, the Rutgers logotype, with or

without a signature, must also be included on the

piece. The Rutgers shield may not be used in place

of the Rutgers logotype. It may also be used in

combination with the Rutgers logotype, the state

university signature, a chancellor-level signature,

or a unit signature. (see page 2.9 ).

For size and clear space requirements refer to

page 2.10 .

Note: For print projects, when placed on a

background, the white fill remains white. It may

not be replaced by the background color.

To download the shield, go to identity.rutgers.edu/

download-zone.

Need help?

Email [email protected].

RU_SHIELD_PMS186 RU_SHIELD_REVWHITE

The reverse shield is a custom graphic for use when a white shield is needed.

RU_SHIELD_PMS186_100K RU_SHIELD_100K

Page 2: (LAr) ND Software · • Spill ID, interaction ID (book keeping) • Genie status code (QE, RES, etc.) ... initial/final 4-position, initial/final energy, process • Spill ID, interaction

Software Integration ND Software Integration Group

2

• Contact: Mathew Muether, Wichita State • Meetings Thursdays, 10 AM CT • [email protected] • DUNE Slack #nd_software_integrate

GENERATORS

Alt. Gen

3DST-S/K

DATA from DAQ

PRODUCTION TOOLS: Batch computing, cataloging etc.

ANALYSISTOOLS:EventDisplay,CAF

RECO

LAr

MPD

GEOMETRY

LAr

MPD

3DST-S/K

Hall

Rock

FLUX

Beam

Cosmics

Rock

GENIE

Etc.

GEANT RESPONSE/LAr READOUT

LArMPD

MPDExotics 3DST-S/K

3DST-S/K

Overlay/Spill structure

Overview of the Software (Roadmap)SIMULATION

M.Muether– DUNECollaborationMeeting- Jan.302020 3

Page 3: (LAr) ND Software · • Spill ID, interaction ID (book keeping) • Genie status code (QE, RES, etc.) ... initial/final 4-position, initial/final energy, process • Spill ID, interaction

Geometry

3

• Current ND hall Geometry → • DUNENDGGD → GDML • Versions for different designs • Used in GENIE, G4 sims

• edep-sim, GArSoft, LArSoft • LAr Geometry

• 5×7 ArgonCube modules • Rough geometry for services • Need to integrate latest engineering • WIP on detailed optical modules

Full ND hall geometry

(DUNENDGGD)

LAr

pillow

light r/ofield cagecathode

module 1×1×3 m3

Knut Skarpaas (SLAC)DUNE CM CERN – Jan. 30st 2020Patrick Koller 2

optSim GDML with NDGGD – top view

ROOT’s GL viewer

LAr volume

ArCLight panels

LArPix tiles

SiPMsASICs

ArCLight Optical Detector Model Patrick Koller (Bern)

Note: Setup on DUNE GPVMs can be found at the DUNE NearDet Design Wiki

Page 4: (LAr) ND Software · • Spill ID, interaction ID (book keeping) • Genie status code (QE, RES, etc.) ... initial/final 4-position, initial/final energy, process • Spill ID, interaction

• Interaction type (neutrino, cosmic, dirt, particle gun, etc.)• Spill ID, interaction ID (book keeping)• Genie status code (QE, RES, etc.)• Generator particle (nuclear interaction level): pdg, 4-position, 4-momentum, ID #• “Tracked”/”primary” particle (after final state interactions): pdg, 4-position, 4-momentum, ID #

• Spill ID, interaction ID • Particle hierarchy: mother ID #, daughter ID #• G4 track steps: initial/final 4-position, initial/final energy, process

• Spill ID, interaction ID Truth Charge Hit• Track step • Track ID• Edep• Start• End• Recombination factor• Longitudinal diffusion• Transverse diffusion

• Spill ID• Channel ID • Timestamp• ADC

• Spill ID• Channel ID• Timestamp• Charge

GeneratorE.g. Genie, NuWro, particle gun Truth

TrackingGeant4 particle stepping per physics process

Signal Propagation

Light• Propagation to

ArcLight/LCM• Trap model

Charge• Track segmenter• Recombination• Charge attenuation• Diffusion• Propagation to anode

True Hits

Electronics SimulationLight hit• Parameterized response• Electronics response• DigitizationSingle-hit charge• Parameterized responseMulti-hit charge

• Field response• Front-end analog response (w/

noise)• Front-end digital response• Digital block formation

Raw Data

Calibration• Response

unfolding• Channel

calibration

RecoHits

Truth Light Hit• SiPM index• Track ID• Track step• Time• Intensity

TrueInteraction

StepsInput to machine

learning truth

2/20/2020 5

LAr ND SimulationB. Russell

Lawrence Berkeley National Laboratory

DUNE LAr ND Analysis MeetingFebruary 20th 2020

LAr Workflow & Format Data Format Discussions

D. Dwyer, F. Piastra, B. Russell, and K. Terao:

Indico slides-entire genie record, bsm generators. generic ghep-like w/ iface attached to generators. CM: see existing code in nusystematics for XS RW-generator type/id-pass along native generator output for uncertainties, etc.-flux info: currently gsimple, future needs for dk2nu, pass it through-spill info - beam monitoring, intensity, etc. (see beam group)쑰

Page 5: (LAr) ND Software · • Spill ID, interaction ID (book keeping) • Genie status code (QE, RES, etc.) ... initial/final 4-position, initial/final energy, process • Spill ID, interaction

LAr Reconstruction Reco with GNNs [F. Drielsma, Q. Lin, SLAC]

5

• End-to-end shower reconstruction based on Machine Learning

• Input is voxelized energy depositions (natural for ArgonCube)

• Semantic segmentation selects shower voxels, DBSCAN clusters them

• Bipartite Graphical Neural Network learns how to connect the cluster fragments

• Applying to π0 reconstruction, working with R. Berner at U. Bern

• Slides on Indico: F. Drielsma • Slides on Indico: Q. Lin

ML-Based Shower Reconstruction in ArgonCube

F. Drielsma, B. Nelson, P. Cote de Soux, Q. Lin, K. Terao

on behalf of the SLAC ML group

[email protected]

March 4, 2020

GNN Input/target networkMust propose edges for the GNN toselect from:

No primary input:I Complete graphI Delaunay graphI MST graph

Primary input:I Bipartite

Must select a target network:

Group-based: Every edge thatconnects two nodes in thesame group must be on

Photon-based: Nodesconnected by a true photonmust be on

Francois Drielsma (SLAC) ML-based Shower Reconstruction in ArgonCube March 4, 2020 7 / 18

⇡0 mass reconstruction ML Reco Chain

End-to-end Machine Learning reco chain

1. Input: voxelized energy deposition(native in ArgonCube!)

2. UResNet Semantic Segmentation:shower pixel selection

3. DBSCAN on shower pixels: showerfragment formation

4. Graphical Neural Network: twoseparate tasksa. Primary fragment identificationb. Secondary fragment matching

5. Shower energy reconstruction

6. Shower start/angle reconstruction

7. Shower matching

Francois Drielsma (SLAC) ML-based Shower Reconstruction in ArgonCube March 4, 2020 17 / 18

Recon & Analysis framework:

Qing Lin on behalf SLAC ML groupMarch 5th

Particle clustering

Page 6: (LAr) ND Software · • Spill ID, interaction ID (book keeping) • Genie status code (QE, RES, etc.) ... initial/final 4-position, initial/final energy, process • Spill ID, interaction

Conclusions

6

Analysis Path Forward • Active discussions in progress about better unifying the LAr/GAr simulations, stay tuned • For LAr, edeps → smearing → reco provide a "shortcut"

• Currently being exploited for π0 analysis (R. Berner, Bern + SLAC team) • (Dedicated talk(s) on this?)

• LAr charge simulation remains in progress, we are pushing on this • LAr light simulation has detailed GDML, finalizing G4 optical model → photon library

Organization • LAr ND (ArgonCube 2×2 + ProtoDUNE-ND + LAr ND) — Mastbaum

[email protected], #lar_nd_analysis, biweekly Thursdays 10:30 ET • ND Software Integration Group — Muether

[email protected], #nd_software_integrate, biweekly Thursdays 12:00 ET

Thank You!