CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions
Modules.ESProducer Class Reference
Inheritance diagram for Modules.ESProducer:
Mixins._ConfigureComponent Mixins._TypedParameterizable Mixins._Unlabelable Mixins._Labelable Mixins._Parameterizable

Public Member Functions

def __init__ (self, type_, arg, kargs)
 
def isLeaf (self)
 
def moduleLabel_
 
def nameInProcessDesc_
 
- Public Member Functions inherited from Mixins._TypedParameterizable
def __init__ (self, type_, arg, kargs)
 
def appendToProcessDescList_
 
def clone (self, args, params)
 
def copy (self)
 
def directDependencies (self)
 
def dumpConfig
 
def dumpPython
 
def dumpPythonAttributes
 
def insertInto
 
def moduleLabel_
 
def nameInProcessDesc_
 
def type_ (self)
 
- Public Member Functions inherited from Mixins._Parameterizable
def __delattr__
 
def __init__ (self, arg, kargs)
 
def __repr__ (self)
 
def __setattr__
 
def dumpPython
 
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)
 
def update_ (self, d)
 
- Public Member Functions inherited from Mixins._Labelable
def __str__ (self)
 
def dumpSequenceConfig (self)
 
def dumpSequencePython
 
def hasLabel_ (self)
 
def label (self)
 
def label_ (self)
 
def setLabel
 

Private Member Functions

def _isTaskComponent (self)
 
def _placeImpl
 

Detailed Description

Definition at line 53 of file Modules.py.

Constructor & Destructor Documentation

◆ __init__()

def Modules.ESProducer.__init__ (   self,
  type_,
  arg,
  kargs 
)

Definition at line 54 of file Modules.py.

54  def __init__(self,type_,*arg,**kargs):
55  super(ESProducer,self).__init__(type_,*arg,**kargs)
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ _isTaskComponent()

def Modules.ESProducer._isTaskComponent (   self,
  bool 
)
private

Definition at line 68 of file Modules.py.

68  def _isTaskComponent(self) -> bool:
69  return True

◆ _placeImpl()

def Modules.ESProducer._placeImpl (   self,
  name 
)
private

Definition at line 56 of file Modules.py.

