ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
python.PyRootLib.OptionStyle Class Reference
Collaboration diagram for python.PyRootLib.OptionStyle:

Public Member Functions

def __init__ (self, color=ROOT.kRed, width=2, style=ROOT.kLineSolid)
 
def setColor (self, color)
 
def setWidth (self, width)
 
def setStyle (self, style)
 

Public Attributes

 color
 
 width
 
 style
 

Detailed Description

Struct to hold options (color/width/style) for a TStyle-like object

Definition at line 148 of file PyRootLib.py.

Constructor & Destructor Documentation

◆ __init__()

def python.PyRootLib.OptionStyle.__init__ (   self,
  color = ROOT.kRed,
  width = 2,
  style = ROOT.kLineSolid 
)

Definition at line 152 of file PyRootLib.py.

152  def __init__(self, color=ROOT.kRed, width=2, style=ROOT.kLineSolid):
153  self.color = color
154  self.width = width
155  self.style = style
156  return
157 

Member Function Documentation

◆ setColor()

def python.PyRootLib.OptionStyle.setColor (   self,
  color 
)

Definition at line 158 of file PyRootLib.py.

158  def setColor(self, color):
159  self.color = color
160  return

◆ setStyle()

def python.PyRootLib.OptionStyle.setStyle (   self,
  style 
)

Definition at line 164 of file PyRootLib.py.

164  def setStyle(self,style):
165  self.style = style
166  return
167 

◆ setWidth()

def python.PyRootLib.OptionStyle.setWidth (   self,
  width 
)

Definition at line 161 of file PyRootLib.py.

161  def setWidth(self,width):
162  self.width = width
163  return

Member Data Documentation

◆ color

python.PyRootLib.OptionStyle.color

Definition at line 153 of file PyRootLib.py.

◆ style

python.PyRootLib.OptionStyle.style

Definition at line 155 of file PyRootLib.py.

◆ width

python.PyRootLib.OptionStyle.width

Definition at line 154 of file PyRootLib.py.


The documentation for this class was generated from the following file:
python.ROOTUtils.setStyle
def setStyle(style=None)
Definition: python/ROOTUtils.py:410
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18