Belle II Software development
PlotFile Class Reference
Inheritance diagram for PlotFile:
JsonBase ComparisonPlotFile

Public Member Functions

 __init__ (self, package, title, rootfile, plots, description="")
 

Public Attributes

 package = package
 name of the package which created this file
 
 title = title
 Display name of this file.
 
 rootfile = rootfile
 filename of the root file
 
 plots = plots
 list of plots which are contained inside this plot file
 
 description = description
 Description of plot file.
 
 n_shifter_plots = sum([not plot.is_expert for plot in self.plots])
 Number of shifter plots.
 

Detailed Description

Wrapper for a file containing a set of plots, only
root files up to now

Definition at line 136 of file json_objects.py.

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
package,
title,
rootfile,
plots,
description = "" )
Create a new PlotFile object and fill all members

Definition at line 143 of file json_objects.py.

143 def __init__(self, package, title, rootfile, plots, description=""):
144 """
145 Create a new PlotFile object and fill all members
146 """
147
148
149 self.package = package
150
151 self.title = title
152
153 self.rootfile = rootfile
154
155 self.plots = plots
156
157 self.description = description
158
159 self.n_shifter_plots = sum([not plot.is_expert for plot in self.plots])
160
161

Member Data Documentation

◆ description

description = description

Description of plot file.

Definition at line 157 of file json_objects.py.

◆ n_shifter_plots

n_shifter_plots = sum([not plot.is_expert for plot in self.plots])

Number of shifter plots.

Definition at line 159 of file json_objects.py.

◆ package

package = package

name of the package which created this file

Definition at line 149 of file json_objects.py.

◆ plots

plots = plots

list of plots which are contained inside this plot file

Definition at line 155 of file json_objects.py.

◆ rootfile

rootfile = rootfile

filename of the root file

Definition at line 153 of file json_objects.py.

◆ title

title = title

Display name of this file.

Definition at line 151 of file json_objects.py.


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