Skip to content

Commit

Permalink
Add number of MCF events and missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
sfegan committed Oct 17, 2024
1 parent b94f032 commit b8eeab7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions python/diagnostics/stage1_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def stage1_summary_elements(stage1, logsheet_url='', dqm_url=''):
zero_suppress(run_info.num_pedestal_trigger()),
zero_suppress(run_info.num_external_calibration_trigger()),
zero_suppress(run_info.num_internal_calibration_trigger()),
zero_suppress(run_info.num_muon_candidate()),

zero_suppress(int(numpy.sum(run_info.const_duplicate_event_numbers().count()))),
zero_suppress(num_event_missing),
Expand All @@ -95,6 +96,7 @@ def stage1_summary_elements(stage1, logsheet_url='', dqm_url=''):
'=HYPERLINK("' + logsheet_url + '","Logbook")' if logsheet_url else '',
'=HYPERLINK("' + dqm_url + '","DQM")' if dqm_url else '',
'%d'%run_config.fragment_filename_size(),
'%d'%run_config.num_missing_fragments(),
'%.3f'%(run_config.file_size()/1e9),
'%d'%run_config.configured_module_id_size(),
'%.1f'%calin.diagnostics.stage1_analysis.num_wf(stage1),
Expand Down
2 changes: 1 addition & 1 deletion scripts/render_stage1_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ def upload_text(runno, quantity, iostream):

if(opt.upload_to_google_drive() and opt.summary_sheet()):
uploader = new_uploader()
uploader.sort_sheet(opt.summary_sheet(), 33, row_start=3)
uploader.sort_sheet(opt.summary_sheet(), 35, row_start=3)
del uploader

print("=================================== RESULTS ===================================")
Expand Down

0 comments on commit b8eeab7

Please sign in to comment.