CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
Modules.ESPrefer Class Reference
Inheritance diagram for Modules.ESPrefer:

Public Member Functions

def __init__
 
def copy
 
def dumpPythonAs
 
def moduleLabel_
 
def nameInProcessDesc_
 
def targetLabel_
 

Private Member Functions

def _placeImpl
 

Private Attributes

 _targetLabel
 

Detailed Description

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.

Constructor & Destructor Documentation

def Modules.ESPrefer.__init__ (   self,
  type_,
  targetLabel = '',
  arg,
  kargs 
)

Definition at line 90 of file Modules.py.

90 
91  def __init__(self,type_,targetLabel='',*arg,**kargs):
92  super(ESPrefer,self).__init__(type_,*arg,**kargs)
93  self._targetLabel = targetLabel
94  if targetLabel is None:
95  self._targetLabel = str('')
96  if kargs:
97  for k,v in kargs.items():
98  if not isinstance(v,vstring):
raise RuntimeError('ESPrefer only allows vstring attributes. "'+k+'" is a '+str(type(v)))
#define str(s)

Member Function Documentation

def Modules.ESPrefer._placeImpl (   self,
  name,
  proc 
)
private

Definition at line 99 of file Modules.py.

Referenced by SequenceTypes._ModuleSequenceType._place(), and Mixins._TypedParameterizable._place().

