CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
edmTracerCompactLogViewer.SourceTransitionParser Class Reference
Inheritance diagram for edmTracerCompactLogViewer.SourceTransitionParser:
edmTracerCompactLogViewer.PostSourceTransitionParser edmTracerCompactLogViewer.PreSourceTransitionParser

Public Member Functions

def __init__ (self, payload)
 
def indentLevel (self)
 
def text (self, context)
 
def textPostfix (self)
 
def textPrefix (self)
 

Public Attributes

 index
 
 time
 
 transition
 

Detailed Description

Definition at line 345 of file edmTracerCompactLogViewer.py.

Constructor & Destructor Documentation

◆ __init__()

def edmTracerCompactLogViewer.SourceTransitionParser.__init__ (   self,
  payload 
)

Definition at line 346 of file edmTracerCompactLogViewer.py.

346  def __init__(self, payload):
347  self.transition = int(payload[0])
348  if self.transition == Phase.getNextTransition:
349  self.time = int(payload[1])
350  self.index = -1
351  return
352  self.index = int(payload[1])
353  self.time = int(payload[2])
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

◆ indentLevel()

def edmTracerCompactLogViewer.SourceTransitionParser.indentLevel (   self)

Definition at line 354 of file edmTracerCompactLogViewer.py.

References edmTracerCompactLogViewer.FrameworkTransitionParser.transition, edmTracerCompactLogViewer.PreFrameworkTransitionParser.transition, edmTracerCompactLogViewer.PostFrameworkTransitionParser.transition, and edmTracerCompactLogViewer.SourceTransitionParser.transition.

Referenced by edmTracerCompactLogViewer.SourceTransitionParser.textPrefix(), edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.textPrefix(), and edmModuleAllocMonitorAnalyze.SourceTransitionParser.textPrefix().

354  def indentLevel(self):
355  if self.transition == Phase.globalBeginRun:
356  return 1
357  if self.transition == Phase.globalBeginLumi:
358  return 2
359  if self.transition == Phase.Event:
360  return 3
361  if self.transition == Phase.construction:
362  return 1
363  if self.transition == Phase.getNextTransition:
364  return 1
365  return None

◆ text()

def edmTracerCompactLogViewer.SourceTransitionParser.text (   self,
  context 
)

Definition at line 370 of file edmTracerCompactLogViewer.py.

370  def text(self, context):
371  return f'{self.textPrefix()} {self.textSpecial()}: {self.textPostfix()}'
372 

◆ textPostfix()

def edmTracerCompactLogViewer.SourceTransitionParser.textPostfix (   self)

Definition at line 368 of file edmTracerCompactLogViewer.py.

368  def textPostfix(self):
369  return f'source during {transitionName(self.transition)} : id={self.index}'

◆ textPrefix()

def edmTracerCompactLogViewer.SourceTransitionParser.textPrefix (   self)

Member Data Documentation

◆ index

edmTracerCompactLogViewer.SourceTransitionParser.index

Definition at line 350 of file edmTracerCompactLogViewer.py.

