TrigCost: Add option to dump algorithms mean time
Add option in cost post processing to dump algorithms mean time per event and per call to log file by using flag --dumpAlgorithmSummary
Example:
Py:Algorithm_HLT INFO Algorithm: IDViewDataVerifier_electron Mean Time per call [ms]: 0.134 Mean Time per event [ms]: 0.819
Py:Algorithm_HLT INFO Algorithm: FStep1_empty_1L1in_EmptyEgammaAlign1_empty_1L1in_EmptyMuonAlign1_empty_1L1in_EmptyTauAlign1_MainStep_jet_a4_tc_em_subjesIS Mean Time per call [ms]: 0.0 Mean Time per event [ms]: 0.0
Py:Algorithm_HLT INFO Algorithm: FStep1_merged_1PhotonFastCalo_EmptyEgammaAlign1_1JetFS Mean Time per call [ms]: 0.128 Mean Time per event [ms]: 0.128
Py:Algorithm_HLT INFO Algorithm: FStep4_empty_1L1in_EmptyEgammaAlign4_empty_1L1in_EmptyMuonAlign1_empty_1L1in_EmptyTauAlign1_MainStep_jet_a4_tc_em_subjesIS Mean Time per call [ms]: 0.0 Mean Time per event [ms]: 0.0
Py:Algorithm_HLT INFO Algorithm: PixelDistortionAlg Mean Time per call [ms]: 5.773 Mean Time per event [ms]: 5.83
Py:Algorithm_HLT INFO Algorithm: FStep11_merged_1MVA_tau_EmptyTauAlign1_1METFS_1METFS Mean Time per call [ms]: 0.1205 Mean Time per event [ms]: 0.121
Py:Algorithm_HLT INFO Algorithm: FStep5_merged_1precision_photon_EmptyEgammaAlign4_1JetFS_1JetFS_EmptyEgammaAlign1_merged_1precision_photon_EmptyEgammaAlign4_1JetFS_1JetFS_EmptyMuonAlign1_merged_1precision_photon_EmptyEgammaAlign4_1JetFS_1JetFS_EmptyTauAlign1_merged_EmptyJetMETAlign1_1Photon_MainStep_jet_a4_tc_em_subjesIS_MainStep_jet_a4_tc_em_subjesIS Mean Time per call [ms]: 0.0 Mean Time per event [ms]: 0.0