Public Member Functions | |
def | __init__ (self, type_, targetLabel='', *arg, **kargs) |
def | copy (self) |
def | dumpPythonAs (self, label, options=PrintOptions()) |
def | moduleLabel_ (self, myname) |
def | nameInProcessDesc_ (self, myname) |
def | targetLabel_ (self) |
Public Member Functions inherited from Mixins._TypedParameterizable | |
def | __init__ (self, type_, *arg, **kargs) |
def | appendToProcessDescList_ (self, lst, myname) |
def | clone (self, *args, **params) |
def | directDependencies (self) |
def | dumpConfig (self, options=PrintOptions()) |
def | dumpPython (self, options=PrintOptions()) |
def | dumpPythonAttributes (self, myname, options) |
def | insertInto (self, parameterSet, myname) |
def | type_ (self) |
Public Member Functions inherited from Mixins._Parameterizable | |
def | __delattr__ (self, name) |
def | __init__ (self, *arg, **kargs) |
def | __repr__ (self) |
def | __setattr__ (self, name, value) |
def | getParameter (self, params) |
def | hasParameter (self, params) |
def | insertContentsInto (self, parameterSet) |
def | isFrozen (self) |
def | isModified (self) |
def | parameterNames_ (self) |
def | parameters_ (self) |
def | setIsFrozen (self) |
Public Member Functions inherited from Mixins._Labelable | |
def | __str__ (self) |
def | dumpSequenceConfig (self) |
def | dumpSequencePython (self, options=PrintOptions()) |
def | hasLabel_ (self) |
def | label (self) |
def | label_ (self) |
def | setLabel (self, label) |
Private Member Functions | |
def | _placeImpl (self, name, proc) |
Private Attributes | |
_targetLabel | |
Used to set which EventSetup provider should provide a particular data item in the case where multiple providers are capable of delivering the data. The first argument specifies the C++ class type of the prodiver. If the provider has been given a label, you must specify that label as the second argument. Additional 'vstring' arguments maybe used to specify exactly which EventSetup Records are being preferred and optionally which data items within that Record. E.g., #prefer all data in record 'OrangeRecord' from 'juicer' ESPrefer("ESJuicerProd", OrangeRecord=cms.vstring()) or #prefer only "Orange" data in "OrangeRecord" from "juicer" ESPrefer("ESJuicerProd", OrangeRecord=cms.vstring("ExtraPulp")) or #prefer only "Orange" data with label "ExtraPulp" in "OrangeRecord" from "juicer" ESPrefer("ESJuicerProd", OrangeRecord=cms.vstring("Orange/ExtraPulp"))
Definition at line 73 of file Modules.py.
def Modules.ESPrefer.__init__ | ( | self, | |
type_, | |||
targetLabel = '' , |
|||
* | arg, | ||
** | kargs | ||
) |
Definition at line 90 of file Modules.py.
|
private |
Definition at line 99 of file Modules.py.
Referenced by SequenceTypes._ModuleSequenceType._place(), and Mixins._TypedParameterizable._place().
def Modules.ESPrefer.copy | ( | self | ) |
Reimplemented from Mixins._TypedParameterizable.
Definition at line 104 of file Modules.py.
References Modules.ESPrefer._targetLabel, MuonTypeByOrCut.type_, L1TMuonOverlapParams::Node.type_, edm::ObjectWithDict.type_, Histogram_TICLPFValidation.type_, FWJobMetadataManager::Data.type_, L1TTwinMuxParams::Node.type_, L1TMuonGlobalParams::Node.type_, FastTimeParametersESModule.type_, L1TMuonGlobalParams_PUBLIC::Node.type_, CutBasedElectronID.type_, HcalSiPMParameter.type_, L1TMuonBarrelParams::Node.type_, StringObjectFunction< T, DefaultLazyness >.type_, OpticalAlignMeasurementInfo.type_, StringCutObjectSelector< T, DefaultLazyness >.type_, ProcessCallGraph::NodeType.type_, l1t::CaloParams::Node.type_, L1TMuonBarrelKalmanParams::Node.type_, edm::eventsetup::ComponentDescription.type_, l1t::CaloSpare.type_, reco::MuonMETCorrectionData.type_, omtf::RpcDataWord64.type_, omtf::RpcDataWord64::.type_, edm::ESParentContext.type_, HcalSiPMParametersGPU.type_, MuonIDFilterProducerForHLT.type_, MuonRefProducer.type_, HcalSiPMCharacteristics::PrecisionItem.type_, pftools::ParticleFiltrationDecision.type_, EcalDumpGeometry.type_, reco::TrackingRecHitInfo.type_, omtf::MuonDataWord64.type_, omtf::MuonDataWord64::.type_, pos::PixelTKFECParameters.type_, PGeometricTimingDet::Item.type_, pat::TriggerFilter.type_, TauDQMHistPlotter::cfgEntryProcess.type_, trklet::L1SimTrack.type_, EleEnergyRetriever.type_, NoProductErrorThrower.type_, pat::TriggerCondition.type_, l1t::TkEtMiss.type_, edm::ParentContext.type_, L1TUtmCondition.type_, MultShiftMETcorrInputProducer.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::.type_, edm::ParameterWildcardBase.type_, FastTimeTopologyBuilder.type_, edm::ConsumesInfo.type_, L1TUtmScale.type_, DBReader.type_, DQMHcalIsoTrackAlCaReco.type_, edm::AllowedLabelsDescriptionBase.type_, omtf::CscDataWord64.type_, omtf::CscDataWord64::.type_, edm::eventsetup::EventSetupRecordKey.type_, NoBranchErrorThrower.type_, l1t::BlockHeader.type_, l1t::EtSum.type_, l1extra::L1EmParticle.type_, reco::PUSubMETCandInfo.type_, l1extra::L1JetParticle.type_, fwlite::internal::DataKey.type_, GsfElectronDataAnalyzer.type_, edm::eventsetup::DataKey.type_, PPSFastLocalSimulation::Distribution.type_, edm::ParameterDescriptionBase.type_, Json::Reader::Token.type_, L1TUtmObject.type_, OpticalAlignInfo.type_, pat::JetCorrFactorsProducer.type_, Entry.type_, pos::PixelPortCardConfig.type_, FastTimeTopology.type_, l1extra::L1EtMissParticle.type_, pat::helper::AnyNumberAssociationAdaptor.type_, edm::PileUp.type_, edm::Handle< GenericObject >.type_, edm::Handle< FWGenericObject >.type_, trackerDTC::SensorModule.type_, BeamSpotObjects.type_, L1GctInternHFData.type_, edm::test::TestProcessorConfig::ProduceEntry.type_, L1GctInternEtSum.type_, reco::PFBlockElement.type_, L1GctInternHtMiss.type_, L1GctInternJetData.type_, TrackerGeometryCompare.type_, reco::BeamSpot.type_, ScoutingMuon.type_, funct::RootIntegrator.type_, GeometricDet.type_, GeometricTimingDet.type_, SiStripConfigDb::Run.type_, TrackerDpgAnalysis.type_, ConfigurableHisto.type_, Run3ScoutingMuon.type_, CandMCMatchTableProducer.type_, CSCCorrelatedLCTDigi.type_, reco::Muon.type_, GsfElectronFakeAnalyzer.type_, Mixins._TypedParameterizable.type_(), Json::Value.type_, edm::IndexIntoFile::IndexIntoFileItrImpl.type_, and Config.SubProcess.type_().
Referenced by SequenceTypes.Task.copyAndAdd().
def Modules.ESPrefer.dumpPythonAs | ( | self, | |
label, | |||
options = PrintOptions() |
|||
) |
Definition at line 112 of file Modules.py.
References Modules.ESPrefer._targetLabel, Mixins._Parameterizable.parameterNames_(), MuonTypeByOrCut.type_, L1TMuonOverlapParams::Node.type_, edm::ObjectWithDict.type_, Histogram_TICLPFValidation.type_, FWJobMetadataManager::Data.type_, L1TTwinMuxParams::Node.type_, L1TMuonGlobalParams::Node.type_, FastTimeParametersESModule.type_, L1TMuonGlobalParams_PUBLIC::Node.type_, CutBasedElectronID.type_, HcalSiPMParameter.type_, L1TMuonBarrelParams::Node.type_, StringCutObjectSelector< T, DefaultLazyness >.type_, StringObjectFunction< T, DefaultLazyness >.type_, OpticalAlignMeasurementInfo.type_, L1TMuonBarrelKalmanParams::Node.type_, ProcessCallGraph::NodeType.type_, l1t::CaloParams::Node.type_, edm::eventsetup::ComponentDescription.type_, l1t::CaloSpare.type_, reco::MuonMETCorrectionData.type_, omtf::RpcDataWord64.type_, omtf::RpcDataWord64::.type_, edm::ESParentContext.type_, MuonIDFilterProducerForHLT.type_, HcalSiPMParametersGPU.type_, MuonRefProducer.type_, HcalSiPMCharacteristics::PrecisionItem.type_, reco::TrackingRecHitInfo.type_, EcalDumpGeometry.type_, pftools::ParticleFiltrationDecision.type_, omtf::MuonDataWord64.type_, omtf::MuonDataWord64::.type_, PGeometricTimingDet::Item.type_, pat::TriggerFilter.type_, pos::PixelTKFECParameters.type_, TauDQMHistPlotter::cfgEntryProcess.type_, trklet::L1SimTrack.type_, EleEnergyRetriever.type_, NoProductErrorThrower.type_, pat::TriggerCondition.type_, l1t::TkEtMiss.type_, edm::ParentContext.type_, L1TUtmCondition.type_, MultShiftMETcorrInputProducer.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::.type_, edm::ParameterWildcardBase.type_, FastTimeTopologyBuilder.type_, edm::ConsumesInfo.type_, L1TUtmScale.type_, DBReader.type_, DQMHcalIsoTrackAlCaReco.type_, edm::AllowedLabelsDescriptionBase.type_, omtf::CscDataWord64.type_, omtf::CscDataWord64::.type_, edm::eventsetup::EventSetupRecordKey.type_, NoBranchErrorThrower.type_, l1t::BlockHeader.type_, l1t::EtSum.type_, l1extra::L1JetParticle.type_, l1extra::L1EmParticle.type_, reco::PUSubMETCandInfo.type_, fwlite::internal::DataKey.type_, GsfElectronDataAnalyzer.type_, edm::eventsetup::DataKey.type_, PPSFastLocalSimulation::Distribution.type_, edm::ParameterDescriptionBase.type_, Json::Reader::Token.type_, L1TUtmObject.type_, OpticalAlignInfo.type_, pat::JetCorrFactorsProducer.type_, Entry.type_, pos::PixelPortCardConfig.type_, FastTimeTopology.type_, l1extra::L1EtMissParticle.type_, pat::helper::AnyNumberAssociationAdaptor.type_, edm::PileUp.type_, edm::Handle< GenericObject >.type_, edm::Handle< FWGenericObject >.type_, trackerDTC::SensorModule.type_, L1GctInternHFData.type_, BeamSpotObjects.type_, edm::test::TestProcessorConfig::ProduceEntry.type_, L1GctInternEtSum.type_, reco::PFBlockElement.type_, L1GctInternHtMiss.type_, L1GctInternJetData.type_, TrackerGeometryCompare.type_, reco::BeamSpot.type_, ScoutingMuon.type_, funct::RootIntegrator.type_, GeometricDet.type_, GeometricTimingDet.type_, SiStripConfigDb::Run.type_, TrackerDpgAnalysis.type_, ConfigurableHisto.type_, Run3ScoutingMuon.type_, CandMCMatchTableProducer.type_, CSCCorrelatedLCTDigi.type_, reco::Muon.type_, GsfElectronFakeAnalyzer.type_, Mixins._TypedParameterizable.type_(), Json::Value.type_, edm::IndexIntoFile::IndexIntoFileItrImpl.type_, and Config.SubProcess.type_().
def Modules.ESPrefer.moduleLabel_ | ( | self, | |
myname | |||
) |
Reimplemented from Mixins._TypedParameterizable.
Definition at line 108 of file Modules.py.
References Modules.ESPrefer._targetLabel.
Referenced by ExternalGeneratorFilter.ExternalGeneratorFilter.insertInto().
def Modules.ESPrefer.nameInProcessDesc_ | ( | self, | |
myname | |||
) |
Reimplemented from Mixins._TypedParameterizable.
Definition at line 101 of file Modules.py.
References Modules.ESPrefer._targetLabel, MuonTypeByOrCut.type_, L1TMuonOverlapParams::Node.type_, edm::ObjectWithDict.type_, Histogram_TICLPFValidation.type_, FWJobMetadataManager::Data.type_, L1TTwinMuxParams::Node.type_, L1TMuonGlobalParams::Node.type_, FastTimeParametersESModule.type_, L1TMuonGlobalParams_PUBLIC::Node.type_, CutBasedElectronID.type_, HcalSiPMParameter.type_, L1TMuonBarrelParams::Node.type_, StringObjectFunction< T, DefaultLazyness >.type_, OpticalAlignMeasurementInfo.type_, StringCutObjectSelector< T, DefaultLazyness >.type_, ProcessCallGraph::NodeType.type_, l1t::CaloParams::Node.type_, L1TMuonBarrelKalmanParams::Node.type_, edm::eventsetup::ComponentDescription.type_, l1t::CaloSpare.type_, reco::MuonMETCorrectionData.type_, omtf::RpcDataWord64.type_, omtf::RpcDataWord64::.type_, edm::ESParentContext.type_, HcalSiPMParametersGPU.type_, MuonIDFilterProducerForHLT.type_, MuonRefProducer.type_, HcalSiPMCharacteristics::PrecisionItem.type_, pftools::ParticleFiltrationDecision.type_, EcalDumpGeometry.type_, reco::TrackingRecHitInfo.type_, omtf::MuonDataWord64.type_, omtf::MuonDataWord64::.type_, pos::PixelTKFECParameters.type_, PGeometricTimingDet::Item.type_, pat::TriggerFilter.type_, TauDQMHistPlotter::cfgEntryProcess.type_, trklet::L1SimTrack.type_, EleEnergyRetriever.type_, NoProductErrorThrower.type_, pat::TriggerCondition.type_, l1t::TkEtMiss.type_, edm::ParentContext.type_, L1TUtmCondition.type_, MultShiftMETcorrInputProducer.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::.type_, edm::ParameterWildcardBase.type_, FastTimeTopologyBuilder.type_, edm::ConsumesInfo.type_, L1TUtmScale.type_, DBReader.type_, DQMHcalIsoTrackAlCaReco.type_, edm::AllowedLabelsDescriptionBase.type_, omtf::CscDataWord64.type_, omtf::CscDataWord64::.type_, edm::eventsetup::EventSetupRecordKey.type_, NoBranchErrorThrower.type_, l1t::BlockHeader.type_, l1t::EtSum.type_, l1extra::L1EmParticle.type_, reco::PUSubMETCandInfo.type_, l1extra::L1JetParticle.type_, fwlite::internal::DataKey.type_, GsfElectronDataAnalyzer.type_, edm::eventsetup::DataKey.type_, PPSFastLocalSimulation::Distribution.type_, edm::ParameterDescriptionBase.type_, Json::Reader::Token.type_, L1TUtmObject.type_, OpticalAlignInfo.type_, pat::JetCorrFactorsProducer.type_, Entry.type_, pos::PixelPortCardConfig.type_, FastTimeTopology.type_, l1extra::L1EtMissParticle.type_, pat::helper::AnyNumberAssociationAdaptor.type_, edm::PileUp.type_, edm::Handle< GenericObject >.type_, edm::Handle< FWGenericObject >.type_, trackerDTC::SensorModule.type_, BeamSpotObjects.type_, L1GctInternHFData.type_, edm::test::TestProcessorConfig::ProduceEntry.type_, L1GctInternEtSum.type_, reco::PFBlockElement.type_, L1GctInternHtMiss.type_, L1GctInternJetData.type_, TrackerGeometryCompare.type_, reco::BeamSpot.type_, ScoutingMuon.type_, funct::RootIntegrator.type_, GeometricDet.type_, GeometricTimingDet.type_, SiStripConfigDb::Run.type_, TrackerDpgAnalysis.type_, ConfigurableHisto.type_, Run3ScoutingMuon.type_, CandMCMatchTableProducer.type_, CSCCorrelatedLCTDigi.type_, reco::Muon.type_, GsfElectronFakeAnalyzer.type_, Mixins._TypedParameterizable.type_(), Json::Value.type_, edm::IndexIntoFile::IndexIntoFileItrImpl.type_, and Config.SubProcess.type_().
Referenced by Types.EDAlias.appendToProcessDescList_(), ExternalGeneratorFilter.ExternalGeneratorFilter.insertInto(), and Types.EDAlias.insertInto().
def Modules.ESPrefer.targetLabel_ | ( | self | ) |
Definition at line 110 of file Modules.py.
References Modules.ESPrefer._targetLabel.
|
private |
Definition at line 92 of file Modules.py.
Referenced by Modules.ESPrefer.copy(), Modules.ESPrefer.dumpPythonAs(), Modules.ESPrefer.moduleLabel_(), Modules.ESPrefer.nameInProcessDesc_(), and Modules.ESPrefer.targetLabel_().