Properties | |
aliases = property(aliases_,doc="dictionary containing the aliases for the process") | |
analyzers = property(analyzers_,doc="dictionary containing the analyzers for the process") | |
endpaths = property(endpaths_,doc="dictionary containing the endpaths for the process") | |
es_prefers = property(es_prefers_,doc="dictionary containing the es_prefers for the process") | |
es_producers = property(es_producers_,doc="dictionary containing the es_producers for the process") | |
es_sources = property(es_sources_,doc="dictionary containing the es_sources for the process") | |
filters = property(filters_, doc="dictionary containing the filters for the process") | |
looper = property(looper_,setLooper_,doc='the main looper or None if not set') | |
outputModules = property(outputModules_,doc="dictionary containing the output_modules for the process") | |
paths = property(paths_,doc="dictionary containing the paths for the process") | |
process = property(name_,setName_, doc="name of the process") | |
producers = property(producers_,doc="dictionary containing the producers for the process") | |
psets = property(psets_,doc="dictionary containing the PSets for the process") | |
schedule = property(schedule_,setSchedule_,doc='the schedule or None if not set') | |
sequences = property(sequences_,doc="dictionary containing the sequences for the process") | |
services = property(services_,doc="dictionary containing the services for the process") | |
source = property(source_,setSource_,doc='the main source or None if not set') | |
subProcesses = property(subProcesses_,doc='the SubProcesses that have been added to the Process') | |
vpsets = property(vpsets_,doc="dictionary containing the PSets for the process") | |
Private Attributes | |
__isStrict | |
__ppset | |
__process | |
__processPSet | |
__thelist | |
def Config.Process.__init__ | ( | self, | |
name, | |||
Mods | |||
) |
The argument 'name' will be the name applied to this Process Can optionally pass as additional arguments cms.Modifier instances that will be used to modify the Process as it is built
Definition at line 101 of file Config.py.
Referenced by Config.Process.fillProcessDesc().
def Config.Process.__delattr__ | ( | self, | |
name | |||
) |
Definition at line 387 of file Config.py.
Referenced by Config.Process.__setattr__().
|
private |
Given a container of sequences, find the first sequence containing mod and return the sequence. If no sequence is found, return None
Definition at line 376 of file Config.py.
References list().
Referenced by Config.Process.__setattr__().
def Config.Process.__setattr__ | ( | self, | |
name, | |||
value | |||
) |
Definition at line 298 of file Config.py.
References Config.Process.__delattr__(), Config.Process.__findFirstSequenceUsingModule(), Config.Process.__isStrict, Config.Process.__setObjectLabel(), Config.Process._okToPlace(), Config.Process._replaceInSequences(), Config.Process.add_(), Config.Process.endpaths, Config.Process.paths, and Config.Process.sequences.
Referenced by Config.Process._findPreferred(), and Config.Process.extend().
|
private |
Definition at line 271 of file Config.py.
Referenced by Config.Process.__setattr__(), Config.Process._place(), and Config.Process.extend().
def Config.Process.__setstate__ | ( | self, | |
pkldict | |||
) |
|
private |
Definition at line 643 of file Config.py.
References Config.Process.es_prefers_().
Referenced by Config.Process.dumpConfig().
|
private |
Definition at line 564 of file Config.py.
Referenced by Config.Process.dumpConfig().
|
private |
Definition at line 574 of file Config.py.
Referenced by Config.Process.dumpConfig().
|
private |
Definition at line 569 of file Config.py.
Referenced by Config.Process.dumpConfig().
|
private |
|
private |
Definition at line 653 of file Config.py.
Referenced by Config.Process.dumpPython().
|
private |
Definition at line 648 of file Config.py.
Referenced by Config.Process.dumpPython().
|
private |
Definition at line 978 of file Config.py.
References psClasses.BuildTreeNode.__setattr__(), Config.Process.__setattr__(), and Config.FilteredStream.__setattr__.
|
private |
|
private |
|
private |
|
private |
Definition at line 782 of file Config.py.
References Config.Process.endpaths_(), edm::MainParameterSet.paths_, edm::HLTGlobalStatus.paths_, heppy::TriggerBitChecker.paths_, GraphPath< N, E >.paths_, edm::PathsAndConsumesOfModules.paths_, pat::TriggerEvent.paths_, HLTPerformanceInfo.paths_, Config.Process.paths_(), EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, edm::PathsAndConsumesOfModules.schedule_, Config.Process.schedule_(), edm::EventProcessor.schedule_, edm::SubProcess.schedule_, and cmsPerfHarvest.visit().
|
private |
|
private |
Definition at line 422 of file Config.py.
References Config.Process.__isStrict.
Referenced by Config.Process.__setattr__(), and Config.Process._place().
|
private |
Definition at line 443 of file Config.py.
References Config.Process.__isStrict, Config.Process.__setObjectLabel(), and Config.Process._okToPlace().
Referenced by Config.Process._placeAlias(), Config.Process._placeAnalyzer(), Config.Process._placeEndPath(), Config.Process._placeESPrefer(), Config.Process._placeESProducer(), Config.Process._placeESSource(), Config.Process._placeFilter(), Config.Process._placeOutputModule(), Config.Process._placePath(), Config.Process._placeProducer(), Config.Process._placePSet(), Config.Process._placeSequence(), Config.Process._placeService(), Config.Process._placeVPSet(), and Config.Process.setPartialSchedule_().
|
private |
Definition at line 482 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 457 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 466 of file Config.py.
References Config.Process._place(), Config.Process._validateSequence(), and ExceptionHandling.format_outerframe().
|
private |
Definition at line 478 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 476 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 480 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 455 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 496 of file Config.py.
Referenced by Config.Process.setLooper_().
|
private |
Definition at line 451 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 459 of file Config.py.
References Config.Process._place(), Config.Process._validateSequence(), and ExceptionHandling.format_outerframe().
|
private |
Definition at line 453 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 484 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 473 of file Config.py.
References Config.Process._place(), and Config.Process._validateSequence().
|
private |
Definition at line 506 of file Config.py.
References Config.Process._place().
|
private |
Allow the source to be referenced by 'source' or by type name
Definition at line 488 of file Config.py.
Referenced by Config.Process.setSource_().
|
private |
|
private |
Definition at line 486 of file Config.py.
References Config.Process._place().
|
private |
|
private |
Definition at line 735 of file Config.py.
Referenced by Config.Process.__setattr__(), and Config.Process.globalReplace().
|
private |
Definition at line 670 of file Config.py.
References cmsPerfStripChart.dict, join(), and Config.Process.sequences.
Referenced by Config.Process.dumpPython().
|
private |
Definition at line 662 of file Config.py.
Referenced by Config.Process._placeEndPath(), Config.Process._placePath(), and Config.Process._placeSequence().
def Config.Process.add_ | ( | self, | |
value | |||
) |
Allows addition of components that do not have to have a label, e.g. Services
Definition at line 407 of file Config.py.
References Config.Process.__isStrict.
Referenced by Config.Process.__setattr__(), and Config.Process.extend().
def Config.Process.addSubProcess | ( | self, | |
mod | |||
) |
def Config.Process.aliases_ | ( | self | ) |
returns a dict of the aliases that have been added to the Process
Definition at line 258 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.analyzerNames | ( | self | ) |
Returns a string containing all the EDAnalyzer labels separated by a blank
Definition at line 144 of file Config.py.
References HLTMuonValidator.analyzers_, Config.Process.analyzers_(), join(), and relativeConstraints.keys.
def Config.Process.analyzers_ | ( | self | ) |
returns a dict of the analyzers that have been added to the Process
Definition at line 202 of file Config.py.
Referenced by Config.Process.analyzerNames(), Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.prune().
def Config.Process.dumpConfig | ( | self, | |
options = PrintOptions() |
|||
) |
return a string containing the equivalent process defined using the old configuration language
Definition at line 581 of file Config.py.
References dataset.Dataset.__name, Config.Process._dumpConfigESPrefers(), Config.Process._dumpConfigNamedList(), Config.Process._dumpConfigOptionallyNamedList(), Config.Process._dumpConfigUnnamedList(), Config.Process.aliases_(), HLTMuonValidator.analyzers_, Config.Process.analyzers_(), Config.Process.endpaths_(), Config.Process.es_producers_(), Config.Process.es_sources_(), pat::eventhypothesis::AndFilter.filters_, pat::eventhypothesis::OrFilter.filters_, pat::TriggerEvent.filters_, FilterOR.filters_, Config.Process.filters_(), Selection< C, Selector, StoreContainer >.filters_, Selections.filters_, join(), Config.Process.looper_(), edm::EventProcessor.looper_, Config.Process.outputModules_(), edm::MainParameterSet.paths_, edm::HLTGlobalStatus.paths_, heppy::TriggerBitChecker.paths_, GraphPath< N, E >.paths_, edm::PathsAndConsumesOfModules.paths_, pat::TriggerEvent.paths_, HLTPerformanceInfo.paths_, Config.Process.paths_(), pf2pat::EventHypothesis.producers_, Config.Process.producers_(), Config.Process.schedule, Config.Process.sequences_(), edm::ProcessDesc.services_, Config.Process.services_(), ecaldqm::DBWriterWorker.source_, SiStripFedCablingBuilderFromDb.source_, jsoncollector::DataPoint.source_, sistrip::SpyEventMatcher.source_, Config.Process.source_(), edm::InputSource::EventSourceSentry.source_, Config.Process.subProcesses_(), edm::EventProcessor.subProcesses_, and edm::SubProcess.subProcesses_.
Referenced by Types.SecSource.configValue().
def Config.Process.dumpPython | ( | self, | |
options = PrintOptions() |
|||
) |
return a string containing the equivalent process defined using python
Definition at line 707 of file Config.py.
References dataset.Dataset.__name, Config.Process._dumpPython(), Config.Process._dumpPythonList(), Config.Process._dumpPythonSubProcesses(), Config.Process._sequencesInDependencyOrder(), Config.Process.aliases_(), HLTMuonValidator.analyzers_, Config.Process.analyzers_(), Config.Process.endpaths_(), Config.Process.es_prefers_(), Config.Process.es_producers_(), Config.Process.es_sources_(), pat::eventhypothesis::AndFilter.filters_, pat::eventhypothesis::OrFilter.filters_, pat::TriggerEvent.filters_, FilterOR.filters_, Config.Process.filters_(), Selection< C, Selector, StoreContainer >.filters_, Selections.filters_, join(), Config.Process.looper_(), edm::EventProcessor.looper_, Config.Process.outputModules_(), edm::MainParameterSet.paths_, edm::HLTGlobalStatus.paths_, heppy::TriggerBitChecker.paths_, GraphPath< N, E >.paths_, edm::PathsAndConsumesOfModules.paths_, pat::TriggerEvent.paths_, HLTPerformanceInfo.paths_, Config.Process.paths_(), pf2pat::EventHypothesis.producers_, Config.Process.producers_(), CmsswTask.CmsswTask.psets, Config.Process.psets, Config.Process.schedule, edm::ProcessDesc.services_, Config.Process.services_(), ecaldqm::DBWriterWorker.source_, SiStripFedCablingBuilderFromDb.source_, jsoncollector::DataPoint.source_, sistrip::SpyEventMatcher.source_, Config.Process.source_(), edm::InputSource::EventSourceSentry.source_, Config.Process.subProcesses_(), edm::EventProcessor.subProcesses_, edm::SubProcess.subProcesses_, and Config.Process.vpsets.
Referenced by Mixins._Parameterizable.__addParameter(), Mixins._ParameterTypeBase.__repr__(), Mixins._Parameterizable.__repr__(), Mixins._ValidatingParameterListBase.__repr__(), Types.VPSet.__repr__(), and Mixins._Parameterizable.__setattr__().
def Config.Process.endpaths_ | ( | self | ) |
returns a dict of the endpaths that have been added to the Process
Definition at line 214 of file Config.py.
Referenced by Config.Process._insertPaths(), Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.es_prefers_ | ( | self | ) |
returns a dict of the es_prefers that have been added to the Process
Definition at line 254 of file Config.py.
Referenced by Config.Process._dumpConfigESPrefers(), and Config.Process.dumpPython().
def Config.Process.es_producers_ | ( | self | ) |
returns a dict of the esproducers that have been added to the Process
Definition at line 246 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.es_sources_ | ( | self | ) |
returns a the es_sources that have been added to the Process
Definition at line 250 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.extend | ( | self, | |
other, | |||
items = () |
|||
) |
Look in other and find types that we can use
Definition at line 513 of file Config.py.
References psClasses.BuildTreeNode.__setattr__(), Config.Process.__setattr__(), Config.FilteredStream.__setattr__, Config.Process.__setObjectLabel(), Config.Process.add_(), cmsPerfStripChart.dict, dir, ora::ContainerSchema.extend(), svgfig.SVG.extend(), and Config.Process.extend().
Referenced by MatrixUtil.WF.__init__(), Config.Process.extend(), Config.Process.load(), and Mixins._ValidatingParameterListBase.setValue().
def Config.Process.fillProcessDesc | ( | self, | |
processPSet | |||
) |
Used by the framework to convert python to C++ objects
Definition at line 885 of file Config.py.
References Config.Process.__init__().
def Config.Process.filterNames | ( | self | ) |
Returns a string containing all the EDFilter labels separated by a blank
Definition at line 147 of file Config.py.
References pat::eventhypothesis::AndFilter.filters_, pat::eventhypothesis::OrFilter.filters_, pat::TriggerEvent.filters_, FilterOR.filters_, Config.Process.filters_(), Selection< C, Selector, StoreContainer >.filters_, Selections.filters_, join(), and relativeConstraints.keys.
def Config.Process.filters_ | ( | self | ) |
returns a dict of the filters that have been added to the Process
Definition at line 171 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), Config.Process.filterNames(), and Config.Process.prune().
def Config.Process.globalReplace | ( | self, | |
label, | |||
new | |||
) |
Replace the item with label 'label' by object 'new' in the process and all sequences/paths
Definition at line 744 of file Config.py.
References Config.Process._replaceInSequences().
def Config.Process.load | ( | self, | |
moduleName | |||
) |
Definition at line 509 of file Config.py.
References ora::ContainerSchema.extend(), svgfig.SVG.extend(), and Config.Process.extend().
def Config.Process.looper_ | ( | self | ) |
returns the looper that has been added to the Process or None if none have been added
Definition at line 192 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.name_ | ( | self | ) |
Definition at line 175 of file Config.py.
References dataset.Dataset.__name.
def Config.Process.outputModules_ | ( | self | ) |
returns a dict of the output modules that have been added to the Process
Definition at line 206 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.pathNames | ( | self | ) |
Returns a string containing all the Path names separated by a blank
Definition at line 150 of file Config.py.
References join(), relativeConstraints.keys, edm::MainParameterSet.paths_, edm::HLTGlobalStatus.paths_, heppy::TriggerBitChecker.paths_, GraphPath< N, E >.paths_, edm::PathsAndConsumesOfModules.paths_, pat::TriggerEvent.paths_, HLTPerformanceInfo.paths_, and Config.Process.paths_().
def Config.Process.paths_ | ( | self | ) |
returns a dict of the paths that have been added to the Process
Definition at line 210 of file Config.py.
Referenced by Config.Process._insertPaths(), Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.pathNames().
def Config.Process.prefer | ( | self, | |
esmodule, | |||
args, | |||
kargs | |||
) |
Prefer this ES source or producer. The argument can either be an object label, e.g., process.prefer(process.juicerProducer) (not supported yet) or a name of an ESSource or ESProducer process.prefer("juicer") or a type of unnamed ESSource or ESProducer process.prefer("JuicerProducer") In addition, you can pass as a labelled arguments the name of the Record you wish to prefer where the type passed is a cms.vstring and that vstring can contain the name of the C++ types in the Record that are being preferred, e.g., #prefer all data in record 'OrangeRecord' from 'juicer' process.prefer("juicer", OrangeRecord=cms.vstring()) or #prefer only "Orange" data in "OrangeRecord" from "juicer" process.prefer("juicer", OrangeRecord=cms.vstring("Orange")) or #prefer only "Orange" data with label "ExtraPulp" in "OrangeRecord" from "juicer" ESPrefer("ESJuicerProd", OrangeRecord=cms.vstring("Orange/ExtraPulp"))
Definition at line 949 of file Config.py.
def Config.Process.producerNames | ( | self | ) |
Returns a string containing all the EDProducer labels separated by a blank
Definition at line 141 of file Config.py.
References join(), relativeConstraints.keys, pf2pat::EventHypothesis.producers_, and Config.Process.producers_().
def Config.Process.producers_ | ( | self | ) |
returns a dict of the producers that have been added to the Process
Definition at line 182 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), Config.Process.producerNames(), and Config.Process.prune().
Remove clutter from the process that we think is unnecessary: tracked PSets, VPSets and unused modules and sequences. If a Schedule has been set, then Paths and EndPaths not in the schedule will also be removed, along with an modules and sequences used only by those removed Paths and EndPaths.
Definition at line 823 of file Config.py.
References Config.Process._pruneModules(), HLTMuonValidator.analyzers_, Config.Process.analyzers_(), Config.Process.endpaths, pat::eventhypothesis::AndFilter.filters_, pat::eventhypothesis::OrFilter.filters_, pat::TriggerEvent.filters_, FilterOR.filters_, Config.Process.filters_(), Selection< C, Selector, StoreContainer >.filters_, Selections.filters_, join(), list(), Config.Process.paths, pf2pat::EventHypothesis.producers_, Config.Process.producers_(), EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, edm::PathsAndConsumesOfModules.schedule_, Config.Process.schedule_(), edm::EventProcessor.schedule_, edm::SubProcess.schedule_, and Config.Process.vpsets_().
Referenced by dirstructure.Directory.prune().
def Config.Process.psets_ | ( | self | ) |
returns a dict of the PSets that have been added to the Process
Definition at line 262 of file Config.py.
def Config.Process.schedule_ | ( | self | ) |
returns the schedule that has been added to the Process or None if none have been added
Definition at line 222 of file Config.py.
Referenced by Config.Process._insertPaths(), and Config.Process.prune().
def Config.Process.sequences_ | ( | self | ) |
returns a dict of the sequences that have been added to the Process
Definition at line 218 of file Config.py.
Referenced by Config.Process.dumpConfig().
def Config.Process.services_ | ( | self | ) |
returns a dict of the services that have been added to the Process
Definition at line 242 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.setLooper_ | ( | self, | |
lpr | |||
) |
Definition at line 195 of file Config.py.
References Config.Process._placeLooper().
def Config.Process.setName_ | ( | self, | |
name | |||
) |
def Config.Process.setPartialSchedule_ | ( | self, | |
sch, | |||
label | |||
) |
Definition at line 225 of file Config.py.
References Config.Process._place(), and Config.Process.setSchedule_().
def Config.Process.setSchedule_ | ( | self, | |
sch | |||
) |
Definition at line 230 of file Config.py.
Referenced by Config.Process.setPartialSchedule_().
def Config.Process.setSource_ | ( | self, | |
src | |||
) |
Definition at line 189 of file Config.py.
References Config.Process._placeSource().
def Config.Process.setStrict | ( | self, | |
value | |||
) |
Definition at line 136 of file Config.py.
References Config.Process.__isStrict.
def Config.Process.source_ | ( | self | ) |
returns the source that has been added to the Process or None if none have been added
Definition at line 186 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.subProcesses_ | ( | self | ) |
returns a list of the subProcesses that have been added to the Process
Definition at line 198 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.vpsets_ | ( | self | ) |
returns a dict of the VPSets that have been added to the Process
Definition at line 266 of file Config.py.
Referenced by Config.Process.prune().
|
private |
Definition at line 131 of file Config.py.
Referenced by Config.Process.__setattr__(), Config.Process._okToPlace(), Config.Process._place(), Config.Process.add_(), and Config.Process.setStrict().
|
private |
Definition at line 901 of file Config.py.
Referenced by Config.ProcessFragment.__delattr__(), Config.ProcessFragment.__dir__(), Config.ProcessFragment.__getattribute__(), Config.ProcessFragment.__setattr__(), and Config.SubProcess.process().
|
static |
Definition at line 205 of file Config.py.
Referenced by looper.Looper.loop(), and looper.Looper.write().
|
static |
Definition at line 217 of file Config.py.
Referenced by Config.Process.__setattr__(), and Config.Process.prune().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 213 of file Config.py.
Referenced by Config.Process.__setattr__(), and Config.Process.prune().
Definition at line 181 of file Config.py.
Referenced by ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.completeInputCommand(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.dumpPython(), ConfigBuilder.ConfigBuilder.PrintAllModules.leave(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.open(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.outputEventContent(), ConfigBuilder.ConfigBuilder.prepare_HLT(), ConfigBuilder.ConfigBuilder.prepare_LHE(), ConfigBuilder.ConfigBuilder.prepare_PATFILTER(), ConfigBuilder.ConfigBuilder.prepare_VALIDATION(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder.renameInputTagsInSequence(), ConfigBuilder.ConfigBuilder.scheduleSequence(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.setProcess(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.setProperty().
|
static |
|
static |
Definition at line 265 of file Config.py.
Referenced by Config.Process.dumpPython().
|
static |
Definition at line 241 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
|
static |
Definition at line 221 of file Config.py.
Referenced by Config.Process.__setattr__(), and Config.Process._sequencesInDependencyOrder().
|
static |
Definition at line 245 of file Config.py.
Referenced by config.Config.__str__().
|
static |
Definition at line 191 of file Config.py.
Referenced by confdb.HLTProcess.build_source(), and confdb.HLTProcess.specificCustomize().
|
static |
|
static |
Definition at line 269 of file Config.py.
Referenced by Config.Process.dumpPython().