CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions
edmModuleAllocMonitorAnalyze.EDModuleTransitionParser Class Reference
Inheritance diagram for edmModuleAllocMonitorAnalyze.EDModuleTransitionParser:
edmModuleAllocMonitorAnalyze.PostEDModuleAcquireParser edmModuleAllocMonitorAnalyze.PostEDModuleEventDelayedGetParser edmModuleAllocMonitorAnalyze.PostEDModuleTransitionParser edmModuleAllocMonitorAnalyze.PostEventReadFromSourceParser edmModuleAllocMonitorAnalyze.PreEDModuleAcquireParser edmModuleAllocMonitorAnalyze.PreEDModuleEventDelayedGetParser edmModuleAllocMonitorAnalyze.PreEDModuleTransitionParser edmModuleAllocMonitorAnalyze.PreEventReadFromSourceParser

Public Member Functions

def __init__ (self, payload, moduleNames)
 
def baseIndentLevel (self)
 
def text (self, context)
 
def textIfTransform (self)
 
def textPostfix (self)
 
def textPrefix (self, context)
 

Public Attributes

 callID
 
 index
 
 moduleID
 
 moduleName
 
 time
 
 transition
 

Private Member Functions

def _postJsonInfo (self, syncs, temp, data, activity)
 
def _postJsonVis (self, data, alloc, injectAfter=None)
 
def _preJsonInfo (self, temp)
 
def _preJsonVis (self, activity, data, mayUseTemp=False)
 

Detailed Description

Definition at line 644 of file edmModuleAllocMonitorAnalyze.py.

Constructor & Destructor Documentation

◆ __init__()

def edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.__init__ (   self,
  payload,
  moduleNames 
)

Definition at line 645 of file edmModuleAllocMonitorAnalyze.py.

645  def __init__(self, payload, moduleNames):
646  self.transition = int(payload[0])
647  self.index = int(payload[1])
648  self.moduleID = int(payload[2])
649  self.moduleName = moduleNames[self.moduleID]
650  self.callID = int(payload[3])
651  self.time = int(payload[4])
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

◆ _postJsonInfo()

def edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._postJsonInfo (   self,
  syncs,
  temp,
  data,
  activity 
)
private

Definition at line 704 of file edmModuleAllocMonitorAnalyze.py.

References edmModuleAllocMonitorAnalyze.ModuleData.allocInfo, edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.allocInfo, edmModuleAllocMonitorAnalyze.PostEDModuleTransitionParser.allocInfo, edmModuleAllocMonitorAnalyze.PostEDModuleAcquireParser.allocInfo, edmModuleAllocMonitorAnalyze.PostEDModuleEventDelayedGetParser.allocInfo, edmModuleAllocMonitorAnalyze.PostEventReadFromSourceParser.allocInfo, edmModuleAllocMonitorAnalyze.PostESModuleTransitionParser.allocInfo, edmModuleAllocMonitorAnalyze.PostESModuleAcquireParser.allocInfo, relval_nano.WFN.index, TShapeAnalysis.index, AlpgenParTokens.index, TICLSeedingRegion.index, l1ScoutingRun3::ugmt::shiftsMuon.index, l1ScoutingRun3::ugmt::masksMuon.index, L1TUtmCutValue.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, edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.index, edmTracerCompactLogViewer.ESModuleTransitionParser.index, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.index, DDTIDRingAlgo.moduleName, WorkFlow.WorkFlowConnector.moduleName, DQMFEDIntegrityClient.moduleName, HLTObjectMonitorProtonLead::hltPlot.moduleName, HLTObjectMonitor::hltPlot.moduleName, ZGammaplusJetsMonitor.moduleName, edmTracerCompactLogViewer.EDModuleTransitionParser.moduleName, edmTracerCompactLogViewer.ESModuleTransitionParser.moduleName, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.moduleName, 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, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.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, edmModuleAllocMonitorAnalyze.PreSourceTransitionParser.transition, edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.transition, edmTracerCompactLogViewer.ESModuleTransitionParser.transition, and edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.transition.

Referenced by edmModuleAllocMonitorAnalyze.PostEDModuleTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PostEDModuleAcquireParser.jsonInfo(), and edmModuleAllocMonitorAnalyze.PostESModuleTransitionParser.jsonInfo().

704  def _postJsonInfo(self, syncs, temp, data, activity):
705  start = temp.findTime(self.moduleName, self.transition, self.index)
706  data.insert( self.moduleName , start, self.time, self.transition, self.index, syncs.get(self.transition, self.index) , activity, self.allocInfo)
707 
708 

◆ _postJsonVis()

def edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._postJsonVis (   self,
  data,
  alloc,
  injectAfter = None 
)
private

Definition at line 688 of file edmModuleAllocMonitorAnalyze.py.

