CMS 3D CMS Logo

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

Public Member Functions

def __init__ (self, payload, moduleCentric)
 
def jsonInfo (self, syncs, temp, data)
 
def jsonVisInfo (self, data)
 
def textSpecial (self)
 
- Public Member Functions inherited from edmModuleAllocMonitorAnalyze.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 edmModuleAllocMonitorAnalyze.SourceTransitionParser
 index
 
 time
 
 transition
 

Private Attributes

 _moduleCentric
 

Detailed Description

Definition at line 547 of file edmModuleAllocMonitorAnalyze.py.

Constructor & Destructor Documentation

◆ __init__()

def edmModuleAllocMonitorAnalyze.PreSourceTransitionParser.__init__ (   self,
  payload,
  moduleCentric 
)

Definition at line 548 of file edmModuleAllocMonitorAnalyze.py.

548  def __init__(self, payload, moduleCentric):
549  self._moduleCentric = moduleCentric
550  super().__init__(payload)
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 edmModuleAllocMonitorAnalyze.PreSourceTransitionParser.jsonInfo (   self,
  syncs,
  temp,
  data 
)

Definition at line 553 of file edmModuleAllocMonitorAnalyze.py.

References relval_nano.WFN.index, TShapeAnalysis.index, AlpgenParTokens.index, TICLSeedingRegion.index, l1ScoutingRun3::ugmt::shiftsMuon.index, L1TUtmCutValue.index, l1ScoutingRun3::ugmt::masksMuon.index, edm::soa::impl::FoundIndex< I >.index, MCPdgIndexFilter.index, edm::soa::impl::GetIndex< I, T, TPL >.index, Phase2Tracker::Phase2TrackerDigiProducer::Registry.index, TaggingVariablePlotter::VariableConfig::Plot.index, ProjectMatrix< T, N, D >.index, l1ct::FoldedMultififoRegionizerEmulator::Fold.index, IsolatedPixelTrackCandidateProducer::seedAtEC.index, IsolatedPixelTrackCandidateL1TProducer::seedAtEC.index, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::IndexedVertexTrackSelector.index, EopTriggerType.index, NuclearInteractionFTFSimulator.index, AlpgenParameterName.index, sistrip::RawToDigiUnpacker::Registry.index, VIterator< Item >.index, fastsim::NuclearInteractionFTF.index, AlgoMuon.index, edmTracerCompactLogViewer.FrameworkTransitionParser.index, cmsdt::metaPrimitive.index, edmTracerCompactLogViewer.SourceTransitionParser.index, edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.index, edmTracerCompactLogViewer.EDModuleTransitionParser.index, edmModuleAllocMonitorAnalyze.SourceTransitionParser.index, edmTracerCompactLogViewer.ESModuleTransitionParser.index, reco::HcalMuonRecHit.time, RPCStripNoises::NoiseItem.time, RPCObImon::I_Item.time, RPCObGas::Item.time, ecal::RecHit< StoragePolicy >.time, RPCObFebmap::Feb_Item.time, RecoObj.time, L1Analysis::L1AnalysisEventDataFormat.time, RPCObVmon::V_Item.time, classes.PedeDumpData.time, RPCObStatus::S_Item.time, DTTMax::InfoLayer.time, RPCObTemp::T_Item.time, emtf::phase2::segment_t.time, L1TMuon::TriggerPrimitive::RPCData.time, dqm-mbProfile.Profile.time, DQMNet::WaitObject.time, edmTracerCompactLogViewer.FrameworkTransitionParser.time, edmTracerCompactLogViewer.SourceTransitionParser.time, l1t::EMTFHit.time, edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.time, edmTracerCompactLogViewer.EDModuleTransitionParser.time, edmModuleAllocMonitorAnalyze.SourceTransitionParser.time, edmTracerCompactLogViewer.ESModuleTransitionParser.time, edmTracerCompactLogViewer.FrameworkTransitionParser.transition, edmTracerCompactLogViewer.PreFrameworkTransitionParser.transition, edmModuleAllocMonitorAnalyze.ModuleData.transition, edmTracerCompactLogViewer.PostFrameworkTransitionParser.transition, edmTracerCompactLogViewer.SourceTransitionParser.transition, edmModuleAllocMonitorAnalyze.FrameworkTransitionParser.transition, edmTracerCompactLogViewer.PreSourceTransitionParser.transition, edmTracerCompactLogViewer.PostSourceTransitionParser.transition, edmModuleAllocMonitorAnalyze.PreFrameworkTransitionParser.transition, edmTracerCompactLogViewer.EDModuleTransitionParser.transition, edmModuleAllocMonitorAnalyze.PostFrameworkTransitionParser.transition, edmModuleAllocMonitorAnalyze.SourceTransitionParser.transition, and edmTracerCompactLogViewer.ESModuleTransitionParser.transition.

553  def jsonInfo(self, syncs, temp, data):
554  temp.insertTime("source", self.transition, self.index, self.time)

◆ jsonVisInfo()

def edmModuleAllocMonitorAnalyze.PreSourceTransitionParser.jsonVisInfo (   self,
  data 
)

Definition at line 555 of file edmModuleAllocMonitorAnalyze.py.

555  def jsonVisInfo(self, data):
556  if self.transition == Phase.getNextTransition:
557  data._nextTrans.append(jsonTransition(type=self.transition, id=self.index, sync=[0,0,0], start=self.time, finish=0, isSrc=True))
558  if self._moduleCentric:
559  #this all goes to a module ID sorted container so not knowing actual index is OK
560  data.findOpenSlotInModGlobals(0,0).append(data._nextTrans[-1])
561  return
562  elif self.transition == Phase.construction:
563  index = 0
564  container = data.indexedGlobal(index)
565  elif self.transition == Phase.Event:
566  index = self.index
567  container = data.indexedStream(index)
568  else:
569  index = self.index
570  container = data.indexedGlobal(index)
571  nextTrans = data._nextTrans
572  if nextTrans:
573  data._nextTrans = []
574  for t in nextTrans:
575  t['id']=index
576  #find proper time order in the container
577  transStartTime = t['start']
578  inserted = False
579  for i in range(-1, -1*len(container), -1):
580  if transStartTime > container[i]['start']:
581  if i == -1:
582  container.append(t)
583  inserted = True
584  break
585  else:
586  container.insert(i+1,t)
587  inserted = True
588  break
589  if not inserted:
590  container.insert(0,t)
591  container.append(jsonTransition(type=self.transition, id=index, sync=[0,0,0], start=self.time, finish=0, isSrc=True))
592  if self._moduleCentric:
593  if self.transition == Phase.Event:
594  data.findOpenSlotInModStreams(index,0).append(container[-1])
595  else:
596  data.findOpenSlotInModGlobals(index,0).append(container[-1])
597 
def jsonTransition(type, id, sync, start, finish, isSrc=False)

◆ textSpecial()

def edmModuleAllocMonitorAnalyze.PreSourceTransitionParser.textSpecial (   self)

Definition at line 551 of file edmModuleAllocMonitorAnalyze.py.

551  def textSpecial(self):
552  return "starting"

Member Data Documentation

◆ _moduleCentric

edmModuleAllocMonitorAnalyze.PreSourceTransitionParser._moduleCentric
private

◆ transition

edmModuleAllocMonitorAnalyze.PreSourceTransitionParser.transition