99 
100  def _placeImpl(self,name,proc):
proc._placeESPrefer(name,self)
def Modules.ESPrefer.copy (   self)

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_, StringObjectFunction< reco::PFTau >.type_, L1TMuonBarrelParams::Node.type_, StringCutObjectSelector< pat::Muon, false >.type_, StringCutObjectSelector< T, Lazy >.type_, StringObjectFunction< Object >.type_, StringCutObjectSelector< reco::TrackRef, false >.type_, StringCutObjectSelector< reco::Jet, true >.type_, StringCutObjectSelector< reco::reco::Vertex >.type_, StringObjectFunction< pat::TriggerObjectStandAlone >.type_, StringCutObjectSelector< reco::RecoTauPiZero >.type_, StringCutObjectSelector< reco::Track >.type_, StringCutObjectSelector< reco::PFRecoTauChargedHadron >.type_, StringCutObjectSelector< l1extra::L1EtMissParticle >.type_, StringCutObjectSelector< reco::GenMET >.type_, StringCutObjectSelector< l1extra::L1MuonParticle >.type_, StringCutObjectSelector< pat::Muon >.type_, StringCutObjectSelector< l1t::l1t::HGCalMulticluster >.type_, StringCutObjectSelector< typename Classifier::Categories >.type_, StringCutObjectSelector< reco::CaloMET, true >.type_, StringCutObjectSelector< reco::MET, true >.type_, StringCutObjectSelector< l1t::HGCalMulticluster >.type_, StringCutObjectSelector< T >.type_, StringCutObjectSelector< pat::pat::Electron >.type_, StringCutObjectSelector< Object >.type_, StringCutObjectSelector< reco::Muon, true >.type_, StringCutObjectSelector< reco::MET >.type_, StringCutObjectSelector< reco::Photon >.type_, StringCutObjectSelector< pat::IsolatedTrack >.type_, StringCutObjectSelector< PFTau >.type_, StringCutObjectSelector< pat::pat::IsolatedTrack >.type_, StringCutObjectSelector< pat::Electron >.type_, StringCutObjectSelector< reco::Vertex >.type_, StringCutObjectSelector< reco::PFTau >.type_, StringCutObjectSelector< reco::Candidate >.type_, StringCutObjectSelector< pat::Photon >.type_, StringCutObjectSelector< pat::pat::Muon >.type_, StringObjectFunction< T, DefaultLazyness >.type_, StringCutObjectSelector< trigger::TriggerObject >.type_, StringCutObjectSelector< reco::GsfElectron, true >.type_, StringCutObjectSelector< reco::PFJet, true >.type_, StringObjectFunction< reco::Candidate, true >.type_, StringCutObjectSelector< MuonPointerPair, true >.type_, StringCutObjectSelector< TInputCandidateType >.type_, StringCutObjectSelector< reco::CaloJet >.type_, StringCutObjectSelector< T, true >.type_, StringCutObjectSelector< reco::GsfElectron >.type_, StringCutObjectSelector< pat::pat::DiObjectProxy >.type_, StringCutObjectSelector< reco::utils::ClusterTotals >.type_, StringCutObjectSelector< reco::CaloMET >.type_, StringCutObjectSelector< reco::Photon, true >.type_, StringCutObjectSelector< INP_TYPE, true >.type_, StringCutObjectSelector< reco::Candidate, true >.type_, StringCutObjectSelector< pat::DiObjectProxy, true >.type_, StringCutObjectSelector< reco::Muon, false >.type_, StringCutObjectSelector< reco::Track, true >.type_, StringCutObjectSelector< reco::PFJet >.type_, StringCutObjectSelector< reco::Muon >.type_, StringCutObjectSelector< reco::CaloMuon, false >.type_, StringCutObjectSelector< reco::CaloJet, true >.type_, StringObjectFunction< reco::Jet >.type_, StringObjectFunction< std::vector< TOutputCandidateType > >.type_, StringObjectFunction< reco::RecoTauPiZero >.type_, StringObjectFunction< reco::PFRecoTauChargedHadron >.type_, StringObjectFunction< T >.type_, StringCutObjectSelector< pat::pat::Photon >.type_, StringObjectFunction< reco::Photon >.type_, StringObjectFunction< PFTau >.type_, StringObjectFunction< reco::Candidate >.type_, StringCutObjectSelector< reco::GenParticle >.type_, vector< TOutputCandidateType >.type_, OpticalAlignMeasurementInfo.type_, StringObjectFunction< reco::GsfElectron >.type_, StringCutObjectSelector< T2 >.type_, StringObjectFunction< T, true >.type_, StringObjectFunction< l1t::HGCalMulticluster >.type_, StringObjectFunction< reco::reco::PFTau >.type_, StringCutObjectSelector< reco::GenJet >.type_, StringObjectFunction< l1t::l1t::HGCalMulticluster >.type_, StringCutObjectSelector< T1 >.type_, StringCutObjectSelector< TriggerObject >.type_, StringCutObjectSelector< pat::PackedCandidate, false >.type_, StringObjectFunction< TInputCandidateType >.type_, StringCutObjectSelector< reco::Candidate::LorentzVector, true >.type_, StringCutObjectSelector< reco::Track, false >.type_, StringCutObjectSelector< reco::Vertex, true >.type_, StringCutObjectSelector< pat::Jet >.type_, StringCutObjectSelector< T, DefaultLazyness >.type_, StringCutObjectSelector< reco::Jet >.type_, StringCutObjectSelector< reco::JetID >.type_, StringCutObjectSelector< reco::PFMET >.type_, StringCutObjectSelector< std::vector< TOutputCandidateType > >.type_, StringCutObjectSelector< ObjType, true >.type_, StringCutObjectSelector< reco::Candidate::LorentzVector >.type_, StringCutObjectSelector< pat::pat::Jet >.type_, StringCutObjectSelector< T2, true >.type_, StringCutObjectSelector< pat::Tau >.type_, StringCutObjectSelector< reco::PFCandidate >.type_, StringCutObjectSelector< pat::TriggerObjectStandAlone >.type_, StringCutObjectSelector< T1, true >.type_, ProcessCallGraph::NodeType.type_, L1TMuonBarrelKalmanParams::Node.type_, l1t::CaloParams::Node.type_, edm::eventsetup::ComponentDescription.type_, l1t::CaloSpare.type_, reco::MuonMETCorrectionData.type_, omtf::RpcDataWord64::@504::@506.type_, omtf::RpcDataWord64.type_, HcalSiPMParametersGPU.type_, edm::ESParentContext.type_, MuonIDFilterProducerForHLT.type_, MuonRefProducer.type_, HcalSiPMCharacteristics::PrecisionItem.type_, pftools::ParticleFiltrationDecision.type_, omtf::MuonDataWord64.type_, omtf::MuonDataWord64::@500::@502.type_, EcalDumpGeometry.type_, reco::TrackingRecHitInfo.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_, MultShiftMETcorrInputProducer.type_, edm::ParentContext.type_, L1TUtmCondition.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::@496::@498.type_, edm::ParameterWildcardBase.type_, FastTimeTopologyBuilder.type_, DQMHcalIsoTrackAlCaReco.type_, edm::ConsumesInfo.type_, DBReader.type_, L1TUtmScale.type_, edm::AllowedLabelsDescriptionBase.type_, omtf::CscDataWord64::@411::@413.type_, omtf::CscDataWord64.type_, edm::eventsetup::EventSetupRecordKey.type_, NoBranchErrorThrower.type_, l1t::BlockHeader.type_, l1t::EtSum.type_, reco::PUSubMETCandInfo.type_, l1extra::L1EmParticle.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::Handle< GenericObject >.type_, edm::PileUp.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_().

