CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
utils_v2.ComparisonError Class Reference
Inheritance diagram for utils_v2.ComparisonError:
Exception

Public Member Functions

def __init__ (self, error_message, args, kwargs)
 
def __str__ (self)
 

Public Attributes

 error_code
 
 error_message
 

Detailed Description

Definition at line 292 of file utils_v2.py.

Constructor & Destructor Documentation

◆ __init__()

def utils_v2.ComparisonError.__init__ (   self,
  error_message,
  args,
  kwargs 
)

Definition at line 293 of file utils_v2.py.

293  def __init__(self, error_message, *args, **kwargs):
294  self.error_message = error_message
295  self.error_code = comparison_errors[error_message]
296 
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ __str__()

def utils_v2.ComparisonError.__str__ (   self)

Definition at line 297 of file utils_v2.py.

References utils_v2.ComparisonError.error_code.

297  def __str__(self):
298  return 'Comparison Error: %d' % self.error_code
299 
300 

Member Data Documentation

◆ error_code

utils_v2.ComparisonError.error_code

Definition at line 295 of file utils_v2.py.

Referenced by utils_v2.ComparisonError.__str__().

◆ error_message

utils_v2.ComparisonError.error_message

Definition at line 294 of file utils_v2.py.