References edmTracerCompactLogViewer.EDModuleTransitionParser.callID, edmTracerCompactLogViewer.ESModuleTransitionParser.callID, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.callID, 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, edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.index, edmTracerCompactLogViewer.ESModuleTransitionParser.index, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.index, EcalTestPulseAnalyzer.moduleID, EcalLaserAnalyzer.moduleID, EcalLaserAnalyzer2.moduleID, edmTracerCompactLogViewer.EDModuleTransitionParser.moduleID, edmTracerCompactLogViewer.ESModuleTransitionParser.moduleID, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.moduleID, print(), 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, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.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, edmModuleAllocMonitorAnalyze.PreSourceTransitionParser.transition, edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.transition, edmTracerCompactLogViewer.ESModuleTransitionParser.transition, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.transition, and edmModuleAllocMonitorAnalyze.transitionIsGlobal().

Referenced by edmModuleAllocMonitorAnalyze.PostEDModuleTransitionParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostEDModuleAcquireParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostEDModuleEventDelayedGetParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostEventReadFromSourceParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PostESModuleTransitionParser.jsonVisInfo(), and edmModuleAllocMonitorAnalyze.PostESModuleAcquireParser.jsonVisInfo().

688  def _postJsonVis(self, data, alloc, injectAfter = None):
689  compare = lambda x: x['id'] == self.index and x['mod'] == self.moduleID and x['call'] == self.callID and x['type'] == self.transition
690  index = self.index
691  if transitionIsGlobal(self.transition):
692  item,slot = data.findLastInModGlobals(index, self.moduleID, compare)
693  else:
694  item,slot = data.findLastInModStreams(index, self.moduleID, compare)
695  if item is None:
696  print(f"failed to find {self.moduleID} for {self.transition} in {self.index}")
697  else:
698  item["finish"]=self.time*kMicroToSec
699  alloc.inject(item)
700  if injectAfter:
701  slot.append(injectAfter)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47

◆ _preJsonInfo()

def edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._preJsonInfo (   self,
  temp 
)
private

Definition at line 702 of file edmModuleAllocMonitorAnalyze.py.

References relval_nano.WFN.index, TShapeAnalysis.index, AlpgenParTokens.index, TICLSeedingRegion.index, l1ScoutingRun3::ugmt::shiftsMuon.index, l1ScoutingRun3::ugmt::masksMuon.index, L1TUtmCutValue.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, edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.index, edmTracerCompactLogViewer.ESModuleTransitionParser.index, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.index, DDTIDRingAlgo.moduleName, WorkFlow.WorkFlowConnector.moduleName, DQMFEDIntegrityClient.moduleName, HLTObjectMonitorProtonLead::hltPlot.moduleName, HLTObjectMonitor::hltPlot.moduleName, ZGammaplusJetsMonitor.moduleName, edmTracerCompactLogViewer.EDModuleTransitionParser.moduleName, edmTracerCompactLogViewer.ESModuleTransitionParser.moduleName, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.moduleName, 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, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.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, edmModuleAllocMonitorAnalyze.PreSourceTransitionParser.transition, edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.transition, edmTracerCompactLogViewer.ESModuleTransitionParser.transition, and edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.transition.

Referenced by edmModuleAllocMonitorAnalyze.PreEDModuleTransitionParser.jsonInfo(), edmModuleAllocMonitorAnalyze.PreEDModuleAcquireParser.jsonInfo(), and edmModuleAllocMonitorAnalyze.PreESModuleTransitionParser.jsonInfo().

702  def _preJsonInfo(self, temp):
703  temp.insertTime(self.moduleName, self.transition, self.index, self.time)

◆ _preJsonVis()

def edmModuleAllocMonitorAnalyze.EDModuleTransitionParser._preJsonVis (   self,
  activity,
  data,
  mayUseTemp = False 
)
private

Definition at line 666 of file edmModuleAllocMonitorAnalyze.py.

References edmTracerCompactLogViewer.EDModuleTransitionParser.callID, edmTracerCompactLogViewer.ESModuleTransitionParser.callID, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.callID, 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, edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.index, edmTracerCompactLogViewer.ESModuleTransitionParser.index, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.index, edmModuleAllocMonitorAnalyze.jsonModuleTransition(), EcalTestPulseAnalyzer.moduleID, EcalLaserAnalyzer.moduleID, EcalLaserAnalyzer2.moduleID, edmTracerCompactLogViewer.EDModuleTransitionParser.moduleID, edmTracerCompactLogViewer.ESModuleTransitionParser.moduleID, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.moduleID, 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, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.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, edmModuleAllocMonitorAnalyze.PreSourceTransitionParser.transition, edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.transition, edmTracerCompactLogViewer.ESModuleTransitionParser.transition, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.transition, and edmModuleAllocMonitorAnalyze.transitionIsGlobal().

