CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Attributes
utils_v2.KolmogorovTest Class Reference
Inheritance diagram for utils_v2.KolmogorovTest:
utils_v2.StatisticalTest

Public Member Functions

def do_test (self, h1, h2)
 
- Public Member Functions inherited from utils_v2.StatisticalTest
def do_test (self, h1, h2)
 
def get_N_bins (self, h)
 
def is_empty (self, h)
 

Static Public Attributes

 name
 
- Static Public Attributes inherited from utils_v2.StatisticalTest
 name
 

Detailed Description

Definition at line 333 of file utils_v2.py.

Member Function Documentation

◆ do_test()

def utils_v2.KolmogorovTest.do_test (   self,
  h1,
  h2 
)

Definition at line 336 of file utils_v2.py.

336  def do_test(self, h1, h2):
337  p_value = super(KolmogorovTest, self).do_test(h1, h2)
338  if p_value is not None:
339  return p_value
340 
341  for h in h1, h2:
342  if h.GetSumw2().GetSize() == 0:
343  h.Sumw2()
344  return h1.KolmogorovTest(h2)
345 
346 

Member Data Documentation

◆ name

utils_v2.KolmogorovTest.name
static