CMS 3D CMS Logo

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

Public Member Functions

def __init__ (self, payload, moduleCentric)
 
def jsonInfo (self, counter, data)
 
def textSpecial (self)
 
- Public Member Functions inherited from edmTracerCompactLogViewer.SourceTransitionParser
def __init__ (self, payload)
 
def indentLevel (self)
 
def text (self, context)
 
def textPostfix (self)
 
def textPrefix (self)
 

Public Attributes

 transition
 
- Public Attributes inherited from edmTracerCompactLogViewer.SourceTransitionParser
 index
 
 time
 
 transition
 

Private Attributes

 _moduleCentric
 

Detailed Description

Definition at line 422 of file edmTracerCompactLogViewer.py.

Constructor & Destructor Documentation

◆ __init__()

def edmTracerCompactLogViewer.PostSourceTransitionParser.__init__ (   self,
  payload,
  moduleCentric 
)

Definition at line 423 of file edmTracerCompactLogViewer.py.

423  def __init__(self, payload, moduleCentric):
424  super().__init__(payload)
425  self._moduleCentric = moduleCentric
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

◆ jsonInfo()

def edmTracerCompactLogViewer.PostSourceTransitionParser.jsonInfo (   self,
  counter,
  data 
)

Definition at line 428 of file edmTracerCompactLogViewer.py.

References relval_nano.WFN.index, TShapeAnalysis.index, TICLSeedingRegion.index, l1ScoutingRun3::ugmt::shiftsMuon.index, L1TUtmCutValue.index, l1ScoutingRun3::ugmt::masksMuon.index, Phase2Tracker::Phase2TrackerDigiProducer::Registry.index, TaggingVariablePlotter::VariableConfig::Plot.index, ProjectMatrix< T, N, D >.index, IsolatedPixelTrackCandidateProducer::seedAtEC.index, IsolatedPixelTrackCandidateL1TProducer::seedAtEC.index, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::IndexedVertexTrackSelector.index, EopTriggerType.index, NuclearInteractionFTFSimulator.index, sistrip::RawToDigiUnpacker::Registry.index, VIterator< Item >.index, fastsim::NuclearInteractionFTF.index, edmTracerCompactLogViewer.FrameworkTransitionParser.index, and edmTracerCompactLogViewer.SourceTransitionParser.index.

428  def jsonInfo(self, counter, data):
429  index = self.index
430  if self.transition == Phase.Event:
431  container = data.indexedStream(index)
432  elif self.transition == Phase.getNextTransition:
433  data._nextTrans[-1]['finish'] = self.time*kMicroToSec
434  return
435  elif self.transition == Phase.construction:
436  pre = None
437  for i, g in enumerate(data.allGlobals()):
438  for t in reversed(g):
439  if t["type"] != Phase.construction:
440  break
441  if t["isSrc"]:
442  pre = t
443  break
444  if pre:
445  pre["finish"]=self.time*kMicroToSec
446  break
447  counter.finish(i)
448  return
449  else:
450  container = data.indexedGlobal(index)
451 
452  container[-1]["finish"]=self.time*kMicroToSec
453 

◆ textSpecial()

def edmTracerCompactLogViewer.PostSourceTransitionParser.textSpecial (   self)

Definition at line 426 of file edmTracerCompactLogViewer.py.

426  def textSpecial(self):
427  return "finished"

Member Data Documentation

◆ _moduleCentric

edmTracerCompactLogViewer.PostSourceTransitionParser._moduleCentric
private

◆ transition

edmTracerCompactLogViewer.PostSourceTransitionParser.transition