The function call calcBeamParameters
at line 2630 is unnecessary since it is anyway called in StatWriter::write
at
line 123. Therefore, we can remove this call.
This is also a design issue since I'm actually not a fan of calling the beam parameter function in the write function. It is up to you.