Skip to content

gianipez/mu2eTimingPlotsMaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mu2eTimingPlotsMaker

Set of scripts for producing histograms of the processing time of the modules involved in the Mu2e online reconstruction/trigger

How to run

  • copy the list of the files produced by the art(artdaq)::TimeTracker service in a directory input_dir
  • we need to create the list of the txt files that contains the timing info of each module: source bash/ProcessSQL.sh input_dir 1/2BB
  • let's now produce the txt for a bunch of summary timing info: python python/merge_timing_files.py -i <path-to-csv-dir> -max N_MAX, where N_MAX is the number of events we want to process
  • for the detailed histogram for each of module (and also the summary ones), we use a ROOT macro:
    • root.exe -b
    • gStyle->SetOptStat(111110)
    • .L scripts/PlotTimes.C
    • .L scripts/doTimingPlots.C
    • plotAllTiming("input_dir/ntasks_x/csv_yz")
  • for producing the summary table for each block of modules (producers, filters, summary) we use a python script:
    • python python/plot_filters_time.py -s input_dir/timing_plots.root -o input_dir, where timing_plots.root is the ROOT file produced by the ROOT script from the previous step

About

set of scripts for producing timing plots

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published