CMS 3D CMS Logo

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.

00028                          :
00029         #assign modules to pretty grouping
00030         sequenceWithModules = { }
00031         sequenceWithModulesString = { }
00032         for name in names:
00033             sequenceWithModules[name] = []
00034             getModulesFromSequence(process.sequences[name],sequenceWithModules[name])
00035             #also create the flat string based version instead of full config one
00036             sequenceWithModulesString[name] = []
00037             for module in sequenceWithModules[name]:
00038                 sequenceWithModulesString[name].append(module.label())
00039         return (sequenceWithModules, sequenceWithModulesString)


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.