CMS 3D CMS Logo

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

Public Member Functions

def __init__ (self, type_, *arg, **kargs)
 
def isLeaf (self)
 
def moduleLabel_ (self, myname)
 
def nameInProcessDesc_ (self, myname)
 
- Public Member Functions inherited from Mixins._TypedParameterizable
def appendToProcessDescList_ (self, lst, myname)
 
def clone (self, *args, **params)
 
def copy (self)
 
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 _isTaskComponent (self)
 
def _placeImpl (self, name, proc)
 

Detailed Description

Definition at line 33 of file Modules.py.

Constructor & Destructor Documentation

◆ __init__()

def Modules.ESSource.__init__ (   self,
  type_,
arg,
**  kargs 
)

Reimplemented from Mixins._TypedParameterizable.

Definition at line 34 of file Modules.py.

34  def __init__(self,type_,*arg,**kargs):
35  super(ESSource,self).__init__(type_,*arg,**kargs)
36  saveOrigin(self, 1)

References Mixins.saveOrigin().

Member Function Documentation

◆ _isTaskComponent()

def Modules.ESSource._isTaskComponent (   self)
private

Reimplemented from Mixins._ConfigureComponent.

Definition at line 49 of file Modules.py.

49  def _isTaskComponent(self):
50  return True

◆ _placeImpl()

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

Definition at line 37 of file Modules.py.

37  def _placeImpl(self,name,proc):
38  if name == '':
39  name=self.type_()
40  proc._placeESSource(name,self)

References MuonTypeByOrCut.type_, L1TMuonOverlapParams::Node.type_, edm::ObjectWithDict.type_, Histogram_TICLPFValidation.type_, FWJobMetadataManager::Data.type_, L1TTwinMuxParams::Node.type_, FastTimeParametersESModule.type_, L1TMuonGlobalParams_PUBLIC::Node.type_, CutBasedElectronID.type_, L1TMuonGlobalParams::Node.type_, HcalSiPMParameter.type_, StringCutObjectSelector< T, DefaultLazyness >.type_, OpticalAlignMeasurementInfo.type_, StringObjectFunction< T, DefaultLazyness >.type_, L1TMuonBarrelParams::Node.type_, ProcessCallGraph::NodeType.type_, l1t::CaloParams::Node.type_, l1t::CaloSpare.type_, edm::eventsetup::ComponentDescription.type_, reco::MuonMETCorrectionData.type_, omtf::RpcDataWord64.type_, omtf::RpcDataWord64::.type_, MuonIDFilterProducerForHLT.type_, MuonRefProducer.type_, HcalSiPMCharacteristics::PrecisionItem.type_, reco::TrackingRecHitInfo.type_, pftools::ParticleFiltrationDecision.type_, omtf::MuonDataWord64.type_, omtf::MuonDataWord64::.type_, PGeometricTimingDet::Item.type_, pos::PixelTKFECParameters.type_, pat::TriggerFilter.type_, TauDQMHistPlotter::cfgEntryProcess.type_, EleEnergyRetriever.type_, NoProductErrorThrower.type_, pat::TriggerCondition.type_, trklet::L1SimTrack.type_, l1t::TkEtMiss.type_, L1TUtmCondition.type_, edm::ParentContext.type_, MultShiftMETcorrInputProducer.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::.type_, edm::ParameterWildcardBase.type_, l1t::BlockHeader.type_, FastTimeTopologyBuilder.type_, edm::ConsumesInfo.type_, L1TUtmScale.type_, DBReader.type_, DQMHcalIsoTrackAlCaReco.type_, edm::AllowedLabelsDescriptionBase.type_, omtf::CscDataWord64::.type_, omtf::CscDataWord64.type_, GsfElectronDataAnalyzer.type_, edm::eventsetup::EventSetupRecordKey.type_, GlobalVariablesTableProducer::Variable.type_, NoBranchErrorThrower.type_, l1t::EtSum.type_, l1extra::L1EmParticle.type_, l1extra::L1JetParticle.type_, reco::PUSubMETCandInfo.type_, fwlite::internal::DataKey.type_, SimpleFlatTableProducerBase< T, TProd >::VariableBase.type_, edm::eventsetup::DataKey.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_, trackerDTC::SensorModule.type_, edm::Handle< FWGenericObject >.type_, L1GctInternHFData.type_, BeamSpotObjects.type_, edm::test::TestProcessorConfig::ProduceEntry.type_, reco::PFBlockElement.type_, L1GctInternEtSum.type_, L1GctInternHtMiss.type_, L1GctInternJetData.type_, reco::BeamSpot.type_, ScoutingMuon.type_, funct::RootIntegrator.type_, GeometricTimingDet.type_, SiStripConfigDb::Run.type_, TrackerDpgAnalysis.type_, CandMCMatchTableProducer.type_, CSCCorrelatedLCTDigi.type_, ConfigurableHisto.type_, Run3ScoutingMuon.type_, reco::Muon.type_, GsfElectronFakeAnalyzer.type_, Mixins._TypedParameterizable.type_(), Json::Value.type_, edm::IndexIntoFile::IndexIntoFileItrImpl.type_, and Config.SubProcess.type_().

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

