CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
classes.PedeDumpData Class Reference

Public Member Functions

def __init__ (self)
 
def printLog (self)
 

Public Attributes

 correction
 
 memory
 
 nrec
 
 ntgb
 
 nvgb
 
 sumSteps
 
 sumValue
 
 sumWValue
 
 time
 
 warning
 

Detailed Description

information out of the pede.dump.gz file

Definition at line 42 of file classes.py.

Constructor & Destructor Documentation

def classes.PedeDumpData.__init__ (   self)

Definition at line 46 of file classes.py.

46  def __init__(self):
47  self.sumValue = 0
48  self.sumWValue = 0
49  self.sumSteps = ""
50  self.correction = 0
51  self.memory = 0
52  self.time = []
53  self.warning = []
54  # number of records
55  self.nrec = 0
56  # total numer of parameters
57  self.ntgb = 0
58  # number of variable parameters
59  self.nvgb = 0
60 
def __init__(self)
Definition: classes.py:46

Member Function Documentation

def classes.PedeDumpData.printLog (   self)

Definition at line 61 of file classes.py.

References classes.PedeDumpData.correction, classes.PedeDumpData.memory, classes.PedeDumpData.nrec, classes.PedeDumpData.ntgb, classes.PedeDumpData.nvgb, classes.PedeDumpData.sumSteps, classes.PedeDumpData.sumValue, classes.PedeDumpData.sumWValue, classes.PedeDumpData.time, and classes.PedeDumpData.warning.

61  def printLog(self):
62  if (self.sumValue != 0):
63  print "Sum(Chi^2)/Sum(Ndf) = {0} = {1}".format(self.sumSteps, self.sumValue)
64  else:
65  print "Sum(W*Chi^2)/Sum(Ndf)/<W> = {0} = {1}".format(self.sumSteps, self.sumWValue)
66  print "with correction for down-weighting: {0}".format(self.correction)
67  print "Peak dynamic memory allocation: {0} GB".format(self.memory)
68  print "Total time: {0} h {1} m {2} s".format(self.time[0], self.time[1], self.time[2])
69  print "Number of records: {0}".format(self.nrec)
70  print "Total number of parameters: {0}".format(self.ntgb)
71  print "Number of variable parameters: {0}".format(self.nvgb)
72  print "Warning:"
73  for line in self.warning:
74  print line
75 
76 
def printLog(self)
Definition: classes.py:61

Member Data Documentation

classes.PedeDumpData.correction

Definition at line 50 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.memory

Definition at line 51 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.nrec

Definition at line 55 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.ntgb

Definition at line 57 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.nvgb

Definition at line 59 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.sumSteps

Definition at line 49 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.sumValue

Definition at line 47 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.sumWValue

Definition at line 48 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.time
classes.PedeDumpData.warning

Definition at line 53 of file classes.py.

Referenced by classes.PedeDumpData.printLog().