Belle II Software development
ComparisonPlot Class Reference
Inheritance diagram for ComparisonPlot:
Plot JsonBase

Public Member Functions

def __init__ (self, title, comparison_result=None, png_filename=None, pdf_filename=None, contact=None, description=None, check=None, is_expert=None, plot_path=None, comparison_text=None, height=None, width=None, warnings=None)
 

Public Attributes

 title
 tile used to display this plot
 
 comparison_result
 text string for the comparison outcome
 
 comparison_text
 verbose text describing the outcome of the comparison
 
 png_filename
 the filename of the png file plotted with the comparison graphs
 
 pdf_filename
 the filename of the pdf file plotted with the comparison graphs
 
 plot_path
 path were the png and pdf files are located (relative to the html directory; has to end with trailing '/'!)
 
 warnings
 Warnings ("no contact" person etc.)
 

Detailed Description

One individual plot including its comparison outcome.

Definition at line 390 of file json_objects.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  title,
  comparison_result = None,
  png_filename = None,
  pdf_filename = None,
  contact = None,
  description = None,
  check = None,
  is_expert = None,
  plot_path = None,
  comparison_text = None,
  height = None,
  width = None,
  warnings = None 
)
Create a new ComparisonPlot object and fill all members

Reimplemented from Plot.

Definition at line 396 of file json_objects.py.

411 ):
412 """
413 Create a new ComparisonPlot object and fill all members
414 """
415
416 # todo: move more into the base class
417 super().__init__(
418 is_expert=is_expert,
419 description=description,
420 check=check,
421 contact=contact,
422 height=height,
423 width=width,
424 )
425
426 self.title = title
427
428
429 self.comparison_result = comparison_result
430
431
432 self.comparison_text = comparison_text
433
434
435 self.png_filename = png_filename
436
437
438 self.pdf_filename = pdf_filename
439
440
442 self.plot_path = plot_path
443
444
445 if warnings is None:
446 warnings = []
447 self.warnings = warnings
448
449

Member Data Documentation

◆ comparison_result

comparison_result

text string for the comparison outcome

Definition at line 429 of file json_objects.py.

◆ comparison_text

comparison_text

verbose text describing the outcome of the comparison

Definition at line 432 of file json_objects.py.

◆ pdf_filename

pdf_filename

the filename of the pdf file plotted with the comparison graphs

Definition at line 438 of file json_objects.py.

◆ plot_path

plot_path

path were the png and pdf files are located (relative to the html directory; has to end with trailing '/'!)

Definition at line 442 of file json_objects.py.

◆ png_filename

png_filename

the filename of the png file plotted with the comparison graphs

Definition at line 435 of file json_objects.py.

◆ title

title

tile used to display this plot

Definition at line 426 of file json_objects.py.

◆ warnings

warnings

Warnings ("no contact" person etc.)

Definition at line 447 of file json_objects.py.


The documentation for this class was generated from the following file: