Belle II Software development
StatisticsColumn Class Reference

Public Member Functions

def __init__ (self, name, display_name=None, three_column_format=False)
 

Public Attributes

 name
 The name of this column.
 
 three_column_format
 If the column has one or three columns.
 
 display_name
 The name to show.
 

Detailed Description

Data class for a column in the statistics view.

Definition at line 46 of file entities.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  name,
  display_name = None,
  three_column_format = False 
)
Create a new column for the statistics view.

Parameters:
  name: The name of this column.
  display_name: The display name of this column.
  three_column_format: If the column has one or three columns.

Definition at line 51 of file entities.py.

51 def __init__(self, name, display_name=None, three_column_format=False):
52 """
53 Create a new column for the statistics view.
54
55 Parameters:
56 name: The name of this column.
57 display_name: The display name of this column.
58 three_column_format: If the column has one or three columns.
59 """
60
61 self.name = name
62
63 self.three_column_format = three_column_format
64
65 if not display_name:
66
67 self.display_name = self.name
68 else:
69
70 self.display_name = display_name
71
72

Member Data Documentation

◆ display_name

display_name

The name to show.

Definition at line 67 of file entities.py.

◆ name

name

The name of this column.

Definition at line 61 of file entities.py.

◆ three_column_format

three_column_format

If the column has one or three columns.

Definition at line 63 of file entities.py.


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