test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
classes.PedeDumpData Class Reference

Public Member Functions

def __init__
 
def printLog
 

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 44 of file classes.py.

Constructor & Destructor Documentation

def classes.PedeDumpData.__init__ (   self)

Definition at line 48 of file classes.py.

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

Member Function Documentation

def classes.PedeDumpData.printLog (   self)

Definition at line 63 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.

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

Member Data Documentation

classes.PedeDumpData.correction

Definition at line 52 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.memory

Definition at line 53 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.nrec

Definition at line 57 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.ntgb

Definition at line 59 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.nvgb

Definition at line 61 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.sumSteps

Definition at line 51 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.sumValue

Definition at line 49 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.sumWValue

Definition at line 50 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.time

Definition at line 54 of file classes.py.

Referenced by classes.PedeDumpData.printLog(), dqm-mbProfile.Profile.to_dict(), and dqm-mbProfile.Profile.update().

classes.PedeDumpData.warning

Definition at line 55 of file classes.py.

Referenced by classes.PedeDumpData.printLog().