◆ isLeaf()

def Modules.ESSource.isLeaf (   self)

Definition at line 51 of file Modules.py.

51  def isLeaf(self):
52  return True
53 

◆ moduleLabel_()

def Modules.ESSource.moduleLabel_ (   self,
  myname 
)

Reimplemented from Mixins._TypedParameterizable.

Definition at line 41 of file Modules.py.

41  def moduleLabel_(self,myname):
42  result = myname
43  if self.type_() == myname:
44  result = ""
45  return result

References MuonTypeByOrCut.type_, L1TMuonOverlapParams::Node.type_, edm::ObjectWithDict.type_, Histogram_TICLPFValidation.type_, FWJobMetadataManager::Data.type_, L1TTwinMuxParams::Node.type_, FastTimeParametersESModule.type_, L1TMuonGlobalParams_PUBLIC::Node.type_, CutBasedElectronID.type_, L1TMuonGlobalParams::Node.type_, HcalSiPMParameter.type_, StringCutObjectSelector< T, DefaultLazyness >.type_, OpticalAlignMeasurementInfo.type_, StringObjectFunction< T, DefaultLazyness >.type_, L1TMuonBarrelParams::Node.type_, ProcessCallGraph::NodeType.type_, l1t::CaloParams::Node.type_, l1t::CaloSpare.type_, edm::eventsetup::ComponentDescription.type_, reco::MuonMETCorrectionData.type_, omtf::RpcDataWord64.type_, omtf::RpcDataWord64::.type_, MuonIDFilterProducerForHLT.type_, MuonRefProducer.type_, HcalSiPMCharacteristics::PrecisionItem.type_, reco::TrackingRecHitInfo.type_, pftools::ParticleFiltrationDecision.type_, omtf::MuonDataWord64.type_, omtf::MuonDataWord64::.type_, PGeometricTimingDet::Item.type_, pos::PixelTKFECParameters.type_, pat::TriggerFilter.type_, TauDQMHistPlotter::cfgEntryProcess.type_, EleEnergyRetriever.type_, NoProductErrorThrower.type_, pat::TriggerCondition.type_, trklet::L1SimTrack.type_, l1t::TkEtMiss.type_, L1TUtmCondition.type_, edm::ParentContext.type_, MultShiftMETcorrInputProducer.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::.type_, edm::ParameterWildcardBase.type_, l1t::BlockHeader.type_, FastTimeTopologyBuilder.type_, edm::ConsumesInfo.type_, L1TUtmScale.type_, DBReader.type_, DQMHcalIsoTrackAlCaReco.type_, edm::AllowedLabelsDescriptionBase.type_, omtf::CscDataWord64::.type_, omtf::CscDataWord64.type_, GsfElectronDataAnalyzer.type_, edm::eventsetup::EventSetupRecordKey.type_, GlobalVariablesTableProducer::Variable.type_, NoBranchErrorThrower.type_, l1t::EtSum.type_, l1extra::L1EmParticle.type_, l1extra::L1JetParticle.type_, reco::PUSubMETCandInfo.type_, fwlite::internal::DataKey.type_, SimpleFlatTableProducerBase< T, TProd >::VariableBase.type_, edm::eventsetup::DataKey.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_, trackerDTC::SensorModule.type_, edm::Handle< FWGenericObject >.type_, L1GctInternHFData.type_, BeamSpotObjects.type_, edm::test::TestProcessorConfig::ProduceEntry.type_, reco::PFBlockElement.type_, L1GctInternEtSum.type_, L1GctInternHtMiss.type_, L1GctInternJetData.type_, reco::BeamSpot.type_, ScoutingMuon.type_, funct::RootIntegrator.type_, GeometricTimingDet.type_, SiStripConfigDb::Run.type_, TrackerDpgAnalysis.type_, CandMCMatchTableProducer.type_, CSCCorrelatedLCTDigi.type_, ConfigurableHisto.type_, Run3ScoutingMuon.type_, reco::Muon.type_, GsfElectronFakeAnalyzer.type_, Mixins._TypedParameterizable.type_(), Json::Value.type_, edm::IndexIntoFile::IndexIntoFileItrImpl.type_, and Config.SubProcess.type_().

