![]() |
![]() |
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 | |||
) |
Definition at line 102 of file Config.py.
Referenced by Config.Process.fillProcessDesc().
def Config.Process.__delattr__ | ( | self, | |
name | |||
) |
Definition at line 303 of file Config.py.
Referenced by Config.Process.__setattr__().
def Config.Process.__setattr__ | ( | self, | |
name, | |||
value | |||
) |
Definition at line 253 of file Config.py.
References Config.Process.__delattr__(), Config.Process.__isStrict, Config.Process._okToPlace(), Config.Process._replaceInSequences(), and Config.Process.add_().
Referenced by Config.Process._findPreferred(), and Config.Process.extend().
def Config.Process.__setstate__ | ( | self, | |
pkldict | |||
) |
|
private |
Definition at line 545 of file Config.py.
References Config.Process.es_prefers_().
Referenced by Config.Process.dumpConfig().
|
private |
Definition at line 470 of file Config.py.
Referenced by Config.Process.dumpConfig().
|
private |
Definition at line 480 of file Config.py.
Referenced by Config.Process.dumpConfig().
|
private |
Definition at line 475 of file Config.py.
Referenced by Config.Process.dumpConfig().
|
private |
|
private |
Definition at line 550 of file Config.py.
Referenced by Config.Process.dumpPython().
|
private |
Definition at line 806 of file Config.py.
References python.Node.Node.__setattr__(), Config.Process.__setattr__(), and Config.FilteredStream.__setattr__.
|
private |
|
private |
|
private |
|
private |
Definition at line 665 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_(), edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, Config.Process.schedule_(), edm::SubProcess.schedule_, edm::EventProcessor.schedule_, and cmsPerfHarvest.visit().
|
private |
Definition at line 338 of file Config.py.
References Config.Process.__isStrict.
Referenced by Config.Process.__setattr__(), and Config.Process._place().
|
private |
Definition at line 359 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 373 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 382 of file Config.py.
References Config.Process._place(), Config.Process._validateSequence(), and ExceptionHandling.format_outerframe().
|
private |
Definition at line 394 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 392 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 396 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 371 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 410 of file Config.py.
Referenced by Config.Process.setLooper_().
|
private |
Definition at line 367 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 375 of file Config.py.
References Config.Process._place(), Config.Process._validateSequence(), and ExceptionHandling.format_outerframe().
|
private |
Definition at line 369 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 398 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 389 of file Config.py.
References Config.Process._place(), and Config.Process._validateSequence().
|
private |
Definition at line 420 of file Config.py.
References Config.Process._place().
|
private |
Allow the source to be referenced by 'source' or by type name
Definition at line 402 of file Config.py.
Referenced by Config.Process.setSource_().
|
private |
Definition at line 415 of file Config.py.
Referenced by Config.Process.setSubProcess_().
|
private |
Definition at line 400 of file Config.py.
References Config.Process._place().
|
private |
Definition at line 631 of file Config.py.
Referenced by Config.Process.__setattr__(), and Config.Process.globalReplace().
|
private |
Definition at line 567 of file Config.py.
References python.multivaluedict.dict, join(), and Config.Process.sequences.
Referenced by Config.Process.dumpPython().
|
private |
Definition at line 559 of file Config.py.
Referenced by Config.Process._placeEndPath(), Config.Process._placePath(), and Config.Process._placeSequence().
def Config.Process.add_ | ( | self, | |
value | |||
) |
Allows addition of components which do not have to have a label, e.g. Services
Definition at line 323 of file Config.py.
References Config.Process.__isStrict.
Referenced by Config.Process.__setattr__(), and Config.Process.extend().
def Config.Process.analyzerNames | ( | self | ) |
Definition at line 134 of file Config.py.
References 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 189 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 configuration language
Definition at line 487 of file Config.py.
References Config.Process._dumpConfigESPrefers(), Config.Process._dumpConfigNamedList(), Config.Process._dumpConfigOptionallyNamedList(), Config.Process._dumpConfigUnnamedList(), HLTMuonOfflineAnalyzer.analyzers_, Config.Process.analyzers_(), Config.Process.endpaths_(), Config.Process.es_producers_(), Config.Process.es_sources_(), pat::eventhypothesis::AndFilter.filters_, pat::eventhypothesis::OrFilter.filters_, pat::TriggerEvent.filters_, FilterOR.filters_, Config.Process.filters_(), Selection< C, Selector, StoreContainer >.filters_, Selections.filters_, FourVectorHLTOnline::PathInfo.filters_, TrigResRateMon::PathInfo.filters_, FourVectorHLTOffline::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_(), ConfigBuilder.ConfigBuilder.schedule, Config.Process.schedule, Config.Process.sequences_(), edm::ProcessDesc.services_, Config.Process.services_(), CandOneToManyDeltaRMatcher.source_, CandOneToOneDeltaRMatcher.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 the configuration language
Definition at line 604 of file Config.py.
References Config.Process._dumpPython(), Config.Process._dumpPythonList(), Config.Process._sequencesInDependencyOrder(), 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_, pat::TriggerEvent.filters_, FilterOR.filters_, Config.Process.filters_(), Selection< C, Selector, StoreContainer >.filters_, Selections.filters_, FourVectorHLTOnline::PathInfo.filters_, TrigResRateMon::PathInfo.filters_, FourVectorHLTOffline::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, ConfigBuilder.ConfigBuilder.schedule, Config.Process.schedule, edm::ProcessDesc.services_, Config.Process.services_(), CandOneToManyDeltaRMatcher.source_, CandOneToOneDeltaRMatcher.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 201 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 241 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 233 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 237 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 427 of file Config.py.
References python.Node.Node.__setattr__(), Config.Process.__setattr__(), Config.FilteredStream.__setattr__, Config.Process.add_(), python.multivaluedict.dict, and dir.
Referenced by hltFindDuplicates.ModuleList.__init__(), Config.Process.load(), and Mixins._ValidatingParameterListBase.setValue().
def Config.Process.fillProcessDesc | ( | self, | |
processPSet | |||
) |
Definition at line 738 of file Config.py.
References Config.Process.__init__(), and dbtoconf.object.
def Config.Process.filterNames | ( | self | ) |
Definition at line 136 of file Config.py.
References pat::eventhypothesis::AndFilter.filters_, pat::eventhypothesis::OrFilter.filters_, pat::TriggerEvent.filters_, FilterOR.filters_, Config.Process.filters_(), Selection< C, Selector, StoreContainer >.filters_, Selections.filters_, FourVectorHLTOnline::PathInfo.filters_, TrigResRateMon::PathInfo.filters_, FourVectorHLTOffline::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 158 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 640 of file Config.py.
References Config.Process._replaceInSequences().
def Config.Process.load | ( | self, | |
moduleName | |||
) |
Definition at line 423 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 177 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.name_ | ( | self | ) |
def Config.Process.outputModules_ | ( | self | ) |
returns a dict of the output modules which have been added to the Process
Definition at line 193 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.pathNames | ( | self | ) |
Definition at line 138 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 197 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 777 of file Config.py.
def Config.Process.producerNames | ( | self | ) |
Definition at line 132 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 167 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: PSets, and unused modules. Not working yet, because I need to remove all unneeded sequences and paths that contain removed modules
Definition at line 706 of file Config.py.
References HLTMuonOfflineAnalyzer.analyzers_, Config.Process.analyzers_(), pat::eventhypothesis::AndFilter.filters_, pat::eventhypothesis::OrFilter.filters_, pat::TriggerEvent.filters_, FilterOR.filters_, Config.Process.filters_(), Selection< C, Selector, StoreContainer >.filters_, Selections.filters_, FourVectorHLTOnline::PathInfo.filters_, TrigResRateMon::PathInfo.filters_, FourVectorHLTOffline::PathInfo.filters_, pf2pat::EventHypothesis.producers_, Config.Process.producers_(), Config.Process.pruneModules(), Config.Process.pruneSequences(), Config.Process.psets_(), edm::ModuleChanger.schedule_, edm::ScheduleInfo.schedule_, Config.Process.schedule_(), edm::SubProcess.schedule_, edm::EventProcessor.schedule_, and Config.Process.vpsets_().
def Config.Process.pruneModules | ( | self, | |
d, | |||
scheduledNames | |||
) |
def Config.Process.pruneSequences | ( | self | ) |
def Config.Process.psets_ | ( | self | ) |
returns a dict of the PSets which have been added to the Process
Definition at line 245 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 209 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 205 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 229 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
def Config.Process.setLooper_ | ( | self, | |
lpr | |||
) |
Definition at line 180 of file Config.py.
References Config.Process._placeLooper().
def Config.Process.setName_ | ( | self, | |
name | |||
) |
def Config.Process.setPartialSchedule_ | ( | self, | |
sch, | |||
label | |||
) |
Definition at line 212 of file Config.py.
References Config.Process._place(), and Config.Process.setSchedule_().
def Config.Process.setSchedule_ | ( | self, | |
sch | |||
) |
Definition at line 217 of file Config.py.
Referenced by Config.Process.setPartialSchedule_().
def Config.Process.setSource_ | ( | self, | |
src | |||
) |
Definition at line 174 of file Config.py.
References Config.Process._placeSource().
def Config.Process.setStrict | ( | self, | |
value | |||
) |
Definition at line 127 of file Config.py.
References Config.Process.__isStrict.
def Config.Process.setSubProcess_ | ( | self, | |
lpr | |||
) |
Definition at line 186 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 171 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 183 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 249 of file Config.py.
Referenced by Config.Process.prune().
|
private |
Definition at line 125 of file Config.py.
Referenced by Config.Process.__setattr__(), Config.Process._okToPlace(), Config.Process._place(), Config.Process.add_(), and Config.Process.setStrict().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 166 of file Config.py.
Referenced by python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.dumpPython(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.open(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.outputEventContent(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.setProcess(), and python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.setProperty().
|
static |
|
static |
Definition at line 248 of file Config.py.
Referenced by Config.Process.dumpPython().
|
static |
Definition at line 228 of file Config.py.
Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().
|
static |
Definition at line 208 of file Config.py.
Referenced by Config.Process._sequencesInDependencyOrder().
|
static |
Definition at line 176 of file Config.py.
Referenced by confdb.HLTProcess._build_source(), and confdb.HLTProcess.build_source().
|
static |
|
static |
Definition at line 252 of file Config.py.
Referenced by Config.Process.dumpPython().