Skip to content
Snippets Groups Projects
Commit 12917a7e authored by Mark Sutton's avatar Mark Sutton Committed by Johannes Elmsheuser
Browse files

Plot timings on a log x scale by default

For some of the cost moniotring histograms, the imes are sort with long
tails and it is difficult to see what is going on

The request by default, plots the time on a logx scale
parent 99b555da
No related branches found
No related tags found
No related merge requests found
......@@ -955,7 +955,7 @@ public:
for ( unsigned i=0 ; i<size() ; i++ ) at(i).trim_errors( m_trim_errors );
for ( unsigned i=0 ; i<size() ; i++, first=false ) at(i).Draw( i, leg, means, first );
if ( watermark ) DrawLabel(0.1, 0.02, "built on "+stime()+release, kBlack, 0.03 );
if ( watermark ) DrawLabel(0.1, 0.02, "built "+stime()+release, kBlack, 0.03 );
gPad->SetLogy(m_logy);
gPad->SetLogx(m_logx);
......
......@@ -59,8 +59,8 @@ dist_panel = {
"eta", "eta", "xaxis:lin:auto:1:100", "Reference #eta", "yaxis:lin:auton", "Normalised entries",
"eta_rec", "eta rec", "xaxis:lin:auto:1:100", "Trigger #eta", "yaxis:lin:auton", "Normalised entries",
"a0", "a0", "xaxis:lin:-3:3", "Reference a_{0} [mm]", "yaxis:log:auton", "Normalised entries",
"a0_rec", "a0 rec", "xaxis:lin:-3:3", "Trigger a_{0} [mm]", "yaxis:log:auton", "Normalised entries",
"a0", "a0", "xaxis:lin:autosym:-3:3", "Reference a_{0} [mm]", "yaxis:log:auton", "Normalised entries",
"a0_rec", "a0 rec", "xaxis:lin:autosym:-3:3", "Trigger a_{0} [mm]", "yaxis:log:auton", "Normalised entries",
"z0", "z0", "xaxis:lin:-200:200", "Reference z_{0} [mm]", "yaxis:log:auton", "Normalised entries",
"z0_rec", "z0_rec", "xaxis:lin:-200:200", "Trigger z_{0} [mm]", "yaxis:log:auton", "Normalised entries"
......
......@@ -289,8 +289,8 @@ class TrigInDetCpuCostStep(RefComparisonStep):
def configure(self, test):
RefComparisonStep.configure(self, test)
if self.reference is None :
self.args = self.input_file + " -o " + self.output_dir + " " + self.extra + "--noref"
self.args = self.input_file + " -o " + self.output_dir + " " + self.extra + "--noref --logx "
else:
self.args = self.input_file + " " + self.reference + " -o " + self.output_dir + " " + self.extra
self.args = self.input_file + " " + self.reference + " -o " + self.output_dir + " " + self.extra + " --logx "
Step.configure(self, test)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment