Public Member Functions | |
def | __delattr__ |
def | __init__ |
def | __setattr__ |
def | __setstate__ |
def | add_ |
def | addSubProcess |
def | aliases_ |
def | analyzerNames |
def | analyzers_ |
def | dumpConfig |
def | dumpPython |
def | endpaths_ |
def | es_prefers_ |
def | es_producers_ |
def | es_sources_ |
def | extend |
def | fillProcessDesc |
def | filterNames |
def | filters_ |
def | finalpaths_ |
def | globalReplace |
def | handleProcessAccelerators |
def | isUsingModifier |
def | load |
def | looper_ |
def | name_ |
def | outputModules_ |
def | pathNames |
def | paths_ |
def | prefer |
def | processAccelerators_ |
def | producerNames |
def | producers_ |
def | prune |
def | psets_ |
def | resolve |
def | schedule_ |
def | sequences_ |
def | services_ |
def | setLooper_ |
def | setName_ |
def | setPartialSchedule_ |
def | setSchedule_ |
def | setSource_ |
def | setStrict |
def | source_ |
def | splitPython |
def | subProcesses_ |
def | switchProducerNames |
def | switchProducers_ |
def | tasks_ |
def | validate |
def | vpsets_ |
Static Public Member Functions | |
def | defaultMaxEvents_ |
def | defaultMaxLuminosityBlocks_ |
def | defaultOptions_ |
Public Attributes | |
maxEvents | |
maxLuminosityBlocks | |
MessageLogger | |
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") | |
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 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 565 of file Config.py.
References Config.Process._delHelper(), 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 535 of file Config.py.
Referenced by Config.Process.__setattr__().
def Config.Process.__setattr__ | ( | self, | |
name, | |||
value | |||
) |
Definition at line 394 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._replaceInScheduleDirectly(), Config.Process._replaceInSequences(), Config.Process._replaceInTasks(), Config.Process.add_(), Config.Process.endpaths, Config.Process.finalpaths, gpuClustering.id, Config.Process.paths, Config.Process.sequences, str, and Config.Process.tasks.
Referenced by Config.Process._findPreferred(), and Config.Process.extend().
|
private |
Definition at line 367 of file Config.py.
References gpuClustering.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 172 of file Config.py.
References gpuClustering.id.
|
private |
Definition at line 263 of file Config.py.
References Config.Process.defaultMaxEvents_().
Referenced by Config.Process.__setattr__().
|
private |
Definition at line 250 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 592 of file Config.py.
References Config.Process._delHelper().
Referenced by Config.Process.__setattr__().
|
private |
Definition at line 548 of file Config.py.
Referenced by Config.Process.__delattr__(), and Config.Process._delattrFromSetattr().
|
private |
Definition at line 867 of file Config.py.
References Config.Process.es_prefers_(), and makeHLTPrescaleTable.values.
Referenced by Config.Process.dumpConfig().
|
private |
|
private |
Definition at line 790 of file Config.py.
Referenced by Config.Process.dumpConfig().
|
private |
|
private |
|
private |
Definition at line 879 of file Config.py.
Referenced by Config.Process.dumpPython().
|
private |
|
private |
Definition at line 1516 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 1183 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_, Config.Process.schedule_(), edm::EventProcessor.schedule_, and edm::test::TestProcessor.schedule_.
|
private |
|
private |
Definition at line 1159 of file Config.py.
|
private |
Definition at line 928 of file Config.py.
Referenced by Config.Process.dumpPython(), and Config.Process.splitPython().
|
private |
Definition at line 616 of file Config.py.
References Config.Process.__isStrict.
Referenced by Config.Process.__setattr__(), and Config.Process._place().
|
private |
Definition at line 637 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._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 717 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 688 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 653 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 662 of file Config.py.
References Config.Process._place(), Config.Process._validateSequence(), and ExceptionHandling.format_outerframe().
|
private |
Definition at line 681 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 679 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 683 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 651 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 669 of file Config.py.
References Config.Process._place(), Config.Process._validateSequence(), and ExceptionHandling.format_outerframe().
|
private |
Definition at line 702 of file Config.py.
Referenced by Config.Process.setLooper_().
|
private |
Definition at line 645 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 655 of file Config.py.
References Config.Process._place(), Config.Process._validateSequence(), and ExceptionHandling.format_outerframe().
|
private |
Definition at line 647 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 690 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 676 of file Config.py.
References Config.Process._place(), and Config.Process._validateSequence().
|
private |
Definition at line 712 of file Config.py.
References Config.Process._place().
|
private |
Allow the source to be referenced by 'source' or by type name
Definition at line 694 of file Config.py.
Referenced by Config.Process.setSource_().
|
private |
|
private |
Definition at line 649 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 685 of file Config.py.
References Config.Process._place(), and Config.Process._validateTask().
|
private |
Definition at line 692 of file Config.py.
References Config.Process._place().
|
private |
|
private |
Definition at line 1125 of file Config.py.
References EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, edm::PathsAndConsumesOfModules.schedule_, edm::SubProcess.schedule_, Config.Process.schedule_(), edm::EventProcessor.schedule_, and edm::test::TestProcessor.schedule_.
Referenced by Config.Process.__delattr__(), and Config.Process.__setattr__().
|
private |
Definition at line 1131 of file Config.py.
References EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, edm::PathsAndConsumesOfModules.schedule_, edm::SubProcess.schedule_, Config.Process.schedule_(), edm::EventProcessor.schedule_, and edm::test::TestProcessor.schedule_.
Referenced by Config.Process.__delattr__(), and Config.Process.__setattr__().
|
private |
Definition at line 1104 of file Config.py.
Referenced by Config.Process.__delattr__(), and Config.Process.__setattr__().
|
private |
Definition at line 1121 of file Config.py.
Referenced by Config.Process.__delattr__(), and Config.Process.__setattr__().
|
private |
|
private |
Definition at line 889 of file Config.py.
Referenced by Config.Process.splitPython().
|
private |
Definition at line 910 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 601 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 346 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 162 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 279 of file Config.py.
Referenced by Config.Process.analyzerNames(), Config.Process.dumpConfig(), Config.Process.dumpPython(), Config.Process.prune(), and Config.Process.splitPython().
|
static |
Definition at line 260 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 798 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_, 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_(), ConfigBuilder.ConfigBuilder.schedule, Config.Process.schedule, Config.Process.sequences_(), edm::ProcessDesc.services_, Config.Process.services_(), ecaldqm::DBWriterWorker.source_, L2MuonSeedGeneratorFromL1TkMu.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_, edm::InputSource::ProcessBlockSourceSentry.source_, Config.Process.subProcesses_(), edm::SubProcess.subProcesses_, edm::EventProcessor.subProcesses_, and Config.Process.switchProducers_().
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 997 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_, 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, EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, edm::PathsAndConsumesOfModules.schedule_, edm::SubProcess.schedule_, Config.Process.schedule_(), edm::EventProcessor.schedule_, edm::test::TestProcessor.schedule_, Config.Process.sequences, edm::ProcessDesc.services_, Config.Process.services_(), ecaldqm::DBWriterWorker.source_, L2MuonSeedGeneratorFromL1TkMu.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_, edm::InputSource::ProcessBlockSourceSentry.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 291 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 342 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 334 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 338 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 724 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 gpuClustering.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 1359 of file Config.py.
References Config.Process.__init__().
def Config.Process.filterNames | ( | self | ) |
Returns a string containing all the EDFilter labels separated by a blank
Definition at line 165 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 189 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 295 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 | |||
) |
def Config.Process.handleProcessAccelerators | ( | self, | |
parameterSet | |||
) |
Definition at line 1446 of file Config.py.
def Config.Process.isUsingModifier | ( | self, | |
mod | |||
) |
def Config.Process.load | ( | self, | |
moduleName | |||
) |
Definition at line 720 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 214 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.splitPython().
def Config.Process.name_ | ( | self | ) |
Definition at line 193 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 283 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 168 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 287 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 1487 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 330 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 156 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 200 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 1281 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_, 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_, Config.Process.schedule_(), edm::EventProcessor.schedule_, edm::test::TestProcessor.schedule_, Config.Process.sequences, Config.Process.switchProducers_(), Config.Process.tasks, 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 350 of file Config.py.
def Config.Process.resolve | ( | self, | |
keepUnresolvedSequencePlaceholders = False |
|||
) |
Definition at line 1270 of file Config.py.
References EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, edm::PathsAndConsumesOfModules.schedule_, edm::SubProcess.schedule_, Config.Process.schedule_(), edm::EventProcessor.schedule_, and edm::test::TestProcessor.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 307 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 299 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 326 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 217 of file Config.py.
References Config.Process._placeLooper().
def Config.Process.setName_ | ( | self, | |
name | |||
) |
def Config.Process.setPartialSchedule_ | ( | self, | |
sch, | |||
label | |||
) |
Definition at line 310 of file Config.py.
References Config.Process._place(), and Config.Process.setSchedule_().
def Config.Process.setSchedule_ | ( | self, | |
sch | |||
) |
Definition at line 315 of file Config.py.
References str.
Referenced by Config.Process.setPartialSchedule_().
def Config.Process.setSource_ | ( | self, | |
src | |||
) |
Definition at line 211 of file Config.py.
References Config.Process._placeSource().
def Config.Process.setStrict | ( | self, | |
value | |||
) |
Definition at line 151 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 208 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 1033 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_, 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, EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, edm::PathsAndConsumesOfModules.schedule_, edm::SubProcess.schedule_, Config.Process.schedule_(), edm::EventProcessor.schedule_, edm::test::TestProcessor.schedule_, Config.Process.sequences, edm::ProcessDesc.services_, Config.Process.services_(), ecaldqm::DBWriterWorker.source_, L2MuonSeedGeneratorFromL1TkMu.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_, edm::InputSource::ProcessBlockSourceSentry.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 275 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 159 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 204 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 303 of file Config.py.
def Config.Process.vpsets_ | ( | self | ) |
returns a dict of the VPSets that have been added to the Process
Definition at line 354 of file Config.py.
Referenced by Config.Process.prune().
|
private |
Definition at line 137 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 1375 of file Config.py.
Referenced by Config.ProcessFragment.__delattr__(), Config.ProcessFragment.__dir__(), Config.ProcessForProcessAccelerator.__getattr__(), Config.ProcessFragment.__getattribute__(), Config.ProcessFragment.__setattr__(), Config.ProcessForProcessAccelerator.__setattr__(), and Config.SubProcess.process().
Config.Process.options |
Definition at line 140 of file Config.py.
Referenced by betterConfigParser.BetterConfigParser.__updateDict(), submitPVValidationJobs.BetterConfigParser.__updateDict(), confdb.HLTProcess.buildOptions(), betterConfigParser.BetterConfigParser.checkInput(), CrabHelper.CrabHelper.crab_config_filename(), CrabHelper.CrabHelper.crab_taskname(), CrabHelper.CrabHelper.fill_options_from_crab_config(), confdb.HLTProcess.fixPrescales(), edmIntegrityCheck.IntegrityCheck.query(), cmsswPreprocessor.CmsswPreprocessor.run(), production_tasks.BaseDataset.run(), production_tasks.GenerateMask.run(), production_tasks.RunCMSBatch.run(), production_tasks.MonitorJobs.run(), production_tasks.CheckJobStatus.run(), and production_tasks.CleanJobFiles.run().
|
static |
Definition at line 282 of file Config.py.
Referenced by looper.Looper.loop(), and looper.Looper.write().
|
static |
Definition at line 294 of file Config.py.
Referenced by Config.Process.__setattr__(), and Config.Process.prune().
|
static |
|
static |
|
static |
|
static |
Definition at line 298 of file Config.py.
Referenced by Config.Process.__setattr__(), and Config.Process.prune().
|
static |
|
static |
Definition at line 290 of file Config.py.
Referenced by Config.Process.__setattr__(), and Config.Process.prune().
Definition at line 199 of file Config.py.
Referenced by adaptToRunAtMiniAOD.adaptToRunAtMiniAOD.convertModuleToMiniAODInput(), runTauIdMVA.TauIDEmbedder.processDeepProducer(), runTauIdMVA.TauIDEmbedder.runTauID(), and runTauIdMVA.TauIDEmbedder.tauIDMVAinputs().
|
static |
|
static |
|
static |
Definition at line 353 of file Config.py.
Referenced by Config.Process.dumpPython(), and Config.Process.splitPython().
|
static |
Definition at line 325 of file Config.py.
Referenced by Config.Process.dumpConfig().
|
static |
Definition at line 302 of file Config.py.
Referenced by Config.Process.__setattr__(), Config.Process.dumpPython(), Config.Process.prune(), and Config.Process.splitPython().
|
static |
Definition at line 329 of file Config.py.
Referenced by config.Config.__str__().
|
static |
Definition at line 213 of file Config.py.
Referenced by confdb.HLTProcess.build_source(), and confdb.HLTProcess.specificCustomize().
|
static |
|
static |
|
static |
Definition at line 306 of file Config.py.
Referenced by Config.Process.__setattr__(), Config.Process.dumpPython(), Config.Process.prune(), and Config.Process.splitPython().
|
static |
Definition at line 357 of file Config.py.
Referenced by Config.Process.dumpPython(), and Config.Process.splitPython().