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

Constructor & Destructor Documentation

◆ __init__()

def classes.PedeDumpData.__init__ (   self)

Definition at line 47 of file classes.py.

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

Member Function Documentation

◆ printLog()

def classes.PedeDumpData.printLog (   self)

Definition at line 62 of file classes.py.

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

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

Member Data Documentation

◆ correction

classes.PedeDumpData.correction

Definition at line 51 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

◆ memory

classes.PedeDumpData.memory

Definition at line 52 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

◆ nrec

classes.PedeDumpData.nrec

Definition at line 56 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

◆ ntgb

classes.PedeDumpData.ntgb

Definition at line 58 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

◆ nvgb

classes.PedeDumpData.nvgb

Definition at line 60 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

◆ sumSteps

classes.PedeDumpData.sumSteps

Definition at line 50 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

◆ sumValue

classes.PedeDumpData.sumValue

Definition at line 48 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

◆ sumWValue

classes.PedeDumpData.sumWValue

Definition at line 49 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

◆ time

classes.PedeDumpData.time

◆ warning

classes.PedeDumpData.warning

Definition at line 54 of file classes.py.

Referenced by classes.PedeDumpData.printLog().

edm::print
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:66
format