Referenced by edmTracerCompactLogViewer.EDModuleTransitionParser._postJson(), edmTracerCompactLogViewer.ESModuleTransitionParser._postJson(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._postJsonInfo(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._postJsonInfo(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._postJsonVis(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._postJsonVis(), edmTracerCompactLogViewer.EDModuleTransitionParser._preJson(), edmTracerCompactLogViewer.ESModuleTransitionParser._preJson(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._preJsonInfo(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._preJsonInfo(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._preJsonVis(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._preJsonVis(), edmTracerCompactLogViewer.PostSourceTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostFrameworkTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreSourceTransitionParser.jsonInfo(), edmTracerCompactLogViewer.PostEDModulePrefetchingParser.jsonInfo(), edmTracerCompactLogViewer.PostEDModuleAcquireParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreEventReadFromSourceParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostEventReadFromSourceParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreFrameworkTransitionParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostFrameworkTransitionParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostEDModuleAcquireParser.jsonVisInfo(), edmTracerCompactLogViewer.EDModuleTransitionParser.textPrefix(), edmTracerCompactLogViewer.ESModuleTransitionParser.textPrefix(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.textPrefix(), and edmModuleAllocMonitorAnalyze.ESModuleTransitionParser.textPrefix().

◆ time

edmTracerCompactLogViewer.SourceTransitionParser.time

Definition at line 349 of file edmTracerCompactLogViewer.py.

Referenced by edmTracerCompactLogViewer.EDModuleTransitionParser._postJson(), edmTracerCompactLogViewer.ESModuleTransitionParser._postJson(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._postJsonInfo(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._postJsonInfo(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._postJsonVis(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._postJsonVis(), edmTracerCompactLogViewer.EDModuleTransitionParser._preJson(), edmTracerCompactLogViewer.ESModuleTransitionParser._preJson(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._preJsonInfo(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._preJsonInfo(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._preJsonVis(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._preJsonVis(), edmModuleAllocMonitorAnalyze.PostFrameworkTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreSourceTransitionParser.jsonInfo(), edmTracerCompactLogViewer.PostEDModulePrefetchingParser.jsonInfo(), edmTracerCompactLogViewer.PostEDModuleAcquireParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreEventReadFromSourceParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostEventReadFromSourceParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreFrameworkTransitionParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostFrameworkTransitionParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostEDModuleAcquireParser.jsonVisInfo(), edmTracerCompactLogViewer.SourceTransitionParser.textPrefix(), edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.textPrefix(), edmTracerCompactLogViewer.EDModuleTransitionParser.textPrefix(), edmModuleAllocMonitorAnalyze.SourceTransitionParser.textPrefix(), edmTracerCompactLogViewer.ESModuleTransitionParser.textPrefix(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.textPrefix(), and edmModuleAllocMonitorAnalyze.ESModuleTransitionParser.textPrefix().

◆ transition

edmTracerCompactLogViewer.SourceTransitionParser.transition

Definition at line 347 of file edmTracerCompactLogViewer.py.

Referenced by edmModuleAllocMonitorAnalyze.ModuleData.__repr__(), edmTracerCompactLogViewer.EDModuleTransitionParser._postJson(), edmTracerCompactLogViewer.ESModuleTransitionParser._postJson(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._postJsonInfo(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._postJsonInfo(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._postJsonVis(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._postJsonVis(), edmTracerCompactLogViewer.EDModuleTransitionParser._preJson(), edmTracerCompactLogViewer.ESModuleTransitionParser._preJson(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._preJsonInfo(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._preJsonInfo(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._preJsonVis(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser._preJsonVis(), edmTracerCompactLogViewer.EDModuleTransitionParser.baseIndentLevel(), edmTracerCompactLogViewer.ESModuleTransitionParser.baseIndentLevel(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.baseIndentLevel(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser.baseIndentLevel(), edmTracerCompactLogViewer.SourceTransitionParser.indentLevel(), edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.indentLevel(), edmModuleAllocMonitorAnalyze.SourceTransitionParser.indentLevel(), edmModuleAllocMonitorAnalyze.PostFrameworkTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreSourceTransitionParser.jsonInfo(), edmTracerCompactLogViewer.PostEDModulePrefetchingParser.jsonInfo(), edmTracerCompactLogViewer.PostEDModuleAcquireParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreEventReadFromSourceParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostEventReadFromSourceParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreFrameworkTransitionParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostFrameworkTransitionParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostEDModuleAcquireParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.syncText(), edmTracerCompactLogViewer.EDModuleTransitionParser.textPrefix(), edmTracerCompactLogViewer.ESModuleTransitionParser.textPrefix(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.textPrefix(), edmModuleAllocMonitorAnalyze.ESModuleTransitionParser.textPrefix(), and edmModuleAllocMonitorAnalyze.ModuleData.toSimpleDict().