Public Member Functions | |
def | __delattr__ (self, name) |
def | __init__ (self, name, Mods) |
def | __setattr__ (self, name, value) |
def | __setstate__ (self, pkldict) |
def | add_ (self, value) |
def | addSubProcess (self, mod) |
def | aliases_ (self) |
def | analyzerNames (self) |
def | analyzers_ (self) |
def | conditionaltasks_ (self) |
def | dumpConfig (self, options=PrintOptions()) |
def | dumpPython (self, options=PrintOptions()) |
def | endpaths_ (self) |
def | es_prefers_ (self) |
def | es_producers_ (self) |
def | es_sources_ (self) |
def | extend (self, other, items=()) |
def | fillProcessDesc (self, processPSet) |
def | filterNames (self) |
def | filters_ (self) |
def | finalpaths_ (self) |
def | globalReplace (self, label, new) |
def | handleProcessAccelerators (self, parameterSet) |
def | isUsingModifier (self, mod) |
def | load (self, moduleName) |
def | looper_ (self) |
def | name_ (self) |
def | outputModules_ (self) |
def | pathNames (self) |
def | paths_ (self) |
def | prefer (self, esmodule, args, kargs) |
def | processAccelerators_ (self) |
def | producerNames (self) |
def | producers_ (self) |
def | prune (self, verbose=False, keepUnresolvedSequencePlaceholders=False) |
def | psets_ (self) |
def | resolve (self, keepUnresolvedSequencePlaceholders=False) |
def | schedule_ (self) |
def | sequences_ (self) |
def | services_ (self) |
def | setLooper_ (self, lpr) |
def | setName_ (self, name) |
def | setPartialSchedule_ (self, sch, label) |
def | setSchedule_ (self, sch) |
def | setSource_ (self, src) |
def | setStrict (self, value) |
def | source_ (self) |
def | splitPython (self, options=PrintOptions()) |
def | subProcesses_ (self) |
def | switchProducerNames (self) |
def | switchProducers_ (self) |
def | tasks_ (self) |
def | validate (self) |
def | vpsets_ (self) |
Static Public Member Functions | |
def | defaultMaxEvents_ () |
def | defaultMaxLuminosityBlocks_ () |
def | defaultOptions_ () |
Public Attributes | |
maxLuminosityBlocks | |
MessageLogger | |
Properties | |
aliases = property(aliases_,doc="dictionary containing the aliases for the process") | |
analyzers = property(analyzers_,doc="dictionary containing the analyzers for the process") | |
conditionaltasks = property(conditionaltasks_,doc="dictionary containing the conditionatasks 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") | |
finalpaths = property(finalpaths_,doc="dictionary containing the finalpaths 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") | |
processAccelerators = property(processAccelerators_,doc="dictionary containing the ProcessAccelerators for 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') | |
switchProducers = property(switchProducers_,doc="dictionary containing the SwitchProducers for the process") | |
tasks = property(tasks_,doc="dictionary containing the tasks for the process") | |
vpsets = property(vpsets_,doc="dictionary containing the PSets for the process") | |
Private Member Functions | |
def | __findFirstUsingModule (self, seqsOrTasks, mod) |
def | __injectValidValue (self, name, value, newValue=None) |
def | __setObjectLabel (self, object, newLabel) |
def | __updateMaxEvents (self, ps) |
def | __updateOptions (self, opt) |
def | _delattrFromSetattr (self, name) |
def | _delHelper (self, name) |
def | _dumpConfigESPrefers (self, options) |
def | _dumpConfigNamedList (self, items, typeName, options) |
def | _dumpConfigOptionallyNamedList (self, items, typeName, options) |
def | _dumpConfigUnnamedList (self, items, typeName, options) |
def | _dumpPython (self, d, options) |
def | _dumpPythonList (self, d, options) |
def | _dumpPythonSubProcesses (self, l, options) |
def | _findPreferred (self, esname, d, args, kargs) |
def | _insertInto (self, parameterSet, itemDict) |
def | _insertManyInto (self, parameterSet, label, itemDict, tracked) |
def | _insertOneInto (self, parameterSet, label, item, tracked) |
def | _insertPaths (self, processPSet, nodeVisitor) |
def | _insertSubProcessesInto (self, parameterSet, label, itemList, tracked) |
def | _insertSwitchProducersInto (self, parameterSet, labelModules, labelAliases, itemDict, tracked) |
def | _itemsInDependencyOrder (self, processDictionaryOfItems) |
def | _okToPlace (self, name, mod, d) |
def | _place (self, name, mod, d) |
def | _placeAccelerator (self, typeName, mod) |
def | _placeAlias (self, name, mod) |
def | _placeAnalyzer (self, name, mod) |
def | _placeConditionalTask (self, name, task) |
def | _placeEndPath (self, name, mod) |
def | _placeESPrefer (self, name, mod) |
def | _placeESProducer (self, name, mod) |
def | _placeESSource (self, name, mod) |
def | _placeFilter (self, name, mod) |
def | _placeFinalPath (self, name, mod) |
def | _placeLooper (self, name, mod) |
def | _placeOutputModule (self, name, mod) |
def | _placePath (self, name, mod) |
def | _placeProducer (self, name, mod) |
def | _placePSet (self, name, mod) |
def | _placeSequence (self, name, mod) |
def | _placeService (self, typeName, mod) |
def | _placeSource (self, name, mod) |
def | _placeSubProcess (self, name, mod) |
def | _placeSwitchProducer (self, name, mod) |
def | _placeTask (self, name, task) |
def | _placeVPSet (self, name, mod) |
def | _pruneModules (self, d, scheduledNames) |
def | _replaceInConditionalTasks (self, label, new) |
def | _replaceInSchedule (self, label, new) |
def | _replaceInScheduleDirectly (self, label, new) |
def | _replaceInSequences (self, label, new) |
def | _replaceInTasks (self, label, new) |
def | _splitPython (self, subfolder, d, options) |
def | _splitPythonList (self, subfolder, d, options) |
def | _validateConditionalTask (self, task, label) |
def | _validateSequence (self, sequence, label) |
def | _validateTask (self, task, label) |
Private Attributes | |
__isStrict | |
__ppset | |
__process | |
__processPSet | |
__thelist | |
Static Private Attributes | |
_firstProcess | |
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 116 of file Config.py.
Referenced by Config.Process.fillProcessDesc().
def Config.Process.__delattr__ | ( | self, | |
name | |||
) |
Definition at line 601 of file Config.py.
References Config.Process._delHelper(), Config.Process._replaceInConditionalTasks(), Config.Process._replaceInSchedule(), Config.Process._replaceInScheduleDirectly(), Config.Process._replaceInSequences(), and Config.Process._replaceInTasks().
|
private |
Given a container of sequences or tasks, find the first sequence or task containing mod and return it. If none is found, return None
Definition at line 571 of file Config.py.
Referenced by Config.Process.__setattr__().
|
private |
Definition at line 561 of file Config.py.
References Config.Process.__setObjectLabel(), and l1ctLayer2EG_cff.id.
Referenced by Config.Process.__setattr__().
def Config.Process.__setattr__ | ( | self, | |
name, | |||
value | |||
) |
Definition at line 420 of file Config.py.
References Config.Process.__findFirstUsingModule(), Config.Process.__injectValidValue(), Config.Process.__isStrict, Config.Process.__updateMaxEvents(), Config.Process.__updateOptions(), Config.Process._delattrFromSetattr(), Config.Process._okToPlace(), Config.Process._replaceInConditionalTasks(), Config.Process._replaceInSchedule(), Config.Process._replaceInScheduleDirectly(), Config.Process._replaceInSequences(), Config.Process._replaceInTasks(), Config.Process.add_(), Config.Process.endpaths, Config.Process.finalpaths, Config.Process.paths, Config.Process.sequences, str, and Config.Process.tasks.
Referenced by Config.Process._findPreferred(), Config.Process.extend(), and GenObject.GenObject.setValue().
|
private |
Definition at line 393 of file Config.py.
References l1ctLayer2EG_cff.id, and str.
Referenced by Config.Process.__injectValidValue(), Config.Process._place(), and Config.Process.extend().
def Config.Process.__setstate__ | ( | self, | |
pkldict | |||
) |
Unpickling hook. Since cloneToObjectDict stores a hash of objects by their id() it needs to be updated when unpickling to use the new object id values instantiated during the unpickle.
Definition at line 192 of file Config.py.
References l1ctLayer2EG_cff.id, update, and contentValuesCheck.values.
|
private |
Definition at line 285 of file Config.py.
References Config.Process.defaultMaxEvents_().
Referenced by Config.Process.__setattr__().
|
private |
Definition at line 272 of file Config.py.
References Config.Process.defaultOptions_().
Referenced by Config.Process.__setattr__().
|
private |
Similar to __delattr__ but we need different behavior when called from __setattr__
Definition at line 629 of file Config.py.
References Config.Process._delHelper().
Referenced by Config.Process.__setattr__().
|
private |
Definition at line 584 of file Config.py.
References contentValuesCheck.values.
Referenced by Config.Process.__delattr__(), and Config.Process._delattrFromSetattr().
|
private |
Definition at line 906 of file Config.py.
References Config.Process.es_prefers_(), and contentValuesCheck.values.
Referenced by Config.Process.dumpConfig().
|
private |
Definition at line 817 of file Config.py.
Referenced by Config.Process.dumpConfig().
|
private |
Definition at line 829 of file Config.py.
Referenced by Config.Process.dumpConfig().
|
private |
Definition at line 823 of file Config.py.
Referenced by Config.Process.dumpConfig().
|
private |
Definition at line 1041 of file Config.py.
Referenced by Config.Process.dumpPython().
|
private |
Definition at line 918 of file Config.py.
Referenced by Config.Process.dumpPython().
|
private |
Definition at line 912 of file Config.py.
Referenced by Config.Process.dumpPython().
|
private |
Definition at line 1610 of file Config.py.
References psClasses.BuildTreeNode.__setattr__(), Config.Process.__setattr__(), and Config.FilteredStream.__setattr__.
Referenced by Config.Process.prefer().
|
private |
|
private |
|
private |
|
private |
Definition at line 1244 of file Config.py.
References Config.Process.endpaths_(), FastTimerService::PlotsPerProcess.endpaths_, Config.Process.finalpaths_(), join(), edm::MainParameterSet.paths_, edm::HLTGlobalStatus.paths_, heppy::TriggerBitChecker.paths_, edm::PathsAndConsumesOfModules.paths_, ProcessCallGraph::ProcessType.paths_, pat::TriggerEvent.paths_, HLTPerformanceInfo.paths_, Config.Process.paths_(), FastTimerService::PlotsPerProcess.paths_, EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, edm::PathsAndConsumesOfModules.schedule_, edm::SubProcess.schedule_, edm::EventProcessor.schedule_, Config.Process.schedule_(), and edm::test::TestProcessor.schedule_.
|
private |
|
private |
|
private |
Definition at line 975 of file Config.py.
Referenced by Config.Process.dumpPython(), and Config.Process.splitPython().
|
private |
Definition at line 652 of file Config.py.
References Config.Process.__isStrict.
Referenced by Config.Process.__setattr__(), and Config.Process._place().
|
private |
Definition at line 673 of file Config.py.
References Config.Process.__isStrict, Config.Process.__setObjectLabel(), and Config.Process._okToPlace().
Referenced by Config.Process._placeAccelerator(), Config.Process._placeAlias(), Config.Process._placeAnalyzer(), Config.Process._placeConditionalTask(), Config.Process._placeEndPath(), Config.Process._placeESPrefer(), Config.Process._placeESProducer(), Config.Process._placeESSource(), Config.Process._placeFilter(), Config.Process._placeFinalPath(), Config.Process._placeOutputModule(), Config.Process._placePath(), Config.Process._placeProducer(), Config.Process._placePSet(), Config.Process._placeSequence(), Config.Process._placeService(), Config.Process._placeSwitchProducer(), Config.Process._placeTask(), Config.Process._placeVPSet(), and Config.Process.setPartialSchedule_().
|
private |
Definition at line 756 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 727 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 689 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 724 of file Config.py.
References Config.Process._place(), and Config.Process._validateConditionalTask().
|
private |
Definition at line 698 of file Config.py.
References Config.Process._place(), Config.Process._validateSequence(), and ExceptionHandling.format_outerframe().
|
private |
Definition at line 717 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 715 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 719 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 687 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 705 of file Config.py.
References Config.Process._place(), Config.Process._validateSequence(), and ExceptionHandling.format_outerframe().
|
private |
Definition at line 741 of file Config.py.
Referenced by Config.Process.setLooper_().
|
private |
Definition at line 681 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 691 of file Config.py.
References Config.Process._place(), Config.Process._validateSequence(), and ExceptionHandling.format_outerframe().
|
private |
Definition at line 683 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 729 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 712 of file Config.py.
References Config.Process._place(), and Config.Process._validateSequence().
|
private |
Definition at line 751 of file Config.py.
References Config.Process._place().
|
private |
Allow the source to be referenced by 'source' or by type name
Definition at line 733 of file Config.py.
Referenced by Config.Process.setSource_().
|
private |
|
private |
Definition at line 685 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 721 of file Config.py.
References Config.Process._place(), and Config.Process._validateTask().
|
private |
Definition at line 731 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 1422 of file Config.py.
Referenced by Config.Process.prune().
|
private |
Definition at line 1182 of file Config.py.
References Config.Process.conditionaltasks, and contentValuesCheck.values.
Referenced by Config.Process.__delattr__(), and Config.Process.__setattr__().
|
private |
Definition at line 1186 of file Config.py.
References EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, edm::PathsAndConsumesOfModules.schedule_, edm::SubProcess.schedule_, edm::EventProcessor.schedule_, Config.Process.schedule_(), and edm::test::TestProcessor.schedule_.
Referenced by Config.Process.__delattr__(), and Config.Process.__setattr__().
|
private |
Definition at line 1192 of file Config.py.
References EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, edm::PathsAndConsumesOfModules.schedule_, edm::SubProcess.schedule_, edm::EventProcessor.schedule_, Config.Process.schedule_(), and edm::test::TestProcessor.schedule_.
Referenced by Config.Process.__delattr__(), and Config.Process.__setattr__().
|
private |
Definition at line 1161 of file Config.py.
References Config.Process.endpaths, Config.Process.finalpaths, Config.Process.paths, Config.Process.sequences, and contentValuesCheck.values.
Referenced by Config.Process.__delattr__(), and Config.Process.__setattr__().
|
private |
Definition at line 1178 of file Config.py.
References Config.Process.tasks, and contentValuesCheck.values.
Referenced by Config.Process.__delattr__(), and Config.Process.__setattr__().
|
private |
Definition at line 1047 of file Config.py.
Referenced by Config.Process.splitPython().
|
private |
Definition at line 928 of file Config.py.
Referenced by Config.Process.splitPython().
|
private |
|
private |
Definition at line 949 of file Config.py.
Referenced by Config.Process._placeEndPath(), Config.Process._placeFinalPath(), Config.Process._placePath(), and Config.Process._placeSequence().
|
private |
def Config.Process.add_ | ( | self, | |
value | |||
) |
Allows addition of components that do not have to have a label, e.g. Services
Definition at line 638 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 372 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.splitPython().
def Config.Process.analyzerNames | ( | self | ) |
Returns a string containing all the EDAnalyzer labels separated by a blank
Definition at line 182 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 301 of file Config.py.
Referenced by Config.Process.analyzerNames(), Config.Process.dumpConfig(), Config.Process.dumpPython(), Config.Process.prune(), and Config.Process.splitPython().
def Config.Process.conditionaltasks_ | ( | self | ) |
returns a dict of the conditionaltasks that have been added to the Process
Definition at line 329 of file Config.py.
|
static |
Definition at line 282 of file Config.py.
Referenced by Config.Process.__updateMaxEvents().
|
static |
|
static |
def Config.Process.dumpConfig | ( | self, | |
options = PrintOptions() |
|||
) |
return a string containing the equivalent process defined using the old configuration language
Definition at line 837 of file Config.py.
References dataset.Dataset.__name, genericValidation.ValidationWithPlotsSummaryBase.SummaryItem.__name, Config.Process._dumpConfigESPrefers(), Config.Process._dumpConfigNamedList(), Config.Process._dumpConfigOptionallyNamedList(), Config.Process._dumpConfigUnnamedList(), Config.Process.aliases_(), HLTMuonValidator.analyzers_, Config.Process.analyzers_(), Config.Process.endpaths_(), FastTimerService::PlotsPerProcess.endpaths_, Config.Process.es_producers_(), Config.Process.es_sources_(), pat::eventhypothesis::AndFilter.filters_, pat::eventhypothesis::OrFilter.filters_, HLTGenValHistCollPath.filters_, pat::TriggerEvent.filters_, TrigObjTnPHistColl::FilterSelector::FilterSet.filters_, FilterOR.filters_, Config.Process.filters_(), cms::DDFilteredView.filters_, FilterSelection.filters_, FilterSelections.filters_, Config.Process.finalpaths_(), mps_monitormerge.items, join(), Config.Process.looper_(), edm::EventProcessor.looper_, Config.Process.outputModules_(), edm::MainParameterSet.paths_, edm::HLTGlobalStatus.paths_, heppy::TriggerBitChecker.paths_, edm::PathsAndConsumesOfModules.paths_, ProcessCallGraph::ProcessType.paths_, pat::TriggerEvent.paths_, HLTPerformanceInfo.paths_, Config.Process.paths_(), FastTimerService::PlotsPerProcess.paths_, pf2pat::EventHypothesis.producers_, Config.Process.producers_(), Config.Process.psets, ConfigBuilder.ConfigBuilder.schedule, Config.Process.schedule, Config.Process.sequences_(), edm::ProcessDesc.services_, Config.Process.services_(), ecaldqm::DBWriterWorker.source_, HGCalTestPartialWaferRecHits.source_, L2MuonSeedGeneratorFromL1TkMu.source_, SiStripFedCablingBuilderFromDb.source_, TestPortableAnalyzer.source_, jsoncollector::DataPoint.source_, TestAlpakaAnalyzer.source_, sistrip::SpyEventMatcher.source_, ProcessCallGraph.source_, Config.Process.source_(), edm::InputSource::EventSourceSentry.source_, edm::InputSource::LumiSourceSentry.source_, edm::InputSource::RunSourceSentry.source_, edm::InputSource::ProcessBlockSourceSentry.source_, edm::SubProcess.subProcesses_, Config.Process.subProcesses_(), edm::EventProcessor.subProcesses_, Config.Process.switchProducers_(), and Config.Process.vpsets.
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 1053 of file Config.py.
References dataset.Dataset.__name, genericValidation.ValidationWithPlotsSummaryBase.SummaryItem.__name, Config.Process._dumpPython(), Config.Process._dumpPythonList(), Config.Process._dumpPythonSubProcesses(), Config.Process._itemsInDependencyOrder(), Config.Process.aliases_(), HLTMuonValidator.analyzers_, Config.Process.analyzers_(), Config.Process.conditionaltasks, Config.Process.endpaths_(), FastTimerService::PlotsPerProcess.endpaths_, Config.Process.es_prefers_(), Config.Process.es_producers_(), Config.Process.es_sources_(), pat::eventhypothesis::AndFilter.filters_, pat::eventhypothesis::OrFilter.filters_, HLTGenValHistCollPath.filters_, pat::TriggerEvent.filters_, TrigObjTnPHistColl::FilterSelector::FilterSet.filters_, FilterOR.filters_, Config.Process.filters_(), cms::DDFilteredView.filters_, FilterSelection.filters_, FilterSelections.filters_, Config.Process.finalpaths_(), join(), Config.Process.looper_(), edm::EventProcessor.looper_, Config.Process.outputModules_(), edm::MainParameterSet.paths_, edm::HLTGlobalStatus.paths_, heppy::TriggerBitChecker.paths_, edm::PathsAndConsumesOfModules.paths_, ProcessCallGraph::ProcessType.paths_, pat::TriggerEvent.paths_, HLTPerformanceInfo.paths_, Config.Process.paths_(), FastTimerService::PlotsPerProcess.paths_, Config.Process.processAccelerators_(), pf2pat::EventHypothesis.producers_, Config.Process.producers_(), Config.Process.psets, ConfigBuilder.ConfigBuilder.schedule, Config.Process.schedule, EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, edm::PathsAndConsumesOfModules.schedule_, edm::SubProcess.schedule_, edm::EventProcessor.schedule_, Config.Process.schedule_(), edm::test::TestProcessor.schedule_, Config.Process.sequences, edm::ProcessDesc.services_, Config.Process.services_(), ecaldqm::DBWriterWorker.source_, HGCalTestPartialWaferRecHits.source_, L2MuonSeedGeneratorFromL1TkMu.source_, SiStripFedCablingBuilderFromDb.source_, TestPortableAnalyzer.source_, jsoncollector::DataPoint.source_, TestAlpakaAnalyzer.source_, sistrip::SpyEventMatcher.source_, ProcessCallGraph.source_, Config.Process.source_(), edm::InputSource::EventSourceSentry.source_, edm::InputSource::LumiSourceSentry.source_, edm::InputSource::RunSourceSentry.source_, edm::InputSource::ProcessBlockSourceSentry.source_, edm::SubProcess.subProcesses_, Config.Process.subProcesses_(), edm::EventProcessor.subProcesses_, Config.Process.switchProducers_(), Config.Process.tasks, and Config.Process.vpsets.
Referenced by Modules.SwitchProducer.__addParameter(), Types._AllowedParameterTypes.__init__(), Mixins._ParameterTypeBase.__repr__(), Mixins._Parameterizable.__repr__(), Mixins._ValidatingParameterListBase.__repr__(), Types.VPSet.__repr__(), Mixins._Parameterizable.__setattr__(), Modules.SwitchProducer.__setattr__(), SequenceTypes.Schedule.__str__(), and Config.Process.splitPython().
def Config.Process.endpaths_ | ( | self | ) |
returns a dict of the endpaths that have been added to the Process
Definition at line 313 of file Config.py.
Referenced by Config.Process._insertPaths(), Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.splitPython().
def Config.Process.es_prefers_ | ( | self | ) |
returns a dict of the es_prefers that have been added to the Process
Definition at line 368 of file Config.py.
Referenced by Config.Process._dumpConfigESPrefers(), Config.Process.dumpPython(), and Config.Process.splitPython().
def Config.Process.es_producers_ | ( | self | ) |
returns a dict of the esproducers that have been added to the Process
Definition at line 360 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), Config.Process.prefer(), and Config.Process.splitPython().
def Config.Process.es_sources_ | ( | self | ) |
returns a the es_sources that have been added to the Process
Definition at line 364 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), Config.Process.prefer(), and Config.Process.splitPython().
def Config.Process.extend | ( | self, | |
other, | |||
items = () |
|||
) |
Look in other and find types that we can use
Definition at line 763 of file Config.py.
References psClasses.BuildTreeNode.__setattr__(), Config.Process.__setattr__(), Config.FilteredStream.__setattr__, Config.Process.__setObjectLabel(), Config.Process.add_(), DeadROC_duringRun.dir, SiStripCluster.extend(), svgfig.SVG.extend(), Config.Process.extend(), and l1ctLayer2EG_cff.id.
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 1429 of file Config.py.
References Config.Process.__init__(), and resolutioncreator_cfi.object.
def Config.Process.filterNames | ( | self | ) |
Returns a string containing all the EDFilter labels separated by a blank
Definition at line 185 of file Config.py.
References pat::eventhypothesis::AndFilter.filters_, pat::eventhypothesis::OrFilter.filters_, HLTGenValHistCollPath.filters_, pat::TriggerEvent.filters_, TrigObjTnPHistColl::FilterSelector::FilterSet.filters_, FilterOR.filters_, Config.Process.filters_(), cms::DDFilteredView.filters_, FilterSelection.filters_, FilterSelections.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 209 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), Config.Process.filterNames(), Config.Process.prune(), and Config.Process.splitPython().
def Config.Process.finalpaths_ | ( | self | ) |
returns a dict of the finalpaths that have been added to the Process
Definition at line 317 of file Config.py.
Referenced by Config.Process._insertPaths(), Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.splitPython().
def Config.Process.globalReplace | ( | self, | |
label, | |||
new | |||
) |
Replace the item with label 'label' by object 'new' in the process and all sequences/paths/tasks
def Config.Process.handleProcessAccelerators | ( | self, | |
parameterSet | |||
) |
Definition at line 1516 of file Config.py.
def Config.Process.isUsingModifier | ( | self, | |
mod | |||
) |
returns True if the Modifier is in used by this Process
def Config.Process.load | ( | self, | |
moduleName | |||
) |
Definition at line 759 of file Config.py.
References SiStripCluster.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 234 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.splitPython().
def Config.Process.name_ | ( | self | ) |
Definition at line 213 of file Config.py.
References dataset.Dataset.__name, and genericValidation.ValidationWithPlotsSummaryBase.SummaryItem.__name.
def Config.Process.outputModules_ | ( | self | ) |
returns a dict of the output modules that have been added to the Process
Definition at line 305 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.splitPython().
def Config.Process.pathNames | ( | self | ) |
Returns a string containing all the Path names separated by a blank
Definition at line 188 of file Config.py.
References join(), relativeConstraints.keys, edm::MainParameterSet.paths_, edm::HLTGlobalStatus.paths_, heppy::TriggerBitChecker.paths_, edm::PathsAndConsumesOfModules.paths_, ProcessCallGraph::ProcessType.paths_, pat::TriggerEvent.paths_, HLTPerformanceInfo.paths_, Config.Process.paths_(), and FastTimerService::PlotsPerProcess.paths_.
def Config.Process.paths_ | ( | self | ) |
returns a dict of the paths that have been added to the Process
Definition at line 309 of file Config.py.
Referenced by Config.Process._insertPaths(), Config.Process.dumpConfig(), Config.Process.dumpPython(), Config.Process.pathNames(), and Config.Process.splitPython().
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 1581 of file Config.py.
References Config.Process._findPreferred(), Config.Process.es_producers_(), and Config.Process.es_sources_().
def Config.Process.processAccelerators_ | ( | self | ) |
returns a dict of the ProcessAccelerators that have been added to the Process
Definition at line 356 of file Config.py.
Referenced by Config.Process.dumpPython().
def Config.Process.producerNames | ( | self | ) |
Returns a string containing all the EDProducer labels separated by a blank
Definition at line 176 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 220 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), Config.Process.producerNames(), Config.Process.prune(), and Config.Process.splitPython().
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. The keepUnresolvedSequencePlaceholders keeps also unresolved TaskPlaceholders.
Definition at line 1351 of file Config.py.
References Config.Process._pruneModules(), HLTMuonValidator.analyzers_, Config.Process.analyzers_(), Config.Process.endpaths, pat::eventhypothesis::AndFilter.filters_, pat::eventhypothesis::OrFilter.filters_, HLTGenValHistCollPath.filters_, pat::TriggerEvent.filters_, TrigObjTnPHistColl::FilterSelector::FilterSet.filters_, FilterOR.filters_, Config.Process.filters_(), cms::DDFilteredView.filters_, FilterSelection.filters_, FilterSelections.filters_, Config.Process.finalpaths, join(), Config.Process.paths, print(), pf2pat::EventHypothesis.producers_, Config.Process.producers_(), Json::Path.resolve(), Config.Process.resolve(), EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, edm::PathsAndConsumesOfModules.schedule_, edm::SubProcess.schedule_, edm::EventProcessor.schedule_, Config.Process.schedule_(), edm::test::TestProcessor.schedule_, Config.Process.sequences, Config.Process.switchProducers_(), Config.Process.tasks, contentValuesCheck.values, 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 376 of file Config.py.
def Config.Process.resolve | ( | self, | |
keepUnresolvedSequencePlaceholders = False |
|||
) |
Definition at line 1340 of file Config.py.
References Config.Process.endpaths, Config.Process.finalpaths, Config.Process.paths, EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, edm::PathsAndConsumesOfModules.schedule_, edm::SubProcess.schedule_, edm::EventProcessor.schedule_, Config.Process.schedule_(), edm::test::TestProcessor.schedule_, and contentValuesCheck.values.
Referenced by Config.Process.prune().
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 333 of file Config.py.
Referenced by Config.Process._insertPaths(), Config.Process._replaceInSchedule(), Config.Process._replaceInScheduleDirectly(), Config.Process.dumpPython(), Config.Process.prune(), Config.Process.resolve(), and Config.Process.splitPython().
def Config.Process.sequences_ | ( | self | ) |
returns a dict of the sequences that have been added to the Process
Definition at line 321 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 352 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.splitPython().
def Config.Process.setLooper_ | ( | self, | |
lpr | |||
) |
Definition at line 237 of file Config.py.
References Config.Process._placeLooper().
def Config.Process.setName_ | ( | self, | |
name | |||
) |
def Config.Process.setPartialSchedule_ | ( | self, | |
sch, | |||
label | |||
) |
Definition at line 336 of file Config.py.
References Config.Process._place(), and Config.Process.setSchedule_().
def Config.Process.setSchedule_ | ( | self, | |
sch | |||
) |
Definition at line 341 of file Config.py.
References str.
Referenced by Config.Process.setPartialSchedule_().
def Config.Process.setSource_ | ( | self, | |
src | |||
) |
Definition at line 231 of file Config.py.
References Config.Process._placeSource().
def Config.Process.setStrict | ( | self, | |
value | |||
) |
Definition at line 171 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 228 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.splitPython().
def Config.Process.splitPython | ( | self, | |
options = PrintOptions() |
|||
) |
return a map of file names to python configuration fragments
Definition at line 1090 of file Config.py.
References dataset.Dataset.__name, genericValidation.ValidationWithPlotsSummaryBase.SummaryItem.__name, Config.Process._itemsInDependencyOrder(), Config.Process._splitPython(), Config.Process._splitPythonList(), Config.Process.aliases_(), HLTMuonValidator.analyzers_, Config.Process.analyzers_(), Config.Process.dumpPython(), Config.Process.endpaths_(), FastTimerService::PlotsPerProcess.endpaths_, Config.Process.es_prefers_(), Config.Process.es_producers_(), Config.Process.es_sources_(), pat::eventhypothesis::AndFilter.filters_, pat::eventhypothesis::OrFilter.filters_, HLTGenValHistCollPath.filters_, pat::TriggerEvent.filters_, TrigObjTnPHistColl::FilterSelector::FilterSet.filters_, FilterOR.filters_, Config.Process.filters_(), cms::DDFilteredView.filters_, FilterSelection.filters_, FilterSelections.filters_, Config.Process.finalpaths_(), join(), Config.Process.looper_(), edm::EventProcessor.looper_, Config.Process.outputModules_(), edm::MainParameterSet.paths_, edm::HLTGlobalStatus.paths_, heppy::TriggerBitChecker.paths_, edm::PathsAndConsumesOfModules.paths_, ProcessCallGraph::ProcessType.paths_, pat::TriggerEvent.paths_, HLTPerformanceInfo.paths_, Config.Process.paths_(), FastTimerService::PlotsPerProcess.paths_, pf2pat::EventHypothesis.producers_, Config.Process.producers_(), Config.Process.psets, ConfigBuilder.ConfigBuilder.schedule, Config.Process.schedule, EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, edm::PathsAndConsumesOfModules.schedule_, edm::SubProcess.schedule_, edm::EventProcessor.schedule_, Config.Process.schedule_(), edm::test::TestProcessor.schedule_, Config.Process.sequences, edm::ProcessDesc.services_, Config.Process.services_(), ecaldqm::DBWriterWorker.source_, HGCalTestPartialWaferRecHits.source_, L2MuonSeedGeneratorFromL1TkMu.source_, SiStripFedCablingBuilderFromDb.source_, TestPortableAnalyzer.source_, jsoncollector::DataPoint.source_, TestAlpakaAnalyzer.source_, sistrip::SpyEventMatcher.source_, ProcessCallGraph.source_, Config.Process.source_(), edm::InputSource::EventSourceSentry.source_, edm::InputSource::LumiSourceSentry.source_, edm::InputSource::RunSourceSentry.source_, edm::InputSource::ProcessBlockSourceSentry.source_, edm::SubProcess.subProcesses_, Config.Process.subProcesses_(), edm::EventProcessor.subProcesses_, Config.Process.switchProducers_(), Config.Process.tasks, and Config.Process.vpsets.
def Config.Process.subProcesses_ | ( | self | ) |
returns a list of the subProcesses that have been added to the Process
Definition at line 297 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.splitPython().
def Config.Process.switchProducerNames | ( | self | ) |
Returns a string containing all the SwitchProducer labels separated by a blank
Definition at line 179 of file Config.py.
References join(), relativeConstraints.keys, and Config.Process.switchProducers_().
def Config.Process.switchProducers_ | ( | self | ) |
returns a dict of the SwitchProducers that have been added to the Process
Definition at line 224 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), Config.Process.prune(), Config.Process.splitPython(), and Config.Process.switchProducerNames().
def Config.Process.tasks_ | ( | self | ) |
returns a dict of the tasks that have been added to the Process
Definition at line 325 of file Config.py.
def Config.Process.validate | ( | self | ) |
def Config.Process.vpsets_ | ( | self | ) |
returns a dict of the VPSets that have been added to the Process
Definition at line 380 of file Config.py.
Referenced by Config.Process.prune().
|
private |
Definition at line 150 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 1445 of file Config.py.
Referenced by Config.ProcessFragment.__delattr__(), Config.ProcessForProcessAccelerator.__delattr__(), Config.ProcessFragment.__dir__(), Config.ProcessForProcessAccelerator.__getattr__(), Config.ProcessFragment.__getattribute__(), Config.ProcessFragment.__setattr__(), Config.ProcessForProcessAccelerator.__setattr__(), Config.ProcessForProcessAccelerator.add_(), Config.SubProcess.dumpPython(), Config.SubProcess.getProcessName(), Config.SubProcess.getSubProcessPSet(), and Config.SubProcess.process().
|
static |
Definition at line 304 of file Config.py.
Referenced by looper.Looper.loop(), and looper.Looper.write().
|
static |
Definition at line 332 of file Config.py.
Referenced by Config.Process._replaceInConditionalTasks(), and Config.Process.dumpPython().
|
static |
Definition at line 316 of file Config.py.
Referenced by Config.Process.__setattr__(), Config.Process._replaceInSequences(), TestProcess.TestProcess.fillProcessDesc(), Config.Process.prune(), and Config.Process.resolve().
|
static |
|
static |
|
static |
|
static |
Definition at line 320 of file Config.py.
Referenced by Config.Process.__setattr__(), Config.Process._replaceInSequences(), Config.Process.prune(), and Config.Process.resolve().
|
static |
|
static |
|
static |
Definition at line 312 of file Config.py.
Referenced by Config.Process.__setattr__(), Config.Process._replaceInSequences(), TestProcess.TestProcess.fillProcessDesc(), Config.Process.prune(), and Config.Process.resolve().
Definition at line 219 of file Config.py.
Referenced by adaptToRunAtMiniAOD.adaptToRunAtMiniAOD.__init__(), adaptToRunAtMiniAOD.adaptToRunAtMiniAOD.convertModuleToMiniAODInput(), runTauIdMVA.TauIDEmbedder.loadMVA_WPs_run2_2017(), runTauIdMVA.TauIDEmbedder.processDeepProducer(), runTauIdMVA.TauIDEmbedder.runTauID(), and runTauIdMVA.TauIDEmbedder.tauIDMVAinputs().
|
static |
|
static |
|
static |
Definition at line 379 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.splitPython().
|
static |
Definition at line 351 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.splitPython().
|
static |
Definition at line 324 of file Config.py.
Referenced by Config.Process.__setattr__(), Config.Process._replaceInSequences(), Config.Process.dumpPython(), Config.Process.prune(), and Config.Process.splitPython().
|
static |
Definition at line 355 of file Config.py.
Referenced by config.Config.__str__(), looper.Setup.close(), and SequenceVisitors.NodeVisitor.enter().
|
static |
Definition at line 233 of file Config.py.
Referenced by confdb.HLTProcess.build_source(), and confdb.HLTProcess.specificCustomize().
|
static |
|
static |
|
static |
Definition at line 328 of file Config.py.
Referenced by Config.Process.__setattr__(), Config.Process._replaceInTasks(), Config.Process.dumpPython(), Config.Process.prune(), and Config.Process.splitPython().
|
static |
Definition at line 383 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.splitPython().