SBNSoftware / sbndcode

10 stars 43 forks source link

Number of Wires #438

Open marcodeltutto opened 3 months ago

marcodeltutto commented 3 months ago

The current number of wires in the simulation is incorrect.

This issue was identified by @mstancar and @absolution1 in the v1 geometry, and again by @tomjunk in v2.

Since for the Y plane there are no wires in the middle of the 2 APAs, what was meant to be done in the past was to add more Y wires and flag the ones in the middle as dead. But, in the current version of the geometry, this is not the case, we don't have more wires but are still turning off some of the wires, having in the end fewer channels than in reality. This is also true for the induction wires, where the no-existent wires are at the corners.

The dead wires were added with geometry v01_05, and the following table summarizes the number of wires in v01_05, v02_00 (current), and in reality.

image

While in v01_05, the "dead" wires were in the correct position (although leading to an incorrect number of total wires), in the current v02_00 they end up in the wrong positions, as can be seen in the following plots, showing the wires on plane 0, 1, 2, and indicating the wires flagged as "dead" in red.

v01_05 wires_01_05

v02_00 wires