CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
runEdmFileComparison.EdmObject Class Reference
Inheritance diagram for runEdmFileComparison.EdmObject:

Public Member Functions

def __bool__ (self)
 
def __init__ (self, tup)
 
def __str__ (self)
 
def label (self)
 

Public Attributes

 bool
 
 name
 
 three
 

Detailed Description

Definition at line 28 of file runEdmFileComparison.py.

Constructor & Destructor Documentation

◆ __init__()

def runEdmFileComparison.EdmObject.__init__ (   self,
  tup 
)

Definition at line 30 of file runEdmFileComparison.py.

30  def __init__ (self, tup):
31  self.container, self.one, self.two, self.three = tup
32  self.bool = False
33  for regex in containerList:
34  match = regex.search( self.container)
35  if match:
36  self.bool = True
37  self.name = match.group(1)
38  break
39 
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

◆ __bool__()

def runEdmFileComparison.EdmObject.__bool__ (   self)

Definition at line 43 of file runEdmFileComparison.py.

References runEdmFileComparison.EdmObject.bool, and hippyaddtobaddatafiles.KeepWhileOpenFile.bool.

43  def __bool__ (self):
44  return self.bool
45 

◆ __str__()

def runEdmFileComparison.EdmObject.__str__ (   self)

Definition at line 40 of file runEdmFileComparison.py.

40  def __str__ (self):
41  return pprint.pformat (self.__dict__)
42 

◆ label()

def runEdmFileComparison.EdmObject.label (   self)

Member Data Documentation

◆ bool

runEdmFileComparison.EdmObject.bool

Definition at line 32 of file runEdmFileComparison.py.

Referenced by runEdmFileComparison.EdmObject.__bool__().

◆ name

runEdmFileComparison.EdmObject.name

◆ three

runEdmFileComparison.EdmObject.three

Definition at line 31 of file runEdmFileComparison.py.

Referenced by runEdmFileComparison.EdmObject.label().