References MuonTypeByOrCut.type_, L1TMuonOverlapParams::Node.type_, edm::ObjectWithDict.type_, Histogram_TICLPFValidation.type_, FWJobMetadataManager::Data.type_, L1TTwinMuxParams::Node.type_, L1TMuonGlobalParams::Node.type_, L1TMuonGlobalParams_PUBLIC::Node.type_, CutBasedElectronID.type_, HcalSiPMParameter.type_, StringObjectFunction< T, DefaultLazyness >.type_, L1TMuonBarrelParams::Node.type_, StringCutObjectSelector< T, DefaultLazyness >.type_, OpticalAlignMeasurementInfo.type_, L1TMuonBarrelKalmanParams::Node.type_, l1t::CaloParams::Node.type_, ProcessCallGraph::NodeType.type_, edm::eventsetup::ComponentDescription.type_, l1t::CaloSpare.type_, reco::MuonMETCorrectionData.type_, omtf::RpcDataWord64::.type_, cond::hdf5::DataProduct.type_, omtf::RpcDataWord64.type_, edm::ESParentContext.type_, MuonIDFilterProducerForHLT.type_, HcalSiPMParametersGPU.type_, MuonRefProducer.type_, cms::cuda::host::impl::HostDeleter.type_, reco::DeDxHitInfo::DeDxHitInfoContainer.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_, EleEnergyRetriever.type_, trklet::L1SimTrack.type_, NoProductErrorThrower.type_, pat::TriggerCondition.type_, edm::ParentContext.type_, MultShiftMETcorrInputProducer.type_, edm::ConsumesInfo.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::.type_, l1t::TkEtMiss.type_, DQMHcalIsoTrackAlCaReco.type_, DBReader.type_, omtf::CscDataWord64.type_, omtf::CscDataWord64::.type_, edm::ParameterWildcardBase.type_, edm::eventsetup::EventSetupRecordKey.type_, edm::AllowedLabelsDescriptionBase.type_, L1TUtmCondition.type_, NoBranchErrorThrower.type_, l1t::BlockHeader.type_, l1extra::L1EmParticle.type_, l1extra::L1JetParticle.type_, reco::PUSubMETCandInfo.type_, edm::InputSource::ItemTypeInfo.type_, fwlite::internal::DataKey.type_, edm::eventsetup::DataKey.type_, l1t::EtSum.type_, PPSFastLocalSimulation::Distribution.type_, HDF5ProductResolver.type_, jsoncollector::Json::Reader::Token.type_, OpticalAlignInfo.type_, L1TUtmScale.type_, pat::JetCorrFactorsProducer.type_, ProductBranch.type_, Entry.type_, edm::ParameterDescriptionBase.type_, pos::PixelPortCardConfig.type_, l1extra::L1EtMissParticle.type_, pat::helper::AnyNumberAssociationAdaptor.type_, edm::Handle< GenericObject >.type_, edm::Handle< FWGenericObject >.type_, edm::PileUp.type_, L1GctInternHFData.type_, L1TUtmObject.type_, tt::SensorModule.type_, BeamSpotObjects.type_, edm::test::TestProcessorConfig::ProduceEntry.type_, L1GctInternEtSum.type_, reco::PFBlockElement.type_, L1GctInternHtMiss.type_, L1GctInternJetData.type_, l1t::MuonStub.type_, TrackerGeometryCompare.type_, reco::BeamSpot.type_, ScoutingMuon.type_, funct::RootIntegrator.type_, GeometricTimingDet.type_, SiStripConfigDb::Run.type_, GeometricDet.type_, edm::Entry.type_, TrackerDpgAnalysis.type_, ConfigurableHisto.type_, Run3ScoutingMuon.type_, CandMCMatchTableProducer.type_, CSCCorrelatedLCTDigi.type_, reco::Muon.type_, jsoncollector::Json::Value.type_, Mixins._TypedParameterizable.type_(), edm::IndexIntoFile::IndexIntoFileItrImpl.type_, Config.SubProcess.type_(), and Config.ProcessAccelerator.type_().

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

56  def _placeImpl(self,name:str,proc):
57  if name == '':
58  name=self.type_()
59  proc._placeESProducer(name,self)

◆ isLeaf()

def Modules.ESProducer.isLeaf (   self,
  bool 
)

Definition at line 70 of file Modules.py.

70  def isLeaf(self) -> bool:
71  return True
72 

◆ moduleLabel_()

def Modules.ESProducer.moduleLabel_ (   self,
  myname 
)

Definition at line 60 of file Modules.py.