Referenced by SequenceTypes.Task.copyAndAdd().

105  def copy(self):
106  returnValue = ESPrefer.__new__(type(self))
107  returnValue.__init__(self.type_(), self._targetLabel)
return returnValue
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_, StringObjectFunction< reco::Candidate >.type_, L1TMuonBarrelParams::Node.type_, StringCutObjectSelector< pat::pat::Photon >.type_, StringCutObjectSelector< pat::Muon, false >.type_, StringObjectFunction< T >.type_, StringCutObjectSelector< T, Lazy >.type_, StringCutObjectSelector< reco::TrackRef, false >.type_, StringCutObjectSelector< reco::Jet, true >.type_, StringObjectFunction< std::vector< TOutputCandidateType > >.type_, StringCutObjectSelector< reco::reco::Vertex >.type_, StringCutObjectSelector< reco::RecoTauPiZero >.type_, StringCutObjectSelector< reco::Track >.type_, StringCutObjectSelector< reco::PFRecoTauChargedHadron >.type_, StringCutObjectSelector< l1extra::L1EtMissParticle >.type_, StringCutObjectSelector< reco::GenMET >.type_, StringCutObjectSelector< l1extra::L1MuonParticle >.type_, StringCutObjectSelector< reco::Muon, false >.type_, StringCutObjectSelector< pat::Muon >.type_, StringCutObjectSelector< typename Classifier::Categories >.type_, StringCutObjectSelector< reco::CaloMET, true >.type_, StringCutObjectSelector< INP_TYPE, true >.type_, StringCutObjectSelector< reco::MET, true >.type_, StringCutObjectSelector< T, DefaultLazyness >.type_, StringCutObjectSelector< T >.type_, StringCutObjectSelector< reco::utils::ClusterTotals >.type_, StringCutObjectSelector< pat::pat::Electron >.type_, StringCutObjectSelector< Object >.type_, StringCutObjectSelector< reco::MET >.type_, StringCutObjectSelector< reco::Photon >.type_, StringCutObjectSelector< pat::IsolatedTrack >.type_, StringCutObjectSelector< PFTau >.type_, StringCutObjectSelector< pat::pat::IsolatedTrack >.type_, StringCutObjectSelector< reco::PFJet, true >.type_, StringObjectFunction< T, DefaultLazyness >.type_, StringCutObjectSelector< pat::Electron >.type_, StringCutObjectSelector< reco::Vertex >.type_, StringCutObjectSelector< reco::Candidate >.type_, StringCutObjectSelector< pat::Photon >.type_, StringCutObjectSelector< pat::pat::Muon >.type_, StringCutObjectSelector< trigger::TriggerObject >.type_, StringCutObjectSelector< reco::GsfElectron, true >.type_, StringObjectFunction< l1t::HGCalMulticluster >.type_, StringCutObjectSelector< reco::PFTau >.type_, StringCutObjectSelector< MuonPointerPair, true >.type_, StringCutObjectSelector< TInputCandidateType >.type_, StringCutObjectSelector< reco::CaloJet >.type_, StringCutObjectSelector< T, true >.type_, StringCutObjectSelector< reco::GsfElectron >.type_, StringCutObjectSelector< pat::pat::DiObjectProxy >.type_, StringCutObjectSelector< reco::Muon, true >.type_, StringCutObjectSelector< reco::CaloMET >.type_, StringCutObjectSelector< reco::Photon, true >.type_, StringCutObjectSelector< l1t::HGCalMulticluster >.type_, StringCutObjectSelector< reco::Candidate, true >.type_, StringCutObjectSelector< pat::DiObjectProxy, true >.type_, StringCutObjectSelector< l1t::l1t::HGCalMulticluster >.type_, StringCutObjectSelector< reco::Track, true >.type_, StringCutObjectSelector< reco::PFJet >.type_, StringCutObjectSelector< reco::Muon >.type_, StringCutObjectSelector< reco::CaloMuon, false >.type_, StringCutObjectSelector< reco::CaloJet, true >.type_, StringObjectFunction< reco::Jet >.type_, StringObjectFunction< pat::TriggerObjectStandAlone >.type_, StringObjectFunction< reco::RecoTauPiZero >.type_, StringCutObjectSelector< T1, true >.type_, StringObjectFunction< reco::PFRecoTauChargedHadron >.type_, StringObjectFunction< Object >.type_, StringObjectFunction< reco::Photon >.type_, StringCutObjectSelector< pat::Tau >.type_, StringObjectFunction< PFTau >.type_, StringCutObjectSelector< T1 >.type_, StringObjectFunction< reco::PFTau >.type_, StringCutObjectSelector< reco::Candidate::LorentzVector >.type_, StringObjectFunction< reco::GsfElectron >.type_, StringObjectFunction< T, true >.type_, StringObjectFunction< reco::Candidate, true >.type_, StringObjectFunction< reco::reco::PFTau >.type_, StringObjectFunction< l1t::l1t::HGCalMulticluster >.type_, StringCutObjectSelector< TriggerObject >.type_, OpticalAlignMeasurementInfo.type_, StringCutObjectSelector< pat::Jet >.type_, StringObjectFunction< TInputCandidateType >.type_, vector< TOutputCandidateType >.type_, StringCutObjectSelector< reco::Candidate::LorentzVector, true >.type_, StringCutObjectSelector< reco::Track, false >.type_, StringCutObjectSelector< reco::Vertex, true >.type_, StringCutObjectSelector< pat::PackedCandidate, false >.type_, StringCutObjectSelector< reco::Jet >.type_, StringCutObjectSelector< reco::JetID >.type_, StringCutObjectSelector< reco::PFMET >.type_, StringCutObjectSelector< reco::GenJet >.type_, StringCutObjectSelector< std::vector< TOutputCandidateType > >.type_, StringCutObjectSelector< ObjType, true >.type_, StringCutObjectSelector< T2 >.type_, StringCutObjectSelector< pat::pat::Jet >.type_, StringCutObjectSelector< T2, true >.type_, StringCutObjectSelector< reco::GenParticle >.type_, StringCutObjectSelector< reco::PFCandidate >.type_, StringCutObjectSelector< pat::TriggerObjectStandAlone >.type_, L1TMuonBarrelKalmanParams::Node.type_, ProcessCallGraph::NodeType.type_, l1t::CaloParams::Node.type_, edm::eventsetup::ComponentDescription.type_, l1t::CaloSpare.type_, reco::MuonMETCorrectionData.type_, omtf::RpcDataWord64::@504::@506.type_, omtf::RpcDataWord64.type_, HcalSiPMParametersGPU.type_, MuonIDFilterProducerForHLT.type_, edm::ESParentContext.type_, MuonRefProducer.type_, HcalSiPMCharacteristics::PrecisionItem.type_, reco::TrackingRecHitInfo.type_, pftools::ParticleFiltrationDecision.type_, omtf::MuonDataWord64::@500::@502.type_, EcalDumpGeometry.type_, omtf::MuonDataWord64.type_, PGeometricTimingDet::Item.type_, pat::TriggerFilter.type_, pos::PixelTKFECParameters.type_, TauDQMHistPlotter::cfgEntryProcess.type_, EleEnergyRetriever.type_, trklet::L1SimTrack.type_, NoProductErrorThrower.type_, pat::TriggerCondition.type_, l1t::TkEtMiss.type_, MultShiftMETcorrInputProducer.type_, edm::ParentContext.type_, L1TUtmCondition.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::@496::@498.type_, edm::ParameterWildcardBase.type_, FastTimeTopologyBuilder.type_, DQMHcalIsoTrackAlCaReco.type_, edm::ConsumesInfo.type_, DBReader.type_, L1TUtmScale.type_, edm::AllowedLabelsDescriptionBase.type_, omtf::CscDataWord64.type_, omtf::CscDataWord64::@411::@413.type_, edm::eventsetup::EventSetupRecordKey.type_, NoBranchErrorThrower.type_, l1t::BlockHeader.type_, l1t::EtSum.type_, reco::PUSubMETCandInfo.type_, l1extra::L1EmParticle.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::Handle< GenericObject >.type_, edm::PileUp.type_, trackerDTC::SensorModule.type_, edm::Handle< FWGenericObject >.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_().