Referenced by ExternalGeneratorFilter.ExternalGeneratorFilter.insertInto().

◆ nameInProcessDesc_()

def Modules.ESSource.nameInProcessDesc_ (   self,
  myname 
)

Reimplemented from Mixins._TypedParameterizable.

Definition at line 46 of file Modules.py.

46  def nameInProcessDesc_(self, myname):
47  result = self.type_() + "@" + self.moduleLabel_(myname)
48  return result

References FWJobMetadataManager::Data.moduleLabel_, PFMatchedCandidateRefExtractor.moduleLabel_, edm::ModuleLabelMatch.moduleLabel_, GBRForestWriter.moduleLabel_, HPSPFTauProducer.moduleLabel_, edm::BranchKey.moduleLabel_, MuonMETcorrInputProducer.moduleLabel_, ShiftedJetProducerByMatchedObjectT< T >.moduleLabel_, SysShiftMETcorrInputProducer.moduleLabel_, Type0PFMETcorrInputProducer.moduleLabel_, NoPileUpPFMEtProducer.moduleLabel_, PFCandMETcorrInputProducer.moduleLabel_, PFchsMETcorrInputProducer.moduleLabel_, ShiftedPFCandidateProducerForPFMVAMEt.moduleLabel_, MultShiftMETcorrInputProducer.moduleLabel_, MultShiftMETcorrDBInputProducer.moduleLabel_, ShiftedParticleProducer.moduleLabel_, edm::ESTagGetter::Info.moduleLabel_, TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >.moduleLabel_, NoPileUpPFMEtDataProducer.moduleLabel_, ShiftedPFCandidateProducerForPFNoPUMEt.moduleLabel_, PATTauDiscriminationAgainstElectronMVA6.moduleLabel_, BoostedTauSeedsProducer.moduleLabel_, PFRecoTauDiscriminationAgainstElectronMVA6.moduleLabel_, RecoTauGenericJetRegionProducer< JetType, CandType >.moduleLabel_, edm::ESConsumesInfoEntry.moduleLabel_, TauDiscriminationAgainstElectronDeadECAL< TauType, TauDiscriminator >.moduleLabel_, SubjetFilterAlgorithm.moduleLabel_, pat::TauJetCorrFactorsProducer.moduleLabel_, PFRecoTauDiscriminationAgainstMuonSimple.moduleLabel_, JetIdSelector< T >.moduleLabel_, PFRecoTauChargedHadronProducer.moduleLabel_, edm::ModuleDescription.moduleLabel_, edm::ProductSelectorRules::Rule.moduleLabel_, ObjectViewMatcher< T1, T2 >.moduleLabel_, MinMETProducerT< T >.moduleLabel_, PFRecoTauDiscriminationAgainstMuon2.moduleLabel_, TauTagValidation.moduleLabel_, ObjectViewCleaner< T >.moduleLabel_, PFRecoTauDiscriminationAgainstMuon2Container.moduleLabel_, ShiftedParticleProducerT< T >.moduleLabel_, PFRecoTauDiscriminationAgainstMuonMVA.moduleLabel_, TauDiscriminationProducerBase< TauType, TauDiscriminator, TauDiscriminatorDataType, ConsumeType >.moduleLabel_, HLTMuonMatchAndPlot.moduleLabel_, CorrectedMETProducerT< T >.moduleLabel_, PFRecoTauDiscriminationByIsolationMVA2.moduleLabel_, edm::test::TestProcessorConfig::ProduceEntry.moduleLabel_, VirtualJetProducer.moduleLabel_, reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2.moduleLabel_, reco::tau::PATTauDiscriminationByMVAIsolationRun2.moduleLabel_, ShiftedJetProducerT< T, Textractor >.moduleLabel_, CaloJetMETcorrInputProducerT< T, Textractor >.moduleLabel_, PFRecoTauDiscriminationByIsolation.moduleLabel_, JetCleanerForType1METT< T, Textractor >.moduleLabel_, edm::PoolOutputModule.moduleLabel_, edm::BranchDescription.moduleLabel_, PFRecoTauDiscriminationByIsolationContainer.moduleLabel_, PFJetMETcorrInputProducerT< T, Textractor >.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_, FastTimeParametersESModule.type_, CutBasedElectronID.type_, L1TMuonGlobalParams_PUBLIC::Node.type_, L1TMuonGlobalParams::Node.type_, HcalSiPMParameter.type_, StringCutObjectSelector< T, DefaultLazyness >.type_, OpticalAlignMeasurementInfo.type_, StringObjectFunction< T, DefaultLazyness >.type_, L1TMuonBarrelParams::Node.type_, l1t::CaloParams::Node.type_, ProcessCallGraph::NodeType.type_, l1t::CaloSpare.type_, edm::eventsetup::ComponentDescription.type_, reco::MuonMETCorrectionData.type_, omtf::RpcDataWord64.type_, omtf::RpcDataWord64::.type_, MuonIDFilterProducerForHLT.type_, MuonRefProducer.type_, HcalSiPMCharacteristics::PrecisionItem.type_, reco::TrackingRecHitInfo.type_, pftools::ParticleFiltrationDecision.type_, omtf::MuonDataWord64.type_, omtf::MuonDataWord64::.type_, pos::PixelTKFECParameters.type_, PGeometricTimingDet::Item.type_, pat::TriggerFilter.type_, TauDQMHistPlotter::cfgEntryProcess.type_, EleEnergyRetriever.type_, NoProductErrorThrower.type_, pat::TriggerCondition.type_, trklet::L1SimTrack.type_, l1t::TkEtMiss.type_, L1TUtmCondition.type_, MultShiftMETcorrInputProducer.type_, edm::ParentContext.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::.type_, l1t::BlockHeader.type_, edm::ParameterWildcardBase.type_, FastTimeTopologyBuilder.type_, edm::ConsumesInfo.type_, DBReader.type_, DQMHcalIsoTrackAlCaReco.type_, L1TUtmScale.type_, edm::AllowedLabelsDescriptionBase.type_, omtf::CscDataWord64::.type_, omtf::CscDataWord64.type_, GsfElectronDataAnalyzer.type_, edm::eventsetup::EventSetupRecordKey.type_, GlobalVariablesTableProducer::Variable.type_, NoBranchErrorThrower.type_, l1t::EtSum.type_, reco::PUSubMETCandInfo.type_, l1extra::L1JetParticle.type_, l1extra::L1EmParticle.type_, fwlite::internal::DataKey.type_, SimpleFlatTableProducerBase< T, TProd >::VariableBase.type_, edm::eventsetup::DataKey.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_, trackerDTC::SensorModule.type_, edm::Handle< FWGenericObject >.type_, BeamSpotObjects.type_, L1GctInternHFData.type_, edm::test::TestProcessorConfig::ProduceEntry.type_, reco::PFBlockElement.type_, L1GctInternEtSum.type_, L1GctInternHtMiss.type_, L1GctInternJetData.type_, reco::BeamSpot.type_, ScoutingMuon.type_, funct::RootIntegrator.type_, GeometricTimingDet.type_, SiStripConfigDb::Run.type_, TrackerDpgAnalysis.type_, CandMCMatchTableProducer.type_, CSCCorrelatedLCTDigi.type_, ConfigurableHisto.type_, Run3ScoutingMuon.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().

Mixins.saveOrigin
def saveOrigin(obj, level)
Definition: Mixins.py:682