References MuonTypeByOrCut.type_, L1TMuonOverlapParams::Node.type_, edm::ObjectWithDict.type_, Histogram_TICLPFValidation.type_, FWJobMetadataManager::Data.type_, L1TTwinMuxParams::Node.type_, L1TMuonGlobalParams::Node.type_, L1TMuonGlobalParams_PUBLIC::Node.type_, CutBasedElectronID.type_, HcalSiPMParameter.type_, StringObjectFunction< T, DefaultLazyness >.type_, L1TMuonBarrelParams::Node.type_, StringCutObjectSelector< T, DefaultLazyness >.type_, OpticalAlignMeasurementInfo.type_, L1TMuonBarrelKalmanParams::Node.type_, l1t::CaloParams::Node.type_, ProcessCallGraph::NodeType.type_, edm::eventsetup::ComponentDescription.type_, l1t::CaloSpare.type_, reco::MuonMETCorrectionData.type_, omtf::RpcDataWord64::.type_, cond::hdf5::DataProduct.type_, omtf::RpcDataWord64.type_, edm::ESParentContext.type_, MuonIDFilterProducerForHLT.type_, HcalSiPMParametersGPU.type_, MuonRefProducer.type_, cms::cuda::host::impl::HostDeleter.type_, reco::DeDxHitInfo::DeDxHitInfoContainer.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_, EleEnergyRetriever.type_, trklet::L1SimTrack.type_, NoProductErrorThrower.type_, pat::TriggerCondition.type_, edm::ParentContext.type_, MultShiftMETcorrInputProducer.type_, edm::ConsumesInfo.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::.type_, l1t::TkEtMiss.type_, DQMHcalIsoTrackAlCaReco.type_, DBReader.type_, omtf::CscDataWord64.type_, omtf::CscDataWord64::.type_, edm::ParameterWildcardBase.type_, edm::eventsetup::EventSetupRecordKey.type_, edm::AllowedLabelsDescriptionBase.type_, L1TUtmCondition.type_, NoBranchErrorThrower.type_, l1t::BlockHeader.type_, l1extra::L1EmParticle.type_, l1extra::L1JetParticle.type_, reco::PUSubMETCandInfo.type_, edm::InputSource::ItemTypeInfo.type_, fwlite::internal::DataKey.type_, edm::eventsetup::DataKey.type_, l1t::EtSum.type_, PPSFastLocalSimulation::Distribution.type_, HDF5ProductResolver.type_, jsoncollector::Json::Reader::Token.type_, OpticalAlignInfo.type_, L1TUtmScale.type_, pat::JetCorrFactorsProducer.type_, ProductBranch.type_, Entry.type_, edm::ParameterDescriptionBase.type_, pos::PixelPortCardConfig.type_, l1extra::L1EtMissParticle.type_, pat::helper::AnyNumberAssociationAdaptor.type_, edm::Handle< GenericObject >.type_, edm::Handle< FWGenericObject >.type_, edm::PileUp.type_, L1GctInternHFData.type_, L1TUtmObject.type_, tt::SensorModule.type_, BeamSpotObjects.type_, edm::test::TestProcessorConfig::ProduceEntry.type_, L1GctInternEtSum.type_, reco::PFBlockElement.type_, L1GctInternHtMiss.type_, L1GctInternJetData.type_, l1t::MuonStub.type_, TrackerGeometryCompare.type_, reco::BeamSpot.type_, ScoutingMuon.type_, funct::RootIntegrator.type_, GeometricTimingDet.type_, SiStripConfigDb::Run.type_, GeometricDet.type_, edm::Entry.type_, TrackerDpgAnalysis.type_, ConfigurableHisto.type_, Run3ScoutingMuon.type_, CandMCMatchTableProducer.type_, CSCCorrelatedLCTDigi.type_, reco::Muon.type_, jsoncollector::Json::Value.type_, Mixins._TypedParameterizable.type_(), edm::IndexIntoFile::IndexIntoFileItrImpl.type_, Config.SubProcess.type_(), and Config.ProcessAccelerator.type_().

Referenced by ExternalGeneratorFilter.ExternalGeneratorFilter.insertInto().

60  def moduleLabel_(self,myname:str) -> str:
61  result = myname
62  if self.type_() == myname:
63  result = ''
64  return result

◆ nameInProcessDesc_()

def Modules.ESProducer.nameInProcessDesc_ (   self,
  myname 
)

Definition at line 65 of file Modules.py.