113  def dumpPythonAs(self, label, options=PrintOptions()):
114  result = options.indentation()
115  basename = self._targetLabel
116  if basename == '':
117  basename = self.type_()
118  if options.isCfg:
119  # do either type or label
120  result += 'process.prefer("'+basename+'"'
121  if self.parameterNames_():
122  result += ",\n"+_Parameterizable.dumpPython(self,options)+options.indentation()
123  result +=')\n'
124  else:
125  # use the base class Module
126  result += 'es_prefer_'+basename+' = cms.ESPrefer("'+self.type_()+'"'
127  if self._targetLabel != '':
128  result += ',"'+self._targetLabel+'"'
129  if self.parameterNames_():
130  result += ",\n"+_Parameterizable.dumpPython(self,options)+options.indentation()
131  result += ')\n'
132  return result
def Modules.ESPrefer.moduleLabel_ (   self,
  myname 
)

Definition at line 108 of file Modules.py.

References Modules.ESPrefer._targetLabel.

Referenced by ExternalGeneratorFilter.ExternalGeneratorFilter.insertInto(), and Modules.SwitchProducer.insertInto().

109  def moduleLabel_(self, myname):
return self._targetLabel
def Modules.ESPrefer.nameInProcessDesc_ (   self,
  myname 
)

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_, StringObjectFunction< reco::PFTau >.type_, L1TMuonBarrelParams::Node.type_, StringCutObjectSelector< pat::Muon, false >.type_, StringCutObjectSelector< T, Lazy >.type_, StringObjectFunction< Object >.type_, StringCutObjectSelector< reco::TrackRef, false >.type_, StringCutObjectSelector< reco::Jet, true >.type_, StringCutObjectSelector< reco::reco::Vertex >.type_, StringObjectFunction< pat::TriggerObjectStandAlone >.type_, StringCutObjectSelector< reco::RecoTauPiZero >.type_, StringCutObjectSelector< reco::Track >.type_, StringCutObjectSelector< reco::PFRecoTauChargedHadron >.type_, StringCutObjectSelector< l1extra::L1EtMissParticle >.type_, StringCutObjectSelector< reco::GenMET >.type_, StringCutObjectSelector< l1extra::L1MuonParticle >.type_, StringCutObjectSelector< pat::Muon >.type_, StringCutObjectSelector< l1t::l1t::HGCalMulticluster >.type_, StringCutObjectSelector< typename Classifier::Categories >.type_, StringCutObjectSelector< reco::CaloMET, true >.type_, StringCutObjectSelector< reco::MET, true >.type_, StringCutObjectSelector< l1t::HGCalMulticluster >.type_, StringCutObjectSelector< T >.type_, StringCutObjectSelector< pat::pat::Electron >.type_, StringCutObjectSelector< Object >.type_, StringCutObjectSelector< reco::Muon, true >.type_, StringCutObjectSelector< reco::MET >.type_, StringCutObjectSelector< reco::Photon >.type_, StringCutObjectSelector< pat::IsolatedTrack >.type_, StringCutObjectSelector< PFTau >.type_, StringCutObjectSelector< pat::pat::IsolatedTrack >.type_, StringCutObjectSelector< pat::Electron >.type_, StringCutObjectSelector< reco::Vertex >.type_, StringCutObjectSelector< reco::PFTau >.type_, StringCutObjectSelector< reco::Candidate >.type_, StringCutObjectSelector< pat::Photon >.type_, StringCutObjectSelector< pat::pat::Muon >.type_, StringObjectFunction< T, DefaultLazyness >.type_, StringCutObjectSelector< trigger::TriggerObject >.type_, StringCutObjectSelector< reco::GsfElectron, true >.type_, StringCutObjectSelector< reco::PFJet, true >.type_, StringObjectFunction< reco::Candidate, true >.type_, StringCutObjectSelector< MuonPointerPair, true >.type_, StringCutObjectSelector< TInputCandidateType >.type_, StringCutObjectSelector< reco::CaloJet >.type_, StringCutObjectSelector< T, true >.type_, StringCutObjectSelector< reco::GsfElectron >.type_, StringCutObjectSelector< pat::pat::DiObjectProxy >.type_, StringCutObjectSelector< reco::utils::ClusterTotals >.type_, StringCutObjectSelector< reco::CaloMET >.type_, StringCutObjectSelector< reco::Photon, true >.type_, StringCutObjectSelector< INP_TYPE, true >.type_, StringCutObjectSelector< reco::Candidate, true >.type_, StringCutObjectSelector< pat::DiObjectProxy, true >.type_, StringCutObjectSelector< reco::Muon, false >.type_, StringCutObjectSelector< reco::Track, true >.type_, StringCutObjectSelector< reco::PFJet >.type_, StringCutObjectSelector< reco::Muon >.type_, StringCutObjectSelector< reco::CaloMuon, false >.type_, StringCutObjectSelector< reco::CaloJet, true >.type_, StringObjectFunction< reco::Jet >.type_, StringObjectFunction< std::vector< TOutputCandidateType > >.type_, StringObjectFunction< reco::RecoTauPiZero >.type_, StringObjectFunction< reco::PFRecoTauChargedHadron >.type_, StringObjectFunction< T >.type_, StringCutObjectSelector< pat::pat::Photon >.type_, StringObjectFunction< reco::Photon >.type_, StringObjectFunction< PFTau >.type_, StringObjectFunction< reco::Candidate >.type_, StringCutObjectSelector< reco::GenParticle >.type_, vector< TOutputCandidateType >.type_, OpticalAlignMeasurementInfo.type_, StringObjectFunction< reco::GsfElectron >.type_, StringCutObjectSelector< T2 >.type_, StringObjectFunction< T, true >.type_, StringObjectFunction< l1t::HGCalMulticluster >.type_, StringObjectFunction< reco::reco::PFTau >.type_, StringCutObjectSelector< reco::GenJet >.type_, StringObjectFunction< l1t::l1t::HGCalMulticluster >.type_, StringCutObjectSelector< T1 >.type_, StringCutObjectSelector< TriggerObject >.type_, StringCutObjectSelector< pat::PackedCandidate, false >.type_, StringObjectFunction< TInputCandidateType >.type_, StringCutObjectSelector< reco::Candidate::LorentzVector, true >.type_, StringCutObjectSelector< reco::Track, false >.type_, StringCutObjectSelector< reco::Vertex, true >.type_, StringCutObjectSelector< pat::Jet >.type_, StringCutObjectSelector< T, DefaultLazyness >.type_, StringCutObjectSelector< reco::Jet >.type_, StringCutObjectSelector< reco::JetID >.type_, StringCutObjectSelector< reco::PFMET >.type_, StringCutObjectSelector< std::vector< TOutputCandidateType > >.type_, StringCutObjectSelector< ObjType, true >.type_, StringCutObjectSelector< reco::Candidate::LorentzVector >.type_, StringCutObjectSelector< pat::pat::Jet >.type_, StringCutObjectSelector< T2, true >.type_, StringCutObjectSelector< pat::Tau >.type_, StringCutObjectSelector< reco::PFCandidate >.type_, StringCutObjectSelector< pat::TriggerObjectStandAlone >.type_, StringCutObjectSelector< T1, true >.type_, ProcessCallGraph::NodeType.type_, L1TMuonBarrelKalmanParams::Node.type_, l1t::CaloParams::Node.type_, edm::eventsetup::ComponentDescription.type_, l1t::CaloSpare.type_, reco::MuonMETCorrectionData.type_, omtf::RpcDataWord64::@504::@506.type_, omtf::RpcDataWord64.type_, HcalSiPMParametersGPU.type_, edm::ESParentContext.type_, MuonIDFilterProducerForHLT.type_, MuonRefProducer.type_, HcalSiPMCharacteristics::PrecisionItem.type_, pftools::ParticleFiltrationDecision.type_, omtf::MuonDataWord64.type_, omtf::MuonDataWord64::@500::@502.type_, EcalDumpGeometry.type_, reco::TrackingRecHitInfo.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_, MultShiftMETcorrInputProducer.type_, edm::ParentContext.type_, L1TUtmCondition.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::@496::@498.type_, edm::ParameterWildcardBase.type_, FastTimeTopologyBuilder.type_, DQMHcalIsoTrackAlCaReco.type_, edm::ConsumesInfo.type_, DBReader.type_, L1TUtmScale.type_, edm::AllowedLabelsDescriptionBase.type_, omtf::CscDataWord64::@411::@413.type_, omtf::CscDataWord64.type_, edm::eventsetup::EventSetupRecordKey.type_, NoBranchErrorThrower.type_, l1t::BlockHeader.type_, l1t::EtSum.type_, reco::PUSubMETCandInfo.type_, l1extra::L1EmParticle.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::Handle< GenericObject >.type_, edm::PileUp.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_().

Referenced by Types.EDAlias.appendToProcessDescList_(), ExternalGeneratorFilter.ExternalGeneratorFilter.insertInto(), Modules.SwitchProducer.insertInto(), and Types.EDAlias.insertInto().

102  def nameInProcessDesc_(self, myname):
103  # the C++ parser can give it a name like "label@prefer". Get rid of that.
return "esprefer_" + self.type_() + "@" + self._targetLabel
def nameInProcessDesc_
Definition: Modules.py:101
def Modules.ESPrefer.targetLabel_ (   self)

Definition at line 110 of file Modules.py.

References Modules.ESPrefer._targetLabel.

111  def targetLabel_(self):
return self._targetLabel

Member Data Documentation

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_().