RootMaterialWriter usage in MaterialMappingBase bugged
Inside of MaterialMappingBase
a RootMaterialWriter
object will be destructed twice before the sequencer
starts running. This causes a Close()
call onto the TFile
the writer is supposed to write into. Since no further Open()
call on the specified file happens the writer causes lots of errors and no output.