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
substr
by resize
and simplify character parsing.cc @sroe