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') | |
subProcess = property(subProcess_,setSubProcess_,doc='the SubProcess or None if not set') | |
vpsets = property(vpsets_,doc="dictionary containing the PSets for the process") | |
Private Attributes | |
__isStrict | |
__ppset | |
__process | |
__processPSet | |
__thelist | |
def Config.Process.__init__ | ( | self, | |
name | |||
) |
The argument 'name' will be the name applied to this Process
Definition at line 102 of file Config.py.
Referenced by Config.Process.fillProcessDesc().
def Config.Process.__delattr__ | ( | self, | |
name | |||
) |
Definition at line 384 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 373 of file Config.py.
References list().
Referenced by Config.Process.__setattr__().
def Config.Process.__setattr__ | ( | self, | |
name, | |||
value | |||
) |
Definition at line 295 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 268 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 626 of file Config.py.
References Config.Process.es_prefers_().
Referenced by Config.Process.dumpConfig().
|
private |
Definition at line 548 of file Config.py.
Referenced by Config.Process.dumpConfig().
|
private |
Definition at line 558 of file Config.py.
Referenced by Config.Process.dumpConfig().
|
private |
Definition at line 553 of file Config.py.
Referenced by Config.Process.dumpConfig().
|
private |
|
private |
Definition at line 631 of file Config.py.
Referenced by Config.Process.dumpPython().
|
private |
Definition at line 944 of file Config.py.
References python.Node.Node.__setattr__(), psClasses.BuildTreeNode.__setattr__(), Config.Process.__setattr__(), and Config.FilteredStream.__setattr__.
|
private |
|
private |
|
private |
|
private |
Definition at line 748 of file Config.py.
References Config.Process.endpaths_(), edm::MainParameterSet.paths_, edm::HLTGlobalStatus.paths_, GraphPath< N, E >.paths_, pat::TriggerEvent.paths_, edm::EventSelector.paths_, HLTPerformanceInfo.paths_, Config.Process.paths_(), EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, Config.Process.schedule_(), edm::SubProcess.schedule_, edm::EventProcessor.schedule_, and cmsPerfHarvest.visit().
|
private |
Definition at line 419 of file Config.py.
References Config.Process.__isStrict.
Referenced by Config.Process.__setattr__(), and Config.Process._place().
|
private |
Definition at line 440 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 479 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 454 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 463 of file Config.py.
References Config.Process._place(), Config.Process._validateSequence(), and ExceptionHandling.format_outerframe().
|
private |
Definition at line 475 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 473 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 477 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 452 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 493 of file Config.py.
Referenced by Config.Process.setLooper_().
|
private |
Definition at line 448 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 456 of file Config.py.
References Config.Process._place(), Config.Process._validateSequence(), and ExceptionHandling.format_outerframe().
|
private |
Definition at line 450 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 481 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 470 of file Config.py.
References Config.Process._place(), and Config.Process._validateSequence().
|
private |
Definition at line 503 of file Config.py.
References Config.Process._place().
|
private |
Allow the source to be referenced by 'source' or by type name
Definition at line 485 of file Config.py.
Referenced by Config.Process.setSource_().
|
private |
Definition at line 498 of file Config.py.
Referenced by Config.Process.setSubProcess_().
|
private |
Definition at line 483 of file Config.py.
References Config.Process._place().
|
private |
|
private |
Definition at line 714 of file Config.py.
Referenced by Config.Process.__setattr__(), and Config.Process.globalReplace().
|
private |
Definition at line 648 of file Config.py.
References python.multivaluedict.dict, join(), and Config.Process.sequences.
Referenced by Config.Process.dumpPython().
|
private |
Definition at line 640 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 which do not have to have a label, e.g. Services
Definition at line 404 of file Config.py.
References Config.Process.__isStrict.
Referenced by Config.Process.__setattr__(), and Config.Process.extend().
def Config.Process.aliases_ | ( | self | ) |
returns a dict of the aliases that have been added to the Process
Definition at line 255 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 139 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 which have been added to the Process
Definition at line 199 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 565 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_, FourVectorHLTOnline::PathInfo.filters_, FourVectorHLTOffline::PathInfo.filters_, TrigResRateMon::PathInfo.filters_, join(), Config.Process.looper_(), edm::EventProcessor.looper_, Config.Process.outputModules_(), edm::MainParameterSet.paths_, edm::HLTGlobalStatus.paths_, GraphPath< N, E >.paths_, pat::TriggerEvent.paths_, edm::EventSelector.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.subProcess_(), edm::SubProcess.subProcess_, and edm::EventProcessor.subProcess_.
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 685 of file Config.py.
References dataset.Dataset.__name, Config.Process._dumpPython(), Config.Process._dumpPythonList(), 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_, FourVectorHLTOnline::PathInfo.filters_, FourVectorHLTOffline::PathInfo.filters_, TrigResRateMon::PathInfo.filters_, join(), Config.Process.looper_(), edm::EventProcessor.looper_, Config.Process.outputModules_(), edm::MainParameterSet.paths_, edm::HLTGlobalStatus.paths_, GraphPath< N, E >.paths_, pat::TriggerEvent.paths_, edm::EventSelector.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.subProcess_(), edm::SubProcess.subProcess_, edm::EventProcessor.subProcess_, 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 which have been added to the Process
Definition at line 211 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 which have been added to the Process
Definition at line 251 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 which have been added to the Process
Definition at line 243 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.es_sources_ | ( | self | ) |
returns a the es_sources which have been added to the Process
Definition at line 247 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 which we can use
Definition at line 510 of file Config.py.
References python.Node.Node.__setattr__(), psClasses.BuildTreeNode.__setattr__(), Config.Process.__setattr__(), Config.FilteredStream.__setattr__, Config.Process.__setObjectLabel(), Config.Process.add_(), python.multivaluedict.dict, and dir.
Referenced by relval_steps.WF.__init__(), 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 851 of file Config.py.
References Config.Process.__init__(), and dbtoconf.object.
def Config.Process.filterNames | ( | self | ) |
Returns a string containing all the EDFilter labels separated by a blank
Definition at line 142 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_, FourVectorHLTOnline::PathInfo.filters_, FourVectorHLTOffline::PathInfo.filters_, TrigResRateMon::PathInfo.filters_, join(), and relativeConstraints.keys.
def Config.Process.filters_ | ( | self | ) |
returns a dict of the filters which have been added to the Process
Definition at line 166 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 723 of file Config.py.
References Config.Process._replaceInSequences().
def Config.Process.load | ( | self, | |
moduleName | |||
) |
Definition at line 506 of file Config.py.
References ora::ContainerSchema.extend(), python.seqvaluedict.seqdict.extend(), svgfig.SVG.extend(), and Config.Process.extend().
def Config.Process.looper_ | ( | self | ) |
returns the looper which has been added to the Process or None if none have been added
Definition at line 187 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.name_ | ( | self | ) |
Definition at line 170 of file Config.py.
References dataset.Dataset.__name.
def Config.Process.outputModules_ | ( | self | ) |
returns a dict of the output modules which have been added to the Process
Definition at line 203 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 145 of file Config.py.
References join(), relativeConstraints.keys, edm::MainParameterSet.paths_, edm::HLTGlobalStatus.paths_, GraphPath< N, E >.paths_, pat::TriggerEvent.paths_, edm::EventSelector.paths_, HLTPerformanceInfo.paths_, and Config.Process.paths_().
def Config.Process.paths_ | ( | self | ) |
returns a dict of the paths which have been added to the Process
Definition at line 207 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 which 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 915 of file Config.py.
def Config.Process.producerNames | ( | self | ) |
Returns a string containing all the EDProducer labels separated by a blank
Definition at line 136 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 which have been added to the Process
Definition at line 177 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), Config.Process.producerNames(), and Config.Process.prune().
Remove clutter from the process which 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 789 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_, FourVectorHLTOnline::PathInfo.filters_, FourVectorHLTOffline::PathInfo.filters_, TrigResRateMon::PathInfo.filters_, join(), list(), Config.Process.paths, pf2pat::EventHypothesis.producers_, Config.Process.producers_(), EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, Config.Process.schedule_(), edm::SubProcess.schedule_, edm::EventProcessor.schedule_, and Config.Process.vpsets_().
Referenced by dirstructure.Directory.prune().
def Config.Process.psets_ | ( | self | ) |
returns a dict of the PSets which have been added to the Process
Definition at line 259 of file Config.py.
def Config.Process.schedule_ | ( | self | ) |
returns the schedule which has been added to the Process or None if none have been added
Definition at line 219 of file Config.py.
Referenced by Config.Process._insertPaths(), and Config.Process.prune().
def Config.Process.sequences_ | ( | self | ) |
returns a dict of the sequences which have been added to the Process
Definition at line 215 of file Config.py.
Referenced by Config.Process.dumpConfig().
def Config.Process.services_ | ( | self | ) |
returns a dict of the services which have been added to the Process
Definition at line 239 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.setLooper_ | ( | self, | |
lpr | |||
) |
Definition at line 190 of file Config.py.
References Config.Process._placeLooper().
def Config.Process.setName_ | ( | self, | |
name | |||
) |
def Config.Process.setPartialSchedule_ | ( | self, | |
sch, | |||
label | |||
) |
Definition at line 222 of file Config.py.
References Config.Process._place(), and Config.Process.setSchedule_().
def Config.Process.setSchedule_ | ( | self, | |
sch | |||
) |
Definition at line 227 of file Config.py.
Referenced by Config.Process.setPartialSchedule_().
def Config.Process.setSource_ | ( | self, | |
src | |||
) |
Definition at line 184 of file Config.py.
References Config.Process._placeSource().
def Config.Process.setStrict | ( | self, | |
value | |||
) |
Definition at line 131 of file Config.py.
References Config.Process.__isStrict.
def Config.Process.setSubProcess_ | ( | self, | |
lpr | |||
) |
Definition at line 196 of file Config.py.
References Config.Process._placeSubProcess().
def Config.Process.source_ | ( | self | ) |
returns the source which has been added to the Process or None if none have been added
Definition at line 181 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.subProcess_ | ( | self | ) |
returns the sub-process which has been added to the Process or None if none have been added
Definition at line 193 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.vpsets_ | ( | self | ) |
returns a dict of the VPSets which have been added to the Process
Definition at line 263 of file Config.py.
Referenced by Config.Process.prune().
|
private |
Definition at line 129 of file Config.py.
Referenced by Config.Process.__setattr__(), Config.Process._okToPlace(), Config.Process._place(), Config.Process.add_(), and Config.Process.setStrict().
|
static |
|
static |
Definition at line 214 of file Config.py.
Referenced by Config.Process.__setattr__(), and Config.Process.prune().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 210 of file Config.py.
Referenced by Config.Process.__setattr__(), and Config.Process.prune().
Definition at line 176 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_FASTSIM(), ConfigBuilder.ConfigBuilder.prepare_HLT(), ConfigBuilder.ConfigBuilder.prepare_LHE(), 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 262 of file Config.py.
Referenced by Config.Process.dumpPython().
|
static |
Definition at line 238 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
|
static |
Definition at line 218 of file Config.py.
Referenced by Config.Process.__setattr__(), and Config.Process._sequencesInDependencyOrder().
|
static |
|
static |
|
static |
Definition at line 266 of file Config.py.
Referenced by Config.Process.dumpPython().