Performance studies of a dual-readout calorimeter for the IDEA detector and development of a test beam online monitoring tool