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 330 of file utils_v2.py.

Member Function Documentation

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

Definition at line 333 of file utils_v2.py.

333  def do_test(self, h1, h2):
334  p_value = super(KolmogorovTest, self).do_test(h1, h2)
335  if p_value is not None:
336  return p_value
337 
338  for h in h1, h2:
339  if h.GetSumw2().GetSize() == 0:
340  h.Sumw2()
341  return h1.KolmogorovTest(h2)
342 
343 
def do_test(self, h1, h2)
Definition: utils_v2.py:333

Member Data Documentation

utils_v2.KolmogorovTest.name
static