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 | 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 | globalReplace (self, label, new) |
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 | 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 | |
maxEvents | |
maxLuminosityBlocks | |
options | |
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') | |
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 | __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 | _placeAlias (self, name, mod) |
def | _placeAnalyzer (self, name, mod) |
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 | _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 | _replaceInSchedule (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 | _validateSequence (self, sequence, label) |
def | _validateTask (self, task, label) |
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 104 of file Config.py.
Referenced by Config.Process.fillProcessDesc().
def Config.Process.__delattr__ | ( | self, | |
name | |||
) |
Definition at line 538 of file Config.py.
References Config.Process._delHelper(), Config.Process._replaceInSchedule(), 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 508 of file Config.py.
References list().
Referenced by Config.Process.__setattr__().
def Config.Process.__setattr__ | ( | self, | |
name, | |||
value | |||
) |
Definition at line 376 of file Config.py.
References Config.Process.__findFirstUsingModule(), Config.Process.__isStrict, Config.Process.__setObjectLabel(), Config.Process.__updateMaxEvents(), Config.Process.__updateOptions(), Config.Process._delattrFromSetattr(), Config.Process._okToPlace(), Config.Process._replaceInSchedule(), Config.Process._replaceInSequences(), Config.Process._replaceInTasks(), Config.Process.add_(), Config.Process.endpaths, triggerObjects_cff.id, cms::DDSpecPar.paths, 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 349 of file Config.py.
References triggerObjects_cff.id, and str.
Referenced by Config.Process.__setattr__(), 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 165 of file Config.py.
References triggerObjects_cff.id, update, and contentValuesCheck.values.
|
private |
Definition at line 253 of file Config.py.
References Config.Process.defaultMaxEvents_().
Referenced by Config.Process.__setattr__().
|
private |
Definition at line 240 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 563 of file Config.py.
References Config.Process._delHelper().
Referenced by Config.Process.__setattr__().
|
private |
Definition at line 521 of file Config.py.
References contentValuesCheck.values.
Referenced by Config.Process.__delattr__(), and Config.Process._delattrFromSetattr().
|
private |
Definition at line 825 of file Config.py.
References Config.Process.es_prefers_().
Referenced by Config.Process.dumpConfig().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 1378 of file Config.py.
References psClasses.BuildTreeNode.__setattr__(), Config.Process.__setattr__(), and Config.FilteredStream.__setattr__.
|
private |
|
private |
|
private |
|
private |
Definition at line 1127 of file Config.py.
References Config.Process.endpaths_(), FastTimerService::PlotsPerProcess.endpaths_, 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_, Config.Process.schedule_(), edm::SubProcess.schedule_, edm::test::TestProcessor.schedule_, and edm::EventProcessor.schedule_.
|
private |
|
private |
|
private |
Definition at line 886 of file Config.py.
Referenced by Config.Process.dumpPython(), and Config.Process.splitPython().
|
private |
Definition at line 587 of file Config.py.
References Config.Process.__isStrict.
Referenced by Config.Process.__setattr__(), and Config.Process._place().
|
private |
Definition at line 608 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._placeSwitchProducer(), Config.Process._placeTask(), Config.Process._placeVPSet(), and Config.Process.setPartialSchedule_().
|
private |
Definition at line 652 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 624 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 633 of file Config.py.
References Config.Process._place(), Config.Process._validateSequence(), and ExceptionHandling.format_outerframe().
|
private |
Definition at line 645 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 643 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 647 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 622 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 666 of file Config.py.
Referenced by Config.Process.setLooper_().
|
private |
Definition at line 616 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 626 of file Config.py.
References Config.Process._place(), Config.Process._validateSequence(), and ExceptionHandling.format_outerframe().
|
private |
Definition at line 618 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 654 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 640 of file Config.py.
References Config.Process._place(), and Config.Process._validateSequence().
|
private |
|
private |
Allow the source to be referenced by 'source' or by type name
Definition at line 658 of file Config.py.
Referenced by Config.Process.setSource_().
|
private |
|
private |
Definition at line 620 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 649 of file Config.py.
References Config.Process._place(), and Config.Process._validateTask().
|
private |
Definition at line 656 of file Config.py.
References Config.Process._place().
|
private |
|
private |
Definition at line 1075 of file Config.py.
References EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, edm::PathsAndConsumesOfModules.schedule_, Config.Process.schedule_(), edm::SubProcess.schedule_, edm::test::TestProcessor.schedule_, and edm::EventProcessor.schedule_.
Referenced by Config.Process.__delattr__(), and Config.Process.__setattr__().
|
private |
Definition at line 1056 of file Config.py.
References Config.Process.endpaths, cms::DDSpecPar.paths, Config.Process.paths, and Config.Process.sequences.
Referenced by Config.Process.__delattr__(), and Config.Process.__setattr__().
|
private |
Definition at line 1071 of file Config.py.
References Config.Process.tasks.
Referenced by Config.Process.__delattr__(), and Config.Process.__setattr__().
|
private |
|
private |
|
private |
Definition at line 868 of file Config.py.
Referenced by Config.Process._placeEndPath(), 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 572 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 328 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 155 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 269 of file Config.py.
Referenced by Config.Process.analyzerNames(), Config.Process.dumpConfig(), Config.Process.dumpPython(), Config.Process.prune(), and Config.Process.splitPython().
|
static |
|
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 759 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_, pat::TriggerEvent.filters_, TrigObjTnPHistColl::FilterSelector::FilterSet.filters_, FilterOR.filters_, Config.Process.filters_(), cms::DDFilteredView.filters_, FilterSelection.filters_, FilterSelections.filters_, 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_, SiStripFedCablingBuilderFromDb.source_, jsoncollector::DataPoint.source_, sistrip::SpyEventMatcher.source_, ProcessCallGraph.source_, Config.Process.source_(), edm::InputSource::EventSourceSentry.source_, edm::InputSource::LumiSourceSentry.source_, edm::InputSource::RunSourceSentry.source_, Config.Process.subProcesses_(), edm::SubProcess.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 955 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.endpaths_(), FastTimerService::PlotsPerProcess.endpaths_, Config.Process.es_prefers_(), Config.Process.es_producers_(), Config.Process.es_sources_(), pat::eventhypothesis::AndFilter.filters_, pat::eventhypothesis::OrFilter.filters_, pat::TriggerEvent.filters_, TrigObjTnPHistColl::FilterSelector::FilterSet.filters_, FilterOR.filters_, Config.Process.filters_(), cms::DDFilteredView.filters_, FilterSelection.filters_, FilterSelections.filters_, 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_, Config.Process.schedule_(), edm::SubProcess.schedule_, edm::test::TestProcessor.schedule_, edm::EventProcessor.schedule_, Config.Process.sequences, edm::ProcessDesc.services_, Config.Process.services_(), ecaldqm::DBWriterWorker.source_, SiStripFedCablingBuilderFromDb.source_, jsoncollector::DataPoint.source_, sistrip::SpyEventMatcher.source_, ProcessCallGraph.source_, Config.Process.source_(), edm::InputSource::EventSourceSentry.source_, edm::InputSource::LumiSourceSentry.source_, edm::InputSource::RunSourceSentry.source_, Config.Process.subProcesses_(), edm::SubProcess.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 281 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 324 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 316 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), 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 320 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.splitPython().
def Config.Process.extend | ( | self, | |
other, | |||
items = () |
|||
) |
Look in other and find types that we can use
Definition at line 685 of file Config.py.
References psClasses.BuildTreeNode.__setattr__(), Config.Process.__setattr__(), Config.FilteredStream.__setattr__, Config.Process.__setObjectLabel(), Config.Process.add_(), DeadROC_duringRun.dir, svgfig.SVG.extend(), Config.Process.extend(), and triggerObjects_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 1263 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 158 of file Config.py.
References pat::eventhypothesis::AndFilter.filters_, pat::eventhypothesis::OrFilter.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 182 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.globalReplace | ( | self, | |
label, | |||
new | |||
) |
Replace the item with label 'label' by object 'new' in the process and all sequences/paths/tasks
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 681 of file Config.py.
References 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 207 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.splitPython().
def Config.Process.name_ | ( | self | ) |
Definition at line 186 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 273 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 161 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 277 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 1349 of file Config.py.
def Config.Process.producerNames | ( | self | ) |
Returns a string containing all the EDProducer labels separated by a blank
Definition at line 149 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 193 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 1190 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_, TrigObjTnPHistColl::FilterSelector::FilterSet.filters_, FilterOR.filters_, Config.Process.filters_(), cms::DDFilteredView.filters_, FilterSelection.filters_, FilterSelections.filters_, join(), list(), cms::DDSpecPar.paths, Config.Process.paths, edm.print(), pf2pat::EventHypothesis.producers_, Config.Process.producers_(), Json::Path.resolve(), Config.Process.resolve(), EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, edm::PathsAndConsumesOfModules.schedule_, Config.Process.schedule_(), edm::SubProcess.schedule_, edm::test::TestProcessor.schedule_, edm::EventProcessor.schedule_, Config.Process.sequences, Config.Process.switchProducers_(), Config.Process.tasks, and Config.Process.vpsets_().
Referenced by dirstructure.Directory.prune().
def Config.Process.psets_ | ( | self | ) |
def Config.Process.resolve | ( | self, | |
keepUnresolvedSequencePlaceholders = False |
|||
) |
Definition at line 1181 of file Config.py.
References Config.Process.endpaths, cms::DDSpecPar.paths, Config.Process.paths, EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, edm::PathsAndConsumesOfModules.schedule_, Config.Process.schedule_(), edm::SubProcess.schedule_, edm::test::TestProcessor.schedule_, and edm::EventProcessor.schedule_.
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 293 of file Config.py.
Referenced by Config.Process._insertPaths(), Config.Process._replaceInSchedule(), 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 285 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 312 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 210 of file Config.py.
References Config.Process._placeLooper().
def Config.Process.setName_ | ( | self, | |
name | |||
) |
def Config.Process.setPartialSchedule_ | ( | self, | |
sch, | |||
label | |||
) |
Definition at line 296 of file Config.py.
References Config.Process._place(), and Config.Process.setSchedule_().
def Config.Process.setSchedule_ | ( | self, | |
sch | |||
) |
Definition at line 301 of file Config.py.
References str.
Referenced by Config.Process.setPartialSchedule_().
def Config.Process.setSource_ | ( | self, | |
src | |||
) |
Definition at line 204 of file Config.py.
References Config.Process._placeSource().
def Config.Process.setStrict | ( | self, | |
value | |||
) |
Definition at line 144 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 201 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 989 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_, pat::TriggerEvent.filters_, TrigObjTnPHistColl::FilterSelector::FilterSet.filters_, FilterOR.filters_, Config.Process.filters_(), cms::DDFilteredView.filters_, FilterSelection.filters_, FilterSelections.filters_, 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_, Config.Process.schedule_(), edm::SubProcess.schedule_, edm::test::TestProcessor.schedule_, edm::EventProcessor.schedule_, Config.Process.sequences, edm::ProcessDesc.services_, Config.Process.services_(), ecaldqm::DBWriterWorker.source_, SiStripFedCablingBuilderFromDb.source_, jsoncollector::DataPoint.source_, sistrip::SpyEventMatcher.source_, ProcessCallGraph.source_, Config.Process.source_(), edm::InputSource::EventSourceSentry.source_, edm::InputSource::LumiSourceSentry.source_, edm::InputSource::RunSourceSentry.source_, Config.Process.subProcesses_(), edm::SubProcess.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 265 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 152 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 197 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 | ) |
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 336 of file Config.py.
Referenced by Config.Process.prune().
|
private |
Definition at line 136 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 1279 of file Config.py.
Referenced by Config.ProcessFragment.__delattr__(), Config.ProcessFragment.__dir__(), Config.ProcessFragment.__getattribute__(), Config.ProcessFragment.__setattr__(), Config.SubProcess.dumpPython(), Config.SubProcess.getProcessName(), Config.SubProcess.getSubProcessPSet(), and Config.SubProcess.process().
Config.Process.options |
Definition at line 138 of file Config.py.
Referenced by betterConfigParser.BetterConfigParser.__updateDict(), confdb.HLTProcess.buildOptions(), CrabHelper.CrabHelper.check_crabtask(), betterConfigParser.BetterConfigParser.checkInput(), CrabHelper.CrabHelper.crab_config_filename(), CrabHelper.CrabHelper.crab_config_filepath(), CrabHelper.CrabHelper.crab_taskname(), CrabHelper.CrabHelper.fill_options_from_crab_config(), confdb.HLTProcess.fixPrescales(), confdb.HLTProcess.getRawConfigurationFromDB(), confdb.HLTProcess.getSetupConfigurationFromDB(), edmIntegrityCheck.IntegrityCheck.listFiles(), production_tasks.MonitorJobs.monitor(), edmIntegrityCheck.IntegrityCheck.query(), production_tasks.BaseDataset.query(), edmIntegrityCheck.IntegrityCheck.report(), cmsswPreprocessor.CmsswPreprocessor.run(), production_tasks.CheckDatasetExists.run(), production_tasks.BaseDataset.run(), production_tasks.GenerateMask.run(), production_tasks.CreateJobDirectory.run(), production_tasks.SourceCFG.run(), production_tasks.FullCFG.run(), production_tasks.WriteToDatasets.run(), production_tasks.RunCMSBatch.run(), production_tasks.MonitorJobs.run(), production_tasks.CheckJobStatus.run(), production_tasks.WriteJobReport.run(), production_tasks.CleanJobFiles.run(), edmIntegrityCheck.IntegrityCheck.structured(), CrabHelper.CrabHelper.submit_crab_task(), edmIntegrityCheck.IntegrityCheck.test(), and CrabHelper.CrabHelper.write_crabConfig().
|
static |
Definition at line 272 of file Config.py.
Referenced by looper.Looper.loop(), and looper.Looper.write().
|
static |
Definition at line 284 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 |
|
static |
|
static |
Definition at line 280 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 192 of file Config.py.
Referenced by runTauIdMVA.TauIDEmbedder.loadMVA_WPs_run2_2017(), runTauIdMVA.TauIDEmbedder.processDeepProducer(), runTauIdMVA.TauIDEmbedder.runTauID(), and runTauIdMVA.TauIDEmbedder.tauIDMVAinputs().
|
static |
|
static |
Definition at line 335 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.splitPython().
|
static |
Definition at line 311 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.splitPython().
|
static |
Definition at line 288 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 315 of file Config.py.
Referenced by config.Config.__str__(), looper.Setup.close(), and SequenceVisitors.NodeVisitor.enter().
|
static |
Definition at line 206 of file Config.py.
Referenced by confdb.HLTProcess.build_source(), and confdb.HLTProcess.specificCustomize().
|
static |
|
static |
|
static |
Definition at line 292 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 339 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.splitPython().