3D Field and Detector Response Calculations With Boundary Element Method Brett Viren
Physics Department
3D Field and Detector Response Calculations With Boundary Element - - PowerPoint PPT Presentation
3D Field and Detector Response Calculations With Boundary Element Method Brett Viren Physics Department DUNE FD Sim/Reco August 1, 2016 Outline Formalism Calculating Detector Response Geometry Parallel Wires / fake-2D MicroBooNE-like
Physics Department
Formalism Calculating Detector Response Geometry Parallel Wires / fake-2D MicroBooNE-like Initial Response Function Results To Do Software
Brett Viren (BNL) LARF August 1, 2016 2 / 20
Formalism
current waveform which is then shaped and digitized.
the instantaneous values of the:
electrode in the vicinity.
waveforms from multiple, distributed charges.
average response function to produce a good measure of distribution of drifting charge.
→ the more the average response function matches the the true, instantaneous response function the better the deconvolved LArTPC image.
Brett Viren (BNL) LARF August 1, 2016 3 / 20
Formalism
Current in kth wire due to charge q at position r(t) at time t: ik( r(t)) = q × ( Eweight,k · v)
Edrift( r(t)) Drift field Edrift from applied high voltage Weight field Eweight,k constructed Shockley-Ramo field. Drift Velocity v(t) determines (mean) drift path of an electron. Mobility µ = µ(Edrift) of the drifting charge in LAr.
( Eweight,k calculated by setting wire k to 1V and all other electrodes to 0V .)
Brett Viren (BNL) LARF August 1, 2016 4 / 20
Calculating Detector Response
1 Define electrode geometry (eg, some wires + cathode). 2 Calculate scalar and vector fields:
Edrift for the given geometry.
Eweight,k for each wire of interest.
3 Step through vector vector field while sampling current field. 4 Explore ways to average sampled currents to form
average response functions.
Brett Viren (BNL) LARF August 1, 2016 5 / 20
Calculating Detector Response
1 Discretize electrode surfaces with a triangular mesh. 2 Define potential boundary conditions on mesh elements. 3 Integrate Laplace equation ∇2φ = 0. 4 Fit integral equation to boundary values. 5 Evaluate at points in the volume to get φ(
r). A lot of math and code: rely on GMSH for meshing (1-2) and BEM++ for solving/evaluating (3-5).
Brett Viren (BNL) LARF August 1, 2016 6 / 20
Calculating Detector Response
BEM
surface-to-volume. ( Eweight,k)
relatively new math discoveries.
implementations. This work. FEM
surface-to-volume. ( Efield)
improve performance.
heavily used in industry. Past 2D and new 3D →
Brett Viren (BNL) LARF August 1, 2016 7 / 20
Calculating Detector Response
→ Potential BEM/FEM hybrid to get the best of both.
Brett Viren (BNL) LARF August 1, 2016 8 / 20
Geometry
“Parallel”: 3mm pitch and gap all wires parallel “MicroBooNE”-like: 3mm pitch and gap 60◦ angles for U/V . “DUNE”-like: 5mm pitch and gap 35.7◦ angles for U/V . Wire generation is parameterized so easy to explore different wire patterns.
Brett Viren (BNL) LARF August 1, 2016 9 / 20
Geometry Parallel Wires / fake-2D
U plane V plane W plane
Brett Viren (BNL) LARF August 1, 2016 10 / 20
Geometry Parallel Wires / fake-2D
Weighting Field of a U Wire
Garfield 2D calculation from Bo
20 15 10 5 5 10 15 20 20 15 10 5 5 10 15 20
BEM Calculation (potential)
0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0
3D BEM, parallel wires, sliced at Y=0.
Initial, qualitative agreement. More checks would be good but, good enough to continue.
Brett Viren (BNL) LARF August 1, 2016 11 / 20
Geometry MicroBooNE-like
Wires parameterized by pitch, angle, bounding box, radius.
Brett Viren (BNL) LARF August 1, 2016 12 / 20
Geometry MicroBooNE-like
Brett Viren (BNL) LARF August 1, 2016 13 / 20
Geometry MicroBooNE-like
Brett Viren (BNL) LARF August 1, 2016 14 / 20
Initial Response Function Results
10 20 30 40 50 60 Digitization time [us] 8 6 4 2 2 4 6 Current (x 1e+13) [amp]
Induced Current Response (3D)
Response for charge near a U-plane wire and charge passing near its nearest and next-nearest wires.
2D equivalent (from uB signal note)
Preliminary, hot off the press!
Brett Viren (BNL) LARF August 1, 2016 15 / 20
To Do
→ (for BEM, FEM is N2!).
crossing pattern
Eweight,k instead of 3.
Anyone wanting to get involved is welcome!
Brett Viren (BNL) LARF August 1, 2016 16 / 20
Software
Some features:
line interface and configuration file.
→ users/developers welcome. Code and docs on GitHub: https://github.com/brettviren/larf.
Warning: docs need a refresh, contact me before reading so I can clean up.
Brett Viren (BNL) LARF August 1, 2016 17 / 20
Brett Viren (BNL) LARF August 1, 2016 18 / 20
Evolution of position rk ≡ r(tk) from step k to k + 1:
rk+1 = rk + v( rk) × ∆tk Use Adaptive Runge-Kutta + Cash/Karp (∼ 5th order)
Brett Viren (BNL) LARF August 1, 2016 19 / 20
U-wire at center, drift goes upward, Y-Z slice, 0.5 mm voxels, current in Amps.
Brett Viren (BNL) LARF August 1, 2016 20 / 20