LDMX-Software / Ecal

Software module for digitizing, reconstructing, and vetoing within the ECal.
1 stars 0 forks source link

Move away from hardcoded num of ECAL layers in ECAL veto #52

Closed tvami closed 7 months ago

tvami commented 7 months ago

Purely technical at this point: moves hardcoded 33 to the nEcalLayers_-1 (which has the value of 33). This will be relevant for the case when we have the reduced ECAL with a non-33 layer situation.

As a test I compared the ECAL veto simhits leafs, and they are identical as expected.

Resolves https://github.com/LDMX-Software/Ecal/issues/51