Referenced by edmModuleAllocMonitorAnalyze.PreEDModuleTransitionParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PreEDModuleAcquireParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PreEDModuleEventDelayedGetParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PreEventReadFromSourceParser.jsonVisInfo(), edmModuleAllocMonitorAnalyze.PreESModuleTransitionParser.jsonVisInfo(), and edmModuleAllocMonitorAnalyze.PreESModuleAcquireParser.jsonVisInfo().

666  def _preJsonVis(self, activity, data, mayUseTemp = False):
667  index = self.index
668  found = False
669  if mayUseTemp:
670  compare = lambda x: x['type'] == self.transition and x['id'] == self.index and x['mod'] == self.moduleID and x['call'] == self.callID and (x['act'] == Activity.temporary or x['act'] == Activity.externalWork)
671  if transitionIsGlobal(self.transition):
672  item,slot = data.findLastInModGlobals(index, self.moduleID, compare)
673  else:
674  item,slot = data.findLastInModStreams(index, self.moduleID, compare)
675  if slot:
676  if item['act'] == Activity.temporary:
677  slot.pop()
678  else:
679  item['finish']=self.time*kMicroToSec
680  found = True
681  if not found:
682  if transitionIsGlobal(self.transition):
683  slot = data.findOpenSlotInModGlobals(index, self.moduleID)
684  else:
685  slot = data.findOpenSlotInModStreams(index, self.moduleID)
686  slot.append(jsonModuleTransition(type=self.transition, id=self.index, modID=self.moduleID, callID=self.callID, activity=activity, start=self.time))
687  return slot[-1]
def jsonModuleTransition(type, id, modID, callID, activity, start, finish=0)

◆ baseIndentLevel()

def edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.baseIndentLevel (   self)

Definition at line 652 of file edmModuleAllocMonitorAnalyze.py.

References 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, edmModuleAllocMonitorAnalyze.PreSourceTransitionParser.transition, edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.transition, edmTracerCompactLogViewer.ESModuleTransitionParser.transition, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.transition, and edmModuleAllocMonitorAnalyze.transitionIndentLevel().

Referenced by edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.textPrefix(), and edmModuleAllocMonitorAnalyze.ESModuleTransitionParser.textPrefix().

652  def baseIndentLevel(self):
653  return transitionIndentLevel(self.transition)

◆ text()

def edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.text (   self,
  context 
)

Definition at line 664 of file edmModuleAllocMonitorAnalyze.py.

664  def text(self, context):
665  return f'{self.textPrefix(context)} {self.textSpecial()}{self.textIfTransform()}: {self.textPostfix()}'

◆ textIfTransform()

def edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.textIfTransform (   self)

Definition at line 660 of file edmModuleAllocMonitorAnalyze.py.

References edmTracerCompactLogViewer.EDModuleTransitionParser.callID, edmTracerCompactLogViewer.ESModuleTransitionParser.callID, and edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.callID.

660  def textIfTransform(self):
661  if self.callID:
662  return f' transform {self.callID-1}'
663  return ''

◆ textPostfix()

def edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.textPostfix (   self)

Definition at line 658 of file edmModuleAllocMonitorAnalyze.py.

658  def textPostfix(self):
659  return f'{self.moduleName} during {transitionName(self.transition)} : id={self.index}'

◆ textPrefix()

def edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.textPrefix (   self,
  context 
)

Definition at line 654 of file edmModuleAllocMonitorAnalyze.py.

References edmTracerCompactLogViewer.EDModuleTransitionParser.baseIndentLevel(), edmTracerCompactLogViewer.ESModuleTransitionParser.baseIndentLevel(), edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.baseIndentLevel(), edmTracerCompactLogViewer.EDModuleTransitionParser.callID, edmTracerCompactLogViewer.ESModuleTransitionParser.callID, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.callID, 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, edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.index, edmTracerCompactLogViewer.ESModuleTransitionParser.index, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.index, EcalTestPulseAnalyzer.moduleID, EcalLaserAnalyzer.moduleID, EcalLaserAnalyzer2.moduleID, edmTracerCompactLogViewer.EDModuleTransitionParser.moduleID, edmTracerCompactLogViewer.ESModuleTransitionParser.moduleID, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.moduleID, edmModuleAllocMonitorAnalyze.textPrefix_(), 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, edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.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, edmModuleAllocMonitorAnalyze.PreSourceTransitionParser.transition, edmModuleAllocMonitorAnalyze.PostSourceTransitionParser.transition, edmTracerCompactLogViewer.ESModuleTransitionParser.transition, and edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.transition.

654  def textPrefix(self, context):
655  indent = 0
656  context[(self.transition, self.index, self.moduleID, self.callID)] = indent+1
657  return textPrefix_(self.time, indent+1+self.baseIndentLevel())

Member Data Documentation

◆ callID

edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.callID

◆ index

edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.index

◆ moduleID

edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.moduleID

◆ moduleName

edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.moduleName

◆ time

edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.time

◆ transition

edmModuleAllocMonitorAnalyze.EDModuleTransitionParser.transition