Set of scripts for producing histograms of the processing time of the modules involved in the Mu2e online reconstruction/trigger
- copy the list of the files produced by the
art(artdaq)::TimeTrackerservice in a directoryinput_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, whereN_MAXis 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 -bgStyle->SetOptStat(111110)gStyle->SetOptTitle(0).L scripts/PlotTimes.C.L scripts/doTimingPlots.CplotAllTiming("input_dir/ntasks_x/csv_yz")
- for producing the summary table for each block of modules (
producers,filters,summary) we use apythonscript:python python/plot_filters_time.py -s input_dir/timing_plots.root -o input_dir, wheretiming_plots.rootis the ROOT file produced by the ROOT script from the previous step