CMS 3D CMS Logo

Functions | Variables
ModuleToSequenceAssign Namespace Reference

Functions

def assignModulesToSeqs ()
 

Variables

 BTagVtx
 
 CaloLocal
 
 Ecal
 
 EGamma
 
 JetMet
 
 MuLocal
 
 Muon
 
 names
 
 PFlow
 
 process
 
 sequenceWithModules
 
 sequenceWithModulesString
 
 Tau
 
 TkLocal
 
 Tracking
 

Function Documentation

def ModuleToSequenceAssign.assignModulesToSeqs ( )

Definition at line 28 of file ModuleToSequenceAssign.py.

References mps_setup.append, and usedOutput.getModulesFromSequence().

Referenced by cmsPerfSuiteHarvest.get_modules_sequences_relationships().

29  #assign modules to pretty grouping
30  sequenceWithModules = { }
31  sequenceWithModulesString = { }
32  for name in names:
33  sequenceWithModules[name] = []
34  getModulesFromSequence(process.sequences[name],sequenceWithModules[name])
35  #also create the flat string based version instead of full config one
36  sequenceWithModulesString[name] = []
37  for module in sequenceWithModules[name]:
38  sequenceWithModulesString[name].append(module.label())
39  return (sequenceWithModules, sequenceWithModulesString)
40 
def getModulesFromSequence(sequence, list)
Definition: usedOutput.py:7

Variable Documentation

ModuleToSequenceAssign.BTagVtx

Definition at line 22 of file ModuleToSequenceAssign.py.

ModuleToSequenceAssign.CaloLocal

Definition at line 19 of file ModuleToSequenceAssign.py.

ModuleToSequenceAssign.Ecal
ModuleToSequenceAssign.EGamma
ModuleToSequenceAssign.JetMet

Definition at line 16 of file ModuleToSequenceAssign.py.

ModuleToSequenceAssign.MuLocal

Definition at line 18 of file ModuleToSequenceAssign.py.

ModuleToSequenceAssign.Muon

Definition at line 23 of file ModuleToSequenceAssign.py.

ModuleToSequenceAssign.names

Definition at line 26 of file ModuleToSequenceAssign.py.

ModuleToSequenceAssign.PFlow

Definition at line 15 of file ModuleToSequenceAssign.py.

ModuleToSequenceAssign.process

Definition at line 7 of file ModuleToSequenceAssign.py.

ModuleToSequenceAssign.sequenceWithModules

Definition at line 43 of file ModuleToSequenceAssign.py.

ModuleToSequenceAssign.sequenceWithModulesString

Definition at line 43 of file ModuleToSequenceAssign.py.

ModuleToSequenceAssign.Tau

Definition at line 25 of file ModuleToSequenceAssign.py.

ModuleToSequenceAssign.TkLocal

Definition at line 17 of file ModuleToSequenceAssign.py.

ModuleToSequenceAssign.Tracking

Definition at line 21 of file ModuleToSequenceAssign.py.