References edm::ModuleProcessName.moduleLabel_, FWJobMetadataManager::Data.moduleLabel_, PFMatchedCandidateRefExtractor.moduleLabel_, edm::ModuleLabelMatch.moduleLabel_, HPSPFTauProducer.moduleLabel_, GBRForestWriter.moduleLabel_, edm::BranchKey.moduleLabel_, MuonMETcorrInputProducer.moduleLabel_, SysShiftMETcorrInputProducer.moduleLabel_, Type0PFMETcorrInputProducer.moduleLabel_, ShiftedJetProducerByMatchedObjectT< T >.moduleLabel_, NoPileUpPFMEtProducer.moduleLabel_, PFCandMETcorrInputProducer.moduleLabel_, PFchsMETcorrInputProducer.moduleLabel_, ShiftedPFCandidateProducerForPFMVAMEt.moduleLabel_, ShiftedParticleProducer.moduleLabel_, MultShiftMETcorrInputProducer.moduleLabel_, edm::ESTagGetter::Info.moduleLabel_, ShiftedPFCandidateProducerForPFNoPUMEt.moduleLabel_, MultShiftMETcorrDBInputProducer.moduleLabel_, TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >.moduleLabel_, RecoTauGenericJetRegionProducer< JetType, CandType >.moduleLabel_, GenericBoostedTauSeedsProducer< JetType, CandType >.moduleLabel_, TauDiscriminationAgainstElectronDeadECAL< TauType, TauDiscriminator >.moduleLabel_, SubjetFilterAlgorithm.moduleLabel_, edm::ESConsumesInfoEntry.moduleLabel_, pat::TauJetCorrFactorsProducer.moduleLabel_, TauDiscriminationAgainstElectronMVA6< TauType, TauDiscriminator, ElectronType >.moduleLabel_, PFRecoTauChargedHadronProducer.moduleLabel_, JetIdSelector< T >.moduleLabel_, edm::ModuleDescription.moduleLabel_, edm::ProductSelectorRules::Rule.moduleLabel_, MinMETProducerT< T >.moduleLabel_, ObjectViewMatcher< T1, T2 >.moduleLabel_, TauTagValidation.moduleLabel_, PFRecoTauDiscriminationAgainstMuon2.moduleLabel_, ObjectViewCleaner< T >.moduleLabel_, PFRecoTauDiscriminationAgainstMuon2Container.moduleLabel_, PFRecoTauDiscriminationAgainstMuonSimple.moduleLabel_, ShiftedParticleProducerT< T >.moduleLabel_, PFRecoTauDiscriminationAgainstMuonMVA.moduleLabel_, HLTMuonMatchAndPlot.moduleLabel_, ProductBranch.moduleLabel_, TauDiscriminationProducerBase< TauType, TauDiscriminator, TauDiscriminatorDataType, ConsumeType >.moduleLabel_, PFRecoTauDiscriminationByIsolationMVA2.moduleLabel_, edm::test::TestProcessorConfig::ProduceEntry.moduleLabel_, ALPAKA_ACCELERATOR_NAMESPACE::ESProducer.moduleLabel_, reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2.moduleLabel_, reco::tau::PATTauDiscriminationByMVAIsolationRun2.moduleLabel_, VirtualJetProducer.moduleLabel_, ShiftedJetProducerT< T, Textractor >.moduleLabel_, CaloJetMETcorrInputProducerT< T, Textractor >.moduleLabel_, PFRecoTauDiscriminationByIsolation.moduleLabel_, edm::PoolOutputModule.moduleLabel_, edm::BranchDescription.moduleLabel_, JetCleanerForType1METT< T, Textractor >.moduleLabel_, PFRecoTauDiscriminationByIsolationContainer.moduleLabel_, edm::ProductResolverIndexHelper::Item.moduleLabel_, Mixins._TypedParameterizable.moduleLabel_(), MuonTypeByOrCut.type_, L1TMuonOverlapParams::Node.type_, edm::ObjectWithDict.type_, Histogram_TICLPFValidation.type_, FWJobMetadataManager::Data.type_, L1TTwinMuxParams::Node.type_, L1TMuonGlobalParams::Node.type_, L1TMuonGlobalParams_PUBLIC::Node.type_, CutBasedElectronID.type_, HcalSiPMParameter.type_, StringObjectFunction< T, DefaultLazyness >.type_, L1TMuonBarrelParams::Node.type_, StringCutObjectSelector< T, DefaultLazyness >.type_, OpticalAlignMeasurementInfo.type_, L1TMuonBarrelKalmanParams::Node.type_, l1t::CaloParams::Node.type_, ProcessCallGraph::NodeType.type_, edm::eventsetup::ComponentDescription.type_, l1t::CaloSpare.type_, reco::MuonMETCorrectionData.type_, omtf::RpcDataWord64::.type_, cond::hdf5::DataProduct.type_, omtf::RpcDataWord64.type_, edm::ESParentContext.type_, MuonIDFilterProducerForHLT.type_, HcalSiPMParametersGPU.type_, MuonRefProducer.type_, cms::cuda::host::impl::HostDeleter.type_, reco::DeDxHitInfo::DeDxHitInfoContainer.type_, HcalSiPMCharacteristics::PrecisionItem.type_, omtf::MuonDataWord64::.type_, pftools::ParticleFiltrationDecision.type_, EcalDumpGeometry.type_, reco::TrackingRecHitInfo.type_, omtf::MuonDataWord64.type_, pos::PixelTKFECParameters.type_, PGeometricTimingDet::Item.type_, pat::TriggerFilter.type_, TauDQMHistPlotter::cfgEntryProcess.type_, EleEnergyRetriever.type_, trklet::L1SimTrack.type_, NoProductErrorThrower.type_, pat::TriggerCondition.type_, MultShiftMETcorrInputProducer.type_, edm::ParentContext.type_, edm::ConsumesInfo.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::.type_, l1t::TkEtMiss.type_, DQMHcalIsoTrackAlCaReco.type_, DBReader.type_, edm::ParameterWildcardBase.type_, omtf::CscDataWord64.type_, omtf::CscDataWord64::.type_, edm::eventsetup::EventSetupRecordKey.type_, edm::AllowedLabelsDescriptionBase.type_, L1TUtmCondition.type_, NoBranchErrorThrower.type_, l1t::BlockHeader.type_, l1extra::L1EmParticle.type_, l1extra::L1JetParticle.type_, reco::PUSubMETCandInfo.type_, edm::InputSource::ItemTypeInfo.type_, fwlite::internal::DataKey.type_, edm::eventsetup::DataKey.type_, l1t::EtSum.type_, PPSFastLocalSimulation::Distribution.type_, HDF5ProductResolver.type_, jsoncollector::Json::Reader::Token.type_, OpticalAlignInfo.type_, L1TUtmScale.type_, pat::JetCorrFactorsProducer.type_, Entry.type_, ProductBranch.type_, pos::PixelPortCardConfig.type_, edm::ParameterDescriptionBase.type_, l1extra::L1EtMissParticle.type_, pat::helper::AnyNumberAssociationAdaptor.type_, edm::Handle< GenericObject >.type_, edm::Handle< FWGenericObject >.type_, edm::PileUp.type_, L1GctInternHFData.type_, L1TUtmObject.type_, BeamSpotObjects.type_, tt::SensorModule.type_, edm::test::TestProcessorConfig::ProduceEntry.type_, L1GctInternEtSum.type_, reco::PFBlockElement.type_, L1GctInternHtMiss.type_, L1GctInternJetData.type_, l1t::MuonStub.type_, TrackerGeometryCompare.type_, reco::BeamSpot.type_, ScoutingMuon.type_, funct::RootIntegrator.type_, GeometricTimingDet.type_, SiStripConfigDb::Run.type_, GeometricDet.type_, edm::Entry.type_, TrackerDpgAnalysis.type_, ConfigurableHisto.type_, Run3ScoutingMuon.type_, CandMCMatchTableProducer.type_, CSCCorrelatedLCTDigi.type_, reco::Muon.type_, jsoncollector::Json::Value.type_, Mixins._TypedParameterizable.type_(), edm::IndexIntoFile::IndexIntoFileItrImpl.type_, Config.SubProcess.type_(), and Config.ProcessAccelerator.type_().

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

65  def nameInProcessDesc_(self, myname:str) -> str:
66  result = self.type_() + "@" + self.moduleLabel_(myname)
67  return result