Properties | |
analyzers = property(analyzers_,doc="dictionary containing the analyzers for the process") | |
endpaths = property(endpaths_,doc="dictionary containing the endpaths for the process") | |
es_prefers = property(es_prefers_,doc="dictionary containing the es_prefers for the process") | |
es_producers = property(es_producers_,doc="dictionary containing the es_producers for the process") | |
es_sources = property(es_sources_,doc="dictionary containing the es_sources for the process") | |
filters = property(filters_, doc="dictionary containing the filters for the process") | |
looper = property(looper_,setLooper_,doc='the main looper or None if not set') | |
outputModules = property(outputModules_,doc="dictionary containing the output_modules for the process") | |
paths = property(paths_,doc="dictionary containing the paths for the process") | |
process = property(name_,setName_, doc="name of the process") | |
producers = property(producers_,doc="dictionary containing the producers for the process") | |
psets = property(psets_,doc="dictionary containing the PSets for the process") | |
schedule = property(schedule_,setSchedule_,doc='the schedule or None if not set') | |
sequences = property(sequences_,doc="dictionary containing the sequences for the process") | |
services = property(services_,doc="dictionary containing the services for the process") | |
source = property(source_,setSource_,doc='the main source or None if not set') | |
subProcess = property(subProcess_,setSubProcess_,doc='the SubProcess or None if not set') | |
vpsets = property(vpsets_,doc="dictionary containing the PSets for the process") | |
Private Attributes | |
__isStrict | |
__processPSet | |
__thelist | |
def Config.Process.__init__ | ( | self, | |
name | |||
) |
The argument 'name' will be the name applied to this Process
Definition at line 102 of file Config.py.
Referenced by Config.Process.fillProcessDesc().
def Config.Process.__delattr__ | ( | self, | |
name | |||
) |
Definition at line 312 of file Config.py.
Referenced by Config.Process.__setattr__().
def Config.Process.__setattr__ | ( | self, | |
name, | |||
value | |||
) |
Definition at line 262 of file Config.py.
References Config.Process.__delattr__(), Config.Process.__isStrict, Config.Process._okToPlace(), Config.Process._replaceInSequences(), Config.Process.add_(), and errorMatrix2Lands_multiChannel.id.
Referenced by Config.Process._findPreferred(), 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 148 of file Config.py.
References errorMatrix2Lands_multiChannel.id.
|
private |
Definition at line 554 of file Config.py.
References Config.Process.es_prefers_().
Referenced by Config.Process.dumpConfig().
|
private |
Definition at line 479 of file Config.py.
Referenced by Config.Process.dumpConfig().
|
private |
Definition at line 489 of file Config.py.
Referenced by Config.Process.dumpConfig().
|
private |
Definition at line 484 of file Config.py.
Referenced by Config.Process.dumpConfig().
|
private |
|
private |
Definition at line 559 of file Config.py.
Referenced by Config.Process.dumpPython().
|
private |
Definition at line 836 of file Config.py.
References python.Node.Node.__setattr__(), Config.Process.__setattr__(), and Config.FilteredStream.__setattr__.
|
private |
|
private |
|
private |
|
private |
Definition at line 675 of file Config.py.
References Config.Process.endpaths_(), edm::MainParameterSet.paths_, edm::HLTGlobalStatus.paths_, GraphPath< N, E >.paths_, evf::fuep::TriggerReportHelpers.paths_, pat::TriggerEvent.paths_, edm::EventSelector.paths_, HLTPerformanceInfo.paths_, Config.Process.paths_(), EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, Config.Process.schedule_(), edm::SubProcess.schedule_, edm::EventProcessor.schedule_, and cmsPerfHarvest.visit().
|
private |
Definition at line 347 of file Config.py.
References Config.Process.__isStrict.
Referenced by Config.Process.__setattr__(), and Config.Process._place().
|
private |
Definition at line 368 of file Config.py.
References Config.Process.__isStrict, and Config.Process._okToPlace().
Referenced by Config.Process._placeAnalyzer(), Config.Process._placeEndPath(), Config.Process._placeESPrefer(), Config.Process._placeESProducer(), Config.Process._placeESSource(), Config.Process._placeFilter(), Config.Process._placeOutputModule(), Config.Process._placePath(), Config.Process._placeProducer(), Config.Process._placePSet(), Config.Process._placeSequence(), Config.Process._placeService(), Config.Process._placeVPSet(), and Config.Process.setPartialSchedule_().
|
private |
Definition at line 382 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 391 of file Config.py.
References Config.Process._place(), Config.Process._validateSequence(), and ExceptionHandling.format_outerframe().
|
private |
Definition at line 403 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 401 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 405 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 380 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 419 of file Config.py.
Referenced by Config.Process.setLooper_().
|
private |
Definition at line 376 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 384 of file Config.py.
References Config.Process._place(), Config.Process._validateSequence(), and ExceptionHandling.format_outerframe().
|
private |
Definition at line 378 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 407 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 398 of file Config.py.
References Config.Process._place(), and Config.Process._validateSequence().
|
private |
Definition at line 429 of file Config.py.
References Config.Process._place().
|
private |
Allow the source to be referenced by 'source' or by type name
Definition at line 411 of file Config.py.
Referenced by Config.Process.setSource_().
|
private |
Definition at line 424 of file Config.py.
Referenced by Config.Process.setSubProcess_().
|
private |
Definition at line 409 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 761 of file Config.py.
References runtimedef.set().
Referenced by Config.Process.prune().
|
private |
Definition at line 641 of file Config.py.
Referenced by Config.Process.__setattr__(), and Config.Process.globalReplace().
|
private |
Definition at line 576 of file Config.py.
References python.multivaluedict.dict, join(), and Config.Process.sequences.
Referenced by Config.Process.dumpPython().
|
private |
Definition at line 568 of file Config.py.
References runtimedef.set().
Referenced by Config.Process._placeEndPath(), Config.Process._placePath(), and Config.Process._placeSequence().
def Config.Process.add_ | ( | self, | |
value | |||
) |
Allows addition of components which do not have to have a label, e.g. Services
Definition at line 332 of file Config.py.
References Config.Process.__isStrict.
Referenced by Config.Process.__setattr__(), and Config.Process.extend().
def Config.Process.analyzerNames | ( | self | ) |
Returns a string containing all the EDAnalyzer labels separated by a blank
Definition at line 138 of file Config.py.
References HLTMuonValidator.analyzers_, HLTMuonOfflineAnalyzer.analyzers_, Config.Process.analyzers_(), join(), and relativeConstraints.keys.
def Config.Process.analyzers_ | ( | self | ) |
returns a dict of the analyzers which have been added to the Process
Definition at line 198 of file Config.py.
Referenced by Config.Process.analyzerNames(), Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.prune().
def Config.Process.dumpConfig | ( | self, | |
options = PrintOptions() |
|||
) |
return a string containing the equivalent process defined using the old configuration language
Definition at line 496 of file Config.py.
References dataset.Dataset.__name, Config.Process._dumpConfigESPrefers(), Config.Process._dumpConfigNamedList(), Config.Process._dumpConfigOptionallyNamedList(), Config.Process._dumpConfigUnnamedList(), HLTMuonValidator.analyzers_, HLTMuonOfflineAnalyzer.analyzers_, Config.Process.analyzers_(), Config.Process.endpaths_(), Config.Process.es_producers_(), Config.Process.es_sources_(), pat::eventhypothesis::AndFilter.filters_, pat::eventhypothesis::OrFilter.filters_, HLTTauDQMLitePathPlotter.filters_, HLTTauDQMPathPlotter.filters_, pat::TriggerEvent.filters_, FilterOR.filters_, Config.Process.filters_(), Selection< C, Selector, StoreContainer >.filters_, Selections.filters_, FourVectorHLTOnline::PathInfo.filters_, FourVectorHLTOffline::PathInfo.filters_, TrigResRateMon::PathInfo.filters_, join(), Config.Process.looper_(), edm::EventProcessor.looper_, Config.Process.outputModules_(), edm::MainParameterSet.paths_, edm::HLTGlobalStatus.paths_, GraphPath< N, E >.paths_, evf::fuep::TriggerReportHelpers.paths_, pat::TriggerEvent.paths_, edm::EventSelector.paths_, HLTPerformanceInfo.paths_, Config.Process.paths_(), pf2pat::EventHypothesis.producers_, Config.Process.producers_(), Config.Process.schedule, Config.Process.sequences_(), edm::ProcessDesc.services_, Config.Process.services_(), CandOneToManyDeltaRMatcher.source_, CandOneToOneDeltaRMatcher.source_, ecaldqm::DQWorkerClient.source_(), SiStripFedCablingBuilderFromDb.source_, sistrip::SpyEventMatcher.source_, Config.Process.source_(), Config.Process.subProcess_(), edm::SubProcess.subProcess_, and edm::EventProcessor.subProcess_.
Referenced by Types.SecSource.configValue().
def Config.Process.dumpPython | ( | self, | |
options = PrintOptions() |
|||
) |
return a string containing the equivalent process defined using python
Definition at line 613 of file Config.py.
References dataset.Dataset.__name, Config.Process._dumpPython(), Config.Process._dumpPythonList(), Config.Process._sequencesInDependencyOrder(), HLTMuonValidator.analyzers_, HLTMuonOfflineAnalyzer.analyzers_, Config.Process.analyzers_(), Config.Process.endpaths_(), Config.Process.es_prefers_(), Config.Process.es_producers_(), Config.Process.es_sources_(), pat::eventhypothesis::AndFilter.filters_, pat::eventhypothesis::OrFilter.filters_, HLTTauDQMLitePathPlotter.filters_, HLTTauDQMPathPlotter.filters_, pat::TriggerEvent.filters_, FilterOR.filters_, Config.Process.filters_(), Selection< C, Selector, StoreContainer >.filters_, Selections.filters_, FourVectorHLTOnline::PathInfo.filters_, FourVectorHLTOffline::PathInfo.filters_, TrigResRateMon::PathInfo.filters_, join(), Config.Process.looper_(), edm::EventProcessor.looper_, Config.Process.outputModules_(), edm::MainParameterSet.paths_, edm::HLTGlobalStatus.paths_, GraphPath< N, E >.paths_, evf::fuep::TriggerReportHelpers.paths_, pat::TriggerEvent.paths_, edm::EventSelector.paths_, HLTPerformanceInfo.paths_, Config.Process.paths_(), pf2pat::EventHypothesis.producers_, Config.Process.producers_(), CmsswTask.CmsswTask.psets, Config.Process.psets, Config.Process.schedule, edm::ProcessDesc.services_, Config.Process.services_(), CandOneToManyDeltaRMatcher.source_, CandOneToOneDeltaRMatcher.source_, ecaldqm::DQWorkerClient.source_(), SiStripFedCablingBuilderFromDb.source_, sistrip::SpyEventMatcher.source_, Config.Process.source_(), Config.Process.subProcess_(), edm::SubProcess.subProcess_, edm::EventProcessor.subProcess_, and Config.Process.vpsets.
Referenced by Mixins._Parameterizable.__addParameter(), Mixins._ParameterTypeBase.__repr__(), Mixins._Parameterizable.__repr__(), Mixins._ValidatingParameterListBase.__repr__(), Types.VPSet.__repr__(), and Mixins._Parameterizable.__setattr__().
def Config.Process.endpaths_ | ( | self | ) |
returns a dict of the endpaths which have been added to the Process
Definition at line 210 of file Config.py.
Referenced by Config.Process._insertPaths(), Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.es_prefers_ | ( | self | ) |
returns a dict of the es_prefers which have been added to the Process
Definition at line 250 of file Config.py.
Referenced by Config.Process._dumpConfigESPrefers(), and Config.Process.dumpPython().
def Config.Process.es_producers_ | ( | self | ) |
returns a dict of the esproducers which have been added to the Process
Definition at line 242 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.es_sources_ | ( | self | ) |
returns a the es_sources which have been added to the Process
Definition at line 246 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.extend | ( | self, | |
other, | |||
items = () |
|||
) |
Look in other and find types which we can use
Definition at line 436 of file Config.py.
References python.Node.Node.__setattr__(), Config.Process.__setattr__(), Config.FilteredStream.__setattr__, Config.Process.add_(), python.multivaluedict.dict, dir, and errorMatrix2Lands_multiChannel.id.
Referenced by relval_steps.WF.__init__(), Config.Process.load(), and Mixins._ValidatingParameterListBase.setValue().
def Config.Process.fillProcessDesc | ( | self, | |
processPSet | |||
) |
Used by the framework to convert python to C++ objects
Definition at line 767 of file Config.py.
References Config.Process.__init__(), and dbtoconf.object.
def Config.Process.filterNames | ( | self | ) |
Returns a string containing all the EDFilter labels separated by a blank
Definition at line 141 of file Config.py.
References pat::eventhypothesis::AndFilter.filters_, pat::eventhypothesis::OrFilter.filters_, HLTTauDQMLitePathPlotter.filters_, HLTTauDQMPathPlotter.filters_, pat::TriggerEvent.filters_, FilterOR.filters_, Config.Process.filters_(), Selection< C, Selector, StoreContainer >.filters_, Selections.filters_, FourVectorHLTOnline::PathInfo.filters_, FourVectorHLTOffline::PathInfo.filters_, TrigResRateMon::PathInfo.filters_, join(), and relativeConstraints.keys.
def Config.Process.filters_ | ( | self | ) |
returns a dict of the filters which have been added to the Process
Definition at line 165 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), Config.Process.filterNames(), and Config.Process.prune().
def Config.Process.globalReplace | ( | self, | |
label, | |||
new | |||
) |
Replace the item with label 'label' by object 'new' in the process and all sequences/paths
Definition at line 650 of file Config.py.
References Config.Process._replaceInSequences().
def Config.Process.load | ( | self, | |
moduleName | |||
) |
Definition at line 432 of file Config.py.
References ora::ContainerSchema.extend(), python.seqvaluedict.seqdict.extend(), svgfig.SVG.extend(), and Config.Process.extend().
def Config.Process.looper_ | ( | self | ) |
returns the looper which has been added to the Process or None if none have been added
Definition at line 186 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.name_ | ( | self | ) |
Definition at line 169 of file Config.py.
References dataset.Dataset.__name.
def Config.Process.outputModules_ | ( | self | ) |
returns a dict of the output modules which have been added to the Process
Definition at line 202 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.pathNames | ( | self | ) |
Returns a string containing all the Path names separated by a blank
Definition at line 144 of file Config.py.
References join(), relativeConstraints.keys, edm::MainParameterSet.paths_, edm::HLTGlobalStatus.paths_, GraphPath< N, E >.paths_, evf::fuep::TriggerReportHelpers.paths_, pat::TriggerEvent.paths_, edm::EventSelector.paths_, HLTPerformanceInfo.paths_, and Config.Process.paths_().
def Config.Process.paths_ | ( | self | ) |
returns a dict of the paths which have been added to the Process
Definition at line 206 of file Config.py.
Referenced by Config.Process._insertPaths(), Config.Process.dumpConfig(), Config.Process.dumpPython(), and Config.Process.pathNames().
def Config.Process.prefer | ( | self, | |
esmodule, | |||
args, | |||
kargs | |||
) |
Prefer this ES source or producer. The argument can either be an object label, e.g., process.prefer(process.juicerProducer) (not supported yet) or a name of an ESSource or ESProducer process.prefer("juicer") or a type of unnamed ESSource or ESProducer process.prefer("JuicerProducer") In addition, you can pass as a labelled arguments the name of the Record you wish to prefer where the type passed is a cms.vstring and that vstring can contain the name of the C++ types in the Record which are being preferred, e.g., #prefer all data in record 'OrangeRecord' from 'juicer' process.prefer("juicer", OrangeRecord=cms.vstring()) or #prefer only "Orange" data in "OrangeRecord" from "juicer" process.prefer("juicer", OrangeRecord=cms.vstring("Orange")) or #prefer only "Orange" data with label "ExtraPulp" in "OrangeRecord" from "juicer" ESPrefer("ESJuicerProd", OrangeRecord=cms.vstring("Orange/ExtraPulp"))
Definition at line 807 of file Config.py.
def Config.Process.producerNames | ( | self | ) |
Returns a string containing all the EDProducer labels separated by a blank
Definition at line 135 of file Config.py.
References join(), relativeConstraints.keys, pf2pat::EventHypothesis.producers_, and Config.Process.producers_().
def Config.Process.producers_ | ( | self | ) |
returns a dict of the producers which have been added to the Process
Definition at line 176 of file Config.py.
Referenced by Config.Process.dumpConfig(), Config.Process.dumpPython(), Config.Process.producerNames(), and Config.Process.prune().
def Config.Process.prune | ( | self | ) |
Remove clutter from the process which we think is unnecessary: tracked PSets, VPSets and unused modules and sequences. If a Schedule has been set, then Paths and EndPaths not in the schedule will also be removed, along with an modules and sequences used only by those removed Paths and EndPaths.
Definition at line 716 of file Config.py.
References Config.Process._pruneModules(), HLTMuonValidator.analyzers_, HLTMuonOfflineAnalyzer.analyzers_, Config.Process.analyzers_(), Config.Process.endpaths, pat::eventhypothesis::AndFilter.filters_, pat::eventhypothesis::OrFilter.filters_, HLTTauDQMLitePathPlotter.filters_, HLTTauDQMPathPlotter.filters_, pat::TriggerEvent.filters_, FilterOR.filters_, Config.Process.filters_(), Selection< C, Selector, StoreContainer >.filters_, Selections.filters_, FourVectorHLTOnline::PathInfo.filters_, FourVectorHLTOffline::PathInfo.filters_, TrigResRateMon::PathInfo.filters_, list(), Config.Process.paths, pf2pat::EventHypothesis.producers_, Config.Process.producers_(), Config.Process.psets_(), EcalDQMonitorTask.schedule_, edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, Config.Process.schedule_(), edm::SubProcess.schedule_, edm::EventProcessor.schedule_, runtimedef.set(), and Config.Process.vpsets_().
Referenced by dirstructure.Directory.prune().
def Config.Process.psets_ | ( | self | ) |
returns a dict of the PSets which have been added to the Process
Definition at line 254 of file Config.py.
Referenced by Config.Process.prune().
def Config.Process.schedule_ | ( | self | ) |
returns the schedule which has been added to the Process or None if none have been added
Definition at line 218 of file Config.py.
Referenced by Config.Process._insertPaths(), and Config.Process.prune().
def Config.Process.sequences_ | ( | self | ) |
returns a dict of the sequences which have been added to the Process
Definition at line 214 of file Config.py.
Referenced by Config.Process.dumpConfig().
def Config.Process.services_ | ( | self | ) |
returns a dict of the services which have been added to the Process
Definition at line 238 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.setLooper_ | ( | self, | |
lpr | |||
) |
Definition at line 189 of file Config.py.
References Config.Process._placeLooper().
def Config.Process.setName_ | ( | self, | |
name | |||
) |
def Config.Process.setPartialSchedule_ | ( | self, | |
sch, | |||
label | |||
) |
Definition at line 221 of file Config.py.
References Config.Process._place(), and Config.Process.setSchedule_().
def Config.Process.setSchedule_ | ( | self, | |
sch | |||
) |
Definition at line 226 of file Config.py.
Referenced by Config.Process.setPartialSchedule_().
def Config.Process.setSource_ | ( | self, | |
src | |||
) |
Definition at line 183 of file Config.py.
References Config.Process._placeSource().
def Config.Process.setStrict | ( | self, | |
value | |||
) |
Definition at line 130 of file Config.py.
References Config.Process.__isStrict.
def Config.Process.setSubProcess_ | ( | self, | |
lpr | |||
) |
Definition at line 195 of file Config.py.
References Config.Process._placeSubProcess().
def Config.Process.source_ | ( | self | ) |
returns the source which has been added to the Process or None if none have been added
Definition at line 180 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.subProcess_ | ( | self | ) |
returns the sub-process which has been added to the Process or None if none have been added
Definition at line 192 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.vpsets_ | ( | self | ) |
returns a dict of the VPSets which have been added to the Process
Definition at line 258 of file Config.py.
Referenced by Config.Process.prune().
|
private |
Definition at line 128 of file Config.py.
Referenced by Config.Process.__setattr__(), Config.Process._okToPlace(), Config.Process._place(), Config.Process.add_(), and Config.Process.setStrict().
|
static |
|
static |
Definition at line 213 of file Config.py.
Referenced by Config.Process.prune().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 209 of file Config.py.
Referenced by Config.Process.prune().
Definition at line 175 of file Config.py.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.dumpPython(), ConfigBuilder.ConfigBuilder.PrintAllModules.leave(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.open(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.outputEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.setProcess(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.setProperty().
|
static |
|
static |
Definition at line 257 of file Config.py.
Referenced by Config.Process.dumpPython().
|
static |
Definition at line 237 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
|
static |
Definition at line 217 of file Config.py.
Referenced by Config.Process._sequencesInDependencyOrder().
|
static |
|
static |
|
static |
Definition at line 261 of file Config.py.
Referenced by Config.Process.dumpPython().