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 29 of file runEdmFileComparison.py.

Constructor & Destructor Documentation

◆ __init__()

def runEdmFileComparison.EdmObject.__init__ (   self,
  tup 
)

Definition at line 31 of file runEdmFileComparison.py.

31  def __init__ (self, tup):
32  self.container, self.one, self.two, self.three = tup
33  self.bool = False
34  for regex in containerList:
35  match = regex.search( self.container)
36  if match:
37  self.bool = True
38  self.name = match.group(1)
39  break
40 

Member Function Documentation

◆ __bool__()

def runEdmFileComparison.EdmObject.__bool__ (   self)

Definition at line 44 of file runEdmFileComparison.py.

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

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

◆ __str__()

def runEdmFileComparison.EdmObject.__str__ (   self)

Definition at line 41 of file runEdmFileComparison.py.

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

◆ label()

def runEdmFileComparison.EdmObject.label (   self)

Member Data Documentation

◆ bool

runEdmFileComparison.EdmObject.bool

Definition at line 33 of file runEdmFileComparison.py.

Referenced by runEdmFileComparison.EdmObject.__bool__().

◆ name

runEdmFileComparison.EdmObject.name

◆ three

runEdmFileComparison.EdmObject.three

Definition at line 32 of file runEdmFileComparison.py.

Referenced by runEdmFileComparison.EdmObject.label().

TriggerAnalyzer.__str__
def __str__(self)
Definition: TriggerAnalyzer.py:103
label
const char * label
Definition: PFTauDecayModeTools.cc:11