CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
ModuleToSequenceAssign Namespace Reference

Functions

def assignModulesToSeqs
 

Variables

list names = ["RawToDigi","TkLocal","MuLocal","CaloLocal","Ecal","Tracking","JetMet","BTagVtx","Muon","EGamma","Tau","PFlow"]
 
tuple process = cms.Process("SIZE")
 

Function Documentation

def ModuleToSequenceAssign.assignModulesToSeqs ( )

Definition at line 27 of file ModuleToSequenceAssign.py.

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

Referenced by cmsPerfSuiteHarvest.get_modules_sequences_relationships().

27 
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)
boost::dynamic_bitset append(const boost::dynamic_bitset<> &bs1, const boost::dynamic_bitset<> &bs2)
this method takes two bitsets bs1 and bs2 and returns result of bs2 appended to the end of bs1 ...
def getModulesFromSequence
Definition: usedOutput.py:6

Variable Documentation

list ModuleToSequenceAssign.names = ["RawToDigi","TkLocal","MuLocal","CaloLocal","Ecal","Tracking","JetMet","BTagVtx","Muon","EGamma","Tau","PFlow"]

Definition at line 25 of file ModuleToSequenceAssign.py.

tuple ModuleToSequenceAssign.process = cms.Process("SIZE")

Definition at line 6 of file ModuleToSequenceAssign.py.