L1CaloFEXSim: cppcheck fixes
- Use a constant for the number of layers and fix potential out-of-bounds access due to mistake in size check.
- Replace use of
substr
byresize
and simplify character parsing. - Initialize arrays.
cc @sroe
GitLab jobs artifacts no longer stored forever as of Monday, November 4th 08:30h. Further information under https://cern.ch/otg0152576
substr
by resize
and simplify character parsing.cc @sroe