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

Public Member Functions

def __init__ (self, degree=1)
 
def __call__ (self, x, par)
 

Public Attributes

 n
 

Detailed Description

Definition at line 142 of file PyRootLib.py.

Constructor & Destructor Documentation

◆ __init__()

def python.PyRootLib.Polynom.__init__ (   self,
  degree = 1 
)

Definition at line 143 of file PyRootLib.py.

143  def __init__(self, degree=1):
144  self.n = degree

Member Function Documentation

◆ __call__()

def python.PyRootLib.Polynom.__call__ (   self,
  x,
  par 
)

Definition at line 145 of file PyRootLib.py.

145  def __call__(self, x, par):
146  return sum( (x[0]**i) + par[i] for i in range(self.n+1) )
147 

Member Data Documentation

◆ n

python.PyRootLib.Polynom.n

Definition at line 144 of file PyRootLib.py.


The documentation for this class was generated from the following file:
convertTimingResiduals.sum
sum
Definition: convertTimingResiduals.py:55
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:195
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18