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.
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