CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Attributes
edmModuleAllocMonitorAnalyze.PostSourceTransitionParser Class Reference
Inheritance diagram for edmModuleAllocMonitorAnalyze.PostSourceTransitionParser:
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

 allocInfo
 
 index
 
 transition
 
- Public Attributes inherited from edmModuleAllocMonitorAnalyze.SourceTransitionParser
 index
 
 time
 
 transition
 

Private Attributes

 _moduleCentric
 

Detailed Description

Definition at line 598 of file edmModuleAllocMonitorAnalyze.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 599 of file edmModuleAllocMonitorAnalyze.py.

599  def __init__(self, payload, moduleCentric):
600  super().__init__(payload)
601  #print(payload)
602  if self.index == -1:
603  self.allocInfo = AllocInfo(payload[2:])
604  else:
605  self.allocInfo = AllocInfo(payload[3:])
606  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 edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.jsonInfo (   self,
  syncs,
  temp,
  data 
)

Definition at line 609 of file edmModuleAllocMonitorAnalyze.py.

References edmModuleAllocMonitorAnalyze.ModuleData.allocInfo, edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.allocInfo, 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.

609  def jsonInfo(self, syncs, temp, data):
610  start = temp.findTime("source", self.transition, self.index)
611  #we do not know the sync yet so have to wait until the framework transition
612  if self.transition in [ Phase.construction, Phase.getNextTransition, Phase.destruction, Phase.openFile]:
613  data.insert( "source" , start, self.time, self.transition, self.index, (0,) , Activity.process, self.allocInfo)
614  else:
615  data.insert( "source" , start, self.time, self.transition, self.index, self.index , Activity.process, self.allocInfo)

◆ jsonVisInfo()

def edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.jsonVisInfo (   self,
  data 
)

Definition at line 616 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, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::IndexedVertexTrackSelector.index, IsolatedPixelTrackCandidateL1TProducer::seedAtEC.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, and edmTracerCompactLogViewer.ESModuleTransitionParser.index.

616  def jsonVisInfo(self, data):
617  index = self.index
618  if self.transition == Phase.Event:
619  container = data.indexedStream(index)
620  elif self.transition == Phase.getNextTransition:
621  data._nextTrans[-1]['finish'] = self.time*kMicroToSec
622  self.allocInfo.inject(data._nextTrans[-1])
623  return
624  elif self.transition == Phase.construction:
625  pre = None
626  for i, g in enumerate(data.allGlobals()):
627  for t in reversed(g):
628  if t["type"] != Phase.construction:
629  break
630  if t["isSrc"]:
631  pre = t
632  break
633  if pre:
634  pre["finish"]=self.time*kMicroToSec
635  self.allocInfo.inject(pre)
636  break
637  return
638  else:
639  container = data.indexedGlobal(index)
640 
641  container[-1]["finish"]=self.time*kMicroToSec
642  self.allocInfo.inject(container[-1])
643 

◆ textSpecial()

def edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.textSpecial (   self)

Definition at line 607 of file edmModuleAllocMonitorAnalyze.py.

607  def textSpecial(self):
608  return "finished"

Member Data Documentation

◆ _moduleCentric

edmModuleAllocMonitorAnalyze.PostSourceTransitionParser._moduleCentric
private

◆ allocInfo

edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.allocInfo

◆ index

edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.index

◆ transition

edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.transition