CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 43 of file classes.py.

Constructor & Destructor Documentation

def classes.PedeDumpData.__init__ (   self)

Definition at line 47 of file classes.py.

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

Member Function Documentation

def classes.PedeDumpData.printLog (   self)

Definition at line 62 of file classes.py.

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

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

Member Data Documentation

classes.PedeDumpData.correction

Definition at line 51 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.memory

Definition at line 52 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.nrec

Definition at line 56 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.ntgb

Definition at line 58 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.nvgb

Definition at line 60 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.sumSteps

Definition at line 50 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.sumValue

Definition at line 48 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.sumWValue

Definition at line 49 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

classes.PedeDumpData.time

Definition at line 53 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 54 of file classes.py.

Referenced by classes.PedeDumpData.printLog().