CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Static Private Member Functions
Mixins._TypedParameterizable Class Reference
Inheritance diagram for Mixins._TypedParameterizable:
Mixins._Parameterizable Modules._Module Modules.ESPrefer Modules.ESProducer Modules.ESSource Modules.Looper Modules.Service Modules.Source Types.SecSource

Public Member Functions

def __init__
 
def clone
 
def copy
 
def dumpConfig
 
def dumpPython
 
def dumpPythonAttributes
 
def insertInto
 
def moduleLabel_
 
def nameInProcessDesc_
 
def type_
 
- Public Member Functions inherited from Mixins._Parameterizable
def __delattr__
 
def __init__
 
def __repr__
 
def __setattr__
 
def dumpPython
 
def getParameter
 
def hasParameter
 
def insertContentsInto
 
def isFrozen
 
def isModified
 
def parameterNames_
 
def parameters_
 
def setIsFrozen
 

Private Member Functions

def _place
 

Static Private Member Functions

def __findDefaultsFor
 

Detailed Description

Base class for classes which are Parameterizable and have a 'type' assigned

Definition at line 257 of file Mixins.py.

Constructor & Destructor Documentation

def Mixins._TypedParameterizable.__init__ (   self,
  type_,
  arg,
  kargs 
)

Definition at line 259 of file Mixins.py.

References Mixins.saveOrigin().

260  def __init__(self,type_,*arg,**kargs):
261  self.__dict__['_TypedParameterizable__type'] = type_
262  #the 'type' is also placed in the 'arg' list and we need to remove it
263  #if 'type_' not in kargs:
264  # arg = arg[1:]
265  #else:
266  # del args['type_']
267  arg = tuple([x for x in arg if x != None])
268  super(_TypedParameterizable,self).__init__(*arg,**kargs)
saveOrigin(self, 1)
def saveOrigin
Definition: Mixins.py:555

Member Function Documentation

def Mixins._TypedParameterizable.__findDefaultsFor (   label,
  type 
)
staticprivate

Definition at line 316 of file Mixins.py.

References python.multivaluedict.dict, if(), join(), list(), and split.

317  def __findDefaultsFor(label,type):
318  #This routine is no longer used, but I might revive it in the future
319  import sys
320  import glob
321  choices = list()
322  for d in sys.path:
323  choices.extend(glob.glob(d+'/*/*/'+label+'.py'))
324  if not choices:
325  return None
326  #now see if any of them have what we want
327  #the use of __import__ is taken from an example
328  # from the www.python.org documentation on __import__
329  for c in choices:
330  #print " found file "+c
331  name='.'.join(c[:-3].split('/')[-3:])
332  #name = c[:-3].replace('/','.')
333  mod = __import__(name)
334  components = name.split('.')
335  for comp in components[1:]:
336  mod = getattr(mod,comp)
337  if hasattr(mod,label):
338  default = getattr(mod,label)
339  if isinstance(default,_TypedParameterizable):
340  if(default.type_() == type):
341  params = dict()
342  for name in default.parameterNames_():
343  params[name] = getattr(default,name)
344  return params
345  return None
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
perl if(1 lt scalar(@::datatypes))
Definition: edlooper.cc:31
double split
Definition: MVATrainer.cc:139
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
def Mixins._TypedParameterizable._place (   self,
  name,
  proc 
)
private

Definition at line 269 of file Mixins.py.

References Modules.Service._placeImpl(), Modules.ESSource._placeImpl(), Modules.ESProducer._placeImpl(), Modules.ESPrefer._placeImpl(), Modules.EDProducer._placeImpl(), Modules.EDFilter._placeImpl(), Modules.EDAnalyzer._placeImpl(), Modules.OutputModule._placeImpl(), Modules.Source._placeImpl(), Modules.Looper._placeImpl(), SequenceTypes.Path._placeImpl(), SequenceTypes.EndPath._placeImpl(), SequenceTypes.Sequence._placeImpl(), and SequenceTypes.SequencePlaceholder._placeImpl().

270  def _place(self,name,proc):
self._placeImpl(name,proc)
def Mixins._TypedParameterizable.clone (   self,
  args,
  params 
)
Copies the object and allows one to modify the parameters of the clone.
New parameters may be added by specify the exact type
Modifying existing parameters can be done by just specifying the new
  value without having to specify the type.

Definition at line 284 of file Mixins.py.

References UEParameters.parameters_, PdfDiagonalizer.parameters_, reco::GsfComponent5D.parameters_, SiStripConfObjectGenerator.parameters_, Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigFolder.parameters_(), RPCDcsInfo.parameters_, DQMDcsInfoClient.parameters_, SelectReplacementCandidates.parameters_, PixelVTXMonitor.parameters_, DQMLumiMonitor.parameters_, JetResolution.parameters_, DQMDcsInfo.parameters_, AlcaBeamMonitorClient.parameters_, TkFittedLasBeam.parameters_, DQMFEDIntegrityClient.parameters_, RPCQualityTests.parameters_, DQMProvInfo.parameters_, TKStatus.parameters_, AlcaBeamMonitor.parameters_, DQMEventInfo.parameters_, DQMSourceExample.parameters_, XmasToDQMEventInfo.parameters_, BetaCalculatorECAL.parameters_, DQMOfflineHLTEventInfoClient.parameters_, BeamConditionsMonitor.parameters_, AlCaIsoTracksProducer.parameters_, L1TEventInfoClient.parameters_, BeamMonitor.parameters_, CollinearFitAtTM2.parameters_, HLTEventInfoClient.parameters_, L1TOccupancyClient.parameters_, L1TDTTPGClient.parameters_, L1TGMTClient.parameters_, RPCDqmClient.parameters_, XmasToDQMSource.parameters_, PhotonDataCertification.parameters_, L1TRPCTFClient.parameters_, HighPtTrackEcalDetIdProducer.parameters_, ElectronConversionRejectionValidator.parameters_, BeamMonitorBx.parameters_, SusyDQM< Mu, Ele, Jet, Met >.parameters_, ErrorsAnalyzer.parameters_, DQMClientExample.parameters_, ReduceHcalRecHitCollectionProducer.parameters_, FourVectorHLTClient.parameters_, HLTMuonCertSummary.parameters_, HLTOverallSummary.parameters_, HcalCorrPFCalculation.parameters_, ConversionPostprocessing.parameters_, PhotonPostprocessing.parameters_, ProduceIsolationMap.parameters_, TkConvValidator.parameters_, ValidIsoTrkCalib.parameters_, PhotonValidator.parameters_, EopTreeWriter.parameters_, ErrorsPropagationAnalyzer.parameters_, SiStripCommissioningOfflineClient.parameters_, MuonIdProducer.parameters_, HcalIsoTrkAnalyzer.parameters_, SiPixelMuonHLT.parameters_, PiZeroAnalyzer.parameters_, SiStripMonitorMuonHLT.parameters_, PhotonOfflineClient.parameters_, IsolatedTracksCone.parameters_, ZToMuMuGammaAnalyzer.parameters_, SiStripCommissioningSource.parameters_, HcalTimingMonitorModule.parameters_, Mixins._Parameterizable.parameters_(), PhotonAnalyzer.parameters_, pos::PixelCalibConfiguration.parameters_, DQMStoreStats.parameters_, Mixins.saveOrigin(), and reco::JetExtendedAssociation.setValue().

285  def clone(self, *args, **params):
286  """Copies the object and allows one to modify the parameters of the clone.
287  New parameters may be added by specify the exact type
288  Modifying existing parameters can be done by just specifying the new
289  value without having to specify the type.
290  """
291  returnValue =_TypedParameterizable.__new__(type(self))
292  myparams = self.parameters_()
293  if len(myparams) == 0 and len(params) and len(args):
294  args.append(None)
295  if len(params):
296  #need to treat items both in params and myparams specially
297  for key,value in params.iteritems():
298  if key in myparams:
299  if isinstance(value,_ParameterTypeBase):
300  myparams[key] =value
301  else:
302  myparams[key].setValue(value)
303  else:
304  if isinstance(value,_ParameterTypeBase):
305  myparams[key]=value
306  else:
307  self._Parameterizable__raiseBadSetAttr(key)
308 
309  returnValue.__init__(self.__type,*args,
310  **myparams)
311  returnValue._isModified = False
312  returnValue._isFrozen = False
313  saveOrigin(returnValue, 1)
314  return returnValue
bool setValue(Container &, const reco::JetBaseRef &, const JetExtendedData &)
associate jet with value. Returns false and associate nothing if jet is already associated ...
def saveOrigin
Definition: Mixins.py:555
def Mixins._TypedParameterizable.copy (   self)

Definition at line 274 of file Mixins.py.

References Mixins._ParameterTypeBase._isModified, Mixins._SimpleParameterTypeBase._isModified, Mixins._Parameterizable._isModified, list(), UEParameters.parameters_, PdfDiagonalizer.parameters_, reco::GsfComponent5D.parameters_, SiStripConfObjectGenerator.parameters_, Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigFolder.parameters_(), RPCDcsInfo.parameters_, DQMDcsInfoClient.parameters_, SelectReplacementCandidates.parameters_, PixelVTXMonitor.parameters_, DQMLumiMonitor.parameters_, JetResolution.parameters_, DQMDcsInfo.parameters_, AlcaBeamMonitorClient.parameters_, TkFittedLasBeam.parameters_, DQMFEDIntegrityClient.parameters_, RPCQualityTests.parameters_, DQMProvInfo.parameters_, TKStatus.parameters_, AlcaBeamMonitor.parameters_, DQMEventInfo.parameters_, DQMSourceExample.parameters_, XmasToDQMEventInfo.parameters_, BetaCalculatorECAL.parameters_, DQMOfflineHLTEventInfoClient.parameters_, BeamConditionsMonitor.parameters_, AlCaIsoTracksProducer.parameters_, L1TEventInfoClient.parameters_, BeamMonitor.parameters_, CollinearFitAtTM2.parameters_, HLTEventInfoClient.parameters_, L1TOccupancyClient.parameters_, L1TDTTPGClient.parameters_, L1TGMTClient.parameters_, RPCDqmClient.parameters_, XmasToDQMSource.parameters_, PhotonDataCertification.parameters_, L1TRPCTFClient.parameters_, HighPtTrackEcalDetIdProducer.parameters_, ElectronConversionRejectionValidator.parameters_, BeamMonitorBx.parameters_, SusyDQM< Mu, Ele, Jet, Met >.parameters_, ErrorsAnalyzer.parameters_, DQMClientExample.parameters_, ReduceHcalRecHitCollectionProducer.parameters_, FourVectorHLTClient.parameters_, HLTMuonCertSummary.parameters_, HLTOverallSummary.parameters_, HcalCorrPFCalculation.parameters_, ConversionPostprocessing.parameters_, PhotonPostprocessing.parameters_, ProduceIsolationMap.parameters_, TkConvValidator.parameters_, ValidIsoTrkCalib.parameters_, PhotonValidator.parameters_, EopTreeWriter.parameters_, ErrorsPropagationAnalyzer.parameters_, SiStripCommissioningOfflineClient.parameters_, MuonIdProducer.parameters_, HcalIsoTrkAnalyzer.parameters_, SiPixelMuonHLT.parameters_, PiZeroAnalyzer.parameters_, SiStripMonitorMuonHLT.parameters_, PhotonOfflineClient.parameters_, IsolatedTracksCone.parameters_, ZToMuMuGammaAnalyzer.parameters_, SiStripCommissioningSource.parameters_, HcalTimingMonitorModule.parameters_, Mixins._Parameterizable.parameters_(), PhotonAnalyzer.parameters_, pos::PixelCalibConfiguration.parameters_, and DQMStoreStats.parameters_.

275  def copy(self):
276  returnValue =_TypedParameterizable.__new__(type(self))
277  params = self.parameters_()
278  args = list()
279  if len(params) == 0:
280  args.append(None)
281  returnValue.__init__(self.__type,*args,
282  **params)
283  returnValue._isModified = self._isModified
return returnValue
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
def Mixins._TypedParameterizable.dumpConfig (   self,
  options = PrintOptions() 
)

Definition at line 346 of file Mixins.py.

References Mixins._Parameterizable.parameterNames_().

Referenced by Types.SecSource.configValue().

347  def dumpConfig(self, options=PrintOptions()):
348  config = self.__type +' { \n'
349  for name in self.parameterNames_():
350  param = self.__dict__[name]
351  options.indent()
352  config+=options.indentation()+param.configTypeName()+' '+name+' = '+param.configValue(options)+'\n'
353  options.unindent()
354  config += options.indentation()+'}\n'
355  return config
def Mixins._TypedParameterizable.dumpPython (   self,
  options = PrintOptions() 
)

Definition at line 356 of file Mixins.py.

References Mixins._TypedParameterizable.dumpPythonAttributes(), WriteOneGeometryFromXML.label_, RPCRecoIdealDBLoader.label_, CSCRecoIdealDBLoader.label_, DTRecoIdealDBLoader.label_, evf::EvFFEDSelector.label_, evf::EvFRecordUnpacker.label_, evf::EvFRecordInserter.label_, HcalTBTriggerFilter.label_, Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigFolder.label_(), reco::EvtPlane.label_, MCPdgIndexFilter.label_, edm::eventsetup::ComponentDescription.label_, SiStripLorentzAngleReader.label_, PythiaFilterEMJet.label_, FRDEventOutputModule< Consumer >.label_, PythiaFilterZgamma.label_, PythiaFilterGammaJet.label_, PythiaFilterGammaJetWithBg.label_, PythiaFilterGammaJetWithOutBg.label_, PythiaFilterZJet.label_, PythiaFilterZJetWithOutBg.label_, PythiaFilterGammaJetIsoPi0.label_, PixelClusterSelectorTopBottom.label_, StripClusterSelectorTopBottom.label_, pat::TriggerFilter.label_, HLTDoubletDZ< T1, T2 >.label_, edm::InputTag.label_, PythiaFilterEMJetHeep.label_, HistoProviderDQM.label_, MCSmartSingleParticleFilter.label_, edm::InputAnalyzer.label_, MCDijetResonance.label_, JetFlavourFilter.label_, MCDecayingPionKaonFilter.label_, JetFlavourCutFilter.label_, MCZll.label_, VertexMonitor.label_, PythiaDauVFilter.label_, MuonNumberingInitialization.label_, reco::Centrality.label_, MCProcessFilter.label_, MCProcessRangeFilter.label_, MCSingleParticleFilter.label_, PythiaFilter.label_, PythiaHLTSoupFilter.label_, edm::ESOutlet< T, TRec >::Getter.label_, HZZ4lFilter.label_, EcalTrigPrimProducer.label_, PythiaDauFilter.label_, MCParticlePairFilter.label_, ZgMassFilter.label_, ESDigiToRaw.label_, RandomEngineState.label_, HerwigMaxPtPartonFilter.label_, FourLepFilter.label_, DJpsiFilter.label_, HLTDoublet< T1, T2 >.label_, edm::SecSourceAnalyzer.label_, XMLIdealGeometryESProducer.label_, BsJpsiPhiFilter.label_, EcalTrigPrimAnalyzer.label_, BdecayFilter.label_, TPGCheck.label_, PythiaFilterTTBar.label_, pat::TauJetCorrFactors.label_, HSCPValidator.label_, EcalTrigPrimAnalyzerMIPs.label_, HiEgammaIsolationProducer.label_, edm::DataMixingSiPixelWorker.label_, edm::DataMixingSiStripWorker.label_, edm::DataMixingSiStripRawWorker.label_, edm::DataMixingHcalDigiWorkerProd.label_, TopSingleLepton::MonitorEnsemble.label_, TopHLTSingleLepton::MonitorEnsemble.label_, edm::DataMixingHcalWorker.label_, SiPixelCalibDigiProducer.label_, fwlite::ObjectCountSelector< Collection >.label_, edm::HiMixingWorkerBase.label_, edm::DataMixingEMWorker.label_, TopDiLeptonOffline::MonitorEnsemble.label_, pat::JetCorrFactors.label_, edm::DataMixingMuonWorker.label_, edm::DataMixingHcalDigiWorker.label_, edm::DataMixingEMDigiWorker.label_, pat::JetCorrFactorsProducer.label_, EcalDigiToRaw.label_, edm::ParameterDescriptionBase.label_, EffPurFromHistos.label_, AlgoImpl.label_, SummaryGenerator.label_, edm::ModuleLabelSelector.label_, edm::messagedrop::StringProducerWithPhase.label_, edm::DataMixingModule.label_, edm::MixingWorker< T >.label_, Mixins._Labelable.label_(), fwlite::Scanner< Collection >.label_, Mixins._Parameterizable.parameterNames_(), HLTTauDQMSummaryPlotter.type_, FWJobMetadataManager::Data.type_, CutBasedElectronID.type_, reco::MuonMETCorrectionData.type_, OpticalAlignMeasurementInfo.type_, HLTTauDQMTrkPlotter.type_, edm::eventsetup::ComponentDescription.type_, RooSpline1D.type_, StringCutObjectSelector< T, DefaultLazyness >.type_, StringObjectFunction< T, DefaultLazyness >.type_, MuonRefProducer.type_, AlignableBuilder::LevelInfo.type_, pftools::ParticleFiltrationDecision.type_, pos::PixelTKFECParameters.type_, reco::TrackingRecHitInfo.type_, TauDQMHistPlotter::cfgEntryProcess.type_, NoProductErrorThrower.type_, pat::TriggerFilter.type_, CalibAnalyzer< Ref, Rec, Alg >.type_, pat::TriggerCondition.type_, reco::parser::AnyMethodArgumentFixup.type_, HLTTauDQMFilter.type_, DBReader.type_, edm::PileUp.type_, GsfElectronDataAnalyzer.type_, edm::ParameterWildcardBase.type_, NoBranchErrorThrower.type_, edm::eventsetup::EventSetupRecordKey.type_, edm::AllowedLabelsDescriptionBase.type_, fwlite::internal::DataKey.type_, evf::FUShmRecoCell.type_, BinomialInterval.type_, pftools::CandidateWrapper.type_, OpticalAlignInfo.type_, edm::eventsetup::DataKey.type_, l1extra::L1EmParticle.type_, l1extra::L1JetParticle.type_, PFBlockLink.type_, pat::JetCorrFactorsProducer.type_, ParticleReplacerClass::MinVisPtCut.type_, Entry.type_, pos::PixelPortCardConfig.type_, edm::ParameterDescriptionBase.type_, RoadSearchCircleSeed.type_, BeamSpotObjects.type_, L1GctInternHFData.type_, l1extra::L1EtMissParticle.type_, edm::Handle< GenericObject >.type_, reco::PFBlockElement.type_, funct::RootIntegrator.type_, edm::Handle< FWGenericObject >.type_, edm::BranchDescription::Transients.type_, L1GctInternHtMiss.type_, reco::BeamSpot.type_, L1GctInternEtSum.type_, TrackerDpgAnalysis.type_, L1GctInternJetData.type_, SiStripConfigDb::Run.type_, ConfigurableHisto.type_, Ring.type_, reco::Muon.type_, Mixins._TypedParameterizable.type_(), GsfElectronFakeAnalyzer.type_, edm::IndexIntoFile::IndexIntoFileItrImpl.type_, and Config.SubProcess.type_().

357  def dumpPython(self, options=PrintOptions()):
358  result = "cms."+str(type(self).__name__)+'("'+self.type_()+'"'
359  nparam = len(self.parameterNames_())
360  if nparam == 0:
361  result += ")\n"
362  elif nparam < 256:
363  result += ",\n"+_Parameterizable.dumpPython(self,options)+options.indentation() + ")\n"
364  else:
365  # too big. Need to dump externally
366  #NOTE: in future should explore just creating a dict
367  # {'foo':cms.uint32(1), .... }
368  # and pass it to the constructor using the **{...} notation
369  label = ""
370  try:
371  label = "process."+self.label_()
372  except:
373  label = "FIX-THIS"
374  result += ")\n" + self.dumpPythonAttributes(label, options)
375  return result
def Mixins._TypedParameterizable.dumpPythonAttributes (   self,
  myname,
  options 
)
dumps the object with all attributes declared after the constructor

Definition at line 376 of file Mixins.py.

References Mixins._Parameterizable.parameterNames_().

Referenced by Mixins._TypedParameterizable.dumpPython().

377  def dumpPythonAttributes(self, myname, options):
378  """ dumps the object with all attributes declared after the constructor"""
379  result = ""
380  for name in self.parameterNames_():
381  param = self.__dict__[name]
382  result += options.indentation() + myname + "." + name + " = " + param.dumpPython(options) + "\n"
383  return result
def Mixins._TypedParameterizable.insertInto (   self,
  parameterSet,
  myname 
)

Definition at line 388 of file Mixins.py.

References Mixins._Parameterizable.insertContentsInto(), FWJobMetadataManager::Data.moduleLabel_, HLTHtMhtFilter.moduleLabel_, edm::BranchKey.moduleLabel_, ShiftedMETcorrInputProducer.moduleLabel_, MuonMETcorrInputProducer.moduleLabel_, Type0PFMETcorrInputProducer.moduleLabel_, ShiftedParticleMETcorrInputProducer.moduleLabel_, SysShiftMETcorrInputProducer.moduleLabel_, ShiftedPFCandidateProducerForPFMEtMVA.moduleLabel_, PFCandMETcorrInputProducer.moduleLabel_, PFchsMETcorrInputProducer.moduleLabel_, ShiftedPFCandidateProducerForNoPileUpPFMEt.moduleLabel_, SubjetFilterAlgorithm.moduleLabel_, pat::TauJetCorrFactorsProducer.moduleLabel_, PFRecoTauDiscriminationAgainstMuon2.moduleLabel_, ObjectViewMatcher< T1, T2 >.moduleLabel_, ObjectViewCleaner< T >.moduleLabel_, edm::GroupSelectorRules::Rule.moduleLabel_, edm::ModuleDescription.moduleLabel_, JetIdSelector< T >.moduleLabel_, MinMETProducerT< T >.moduleLabel_, TauTagValidation.moduleLabel_, HLTOfflineReproducibility.moduleLabel_, ShiftedParticleProducerT< T >.moduleLabel_, CorrectedMETProducerT< T >.moduleLabel_, PFRecoTauDiscriminationAgainstElectronMVA2.moduleLabel_, edm::PoolOutputModule.moduleLabel_, VirtualJetProducer.moduleLabel_, PFRecoTauDiscriminationAgainstElectronMVA3.moduleLabel_, PFRecoTauDiscriminationAgainstElectronDeadECAL.moduleLabel_, ShiftedJetProducerT< T, Textractor >.moduleLabel_, CaloJetMETcorrInputProducerT< T, Textractor >.moduleLabel_, edm::BranchDescription.moduleLabel_, PFJetMETcorrInputProducerT< T, Textractor >.moduleLabel_, SmearedJetProducerT< T, Textractor >.moduleLabel_, Mixins._TypedParameterizable.moduleLabel_(), Mixins._TypedParameterizable.nameInProcessDesc_(), Config.SubProcess.nameInProcessDesc_(), HLTTauDQMSummaryPlotter.type_, FWJobMetadataManager::Data.type_, CutBasedElectronID.type_, reco::MuonMETCorrectionData.type_, HLTTauDQMTrkPlotter.type_, OpticalAlignMeasurementInfo.type_, edm::eventsetup::ComponentDescription.type_, RooSpline1D.type_, StringCutObjectSelector< T, DefaultLazyness >.type_, StringObjectFunction< T, DefaultLazyness >.type_, MuonRefProducer.type_, AlignableBuilder::LevelInfo.type_, pftools::ParticleFiltrationDecision.type_, reco::TrackingRecHitInfo.type_, pos::PixelTKFECParameters.type_, TauDQMHistPlotter::cfgEntryProcess.type_, pat::TriggerFilter.type_, NoProductErrorThrower.type_, CalibAnalyzer< Ref, Rec, Alg >.type_, pat::TriggerCondition.type_, reco::parser::AnyMethodArgumentFixup.type_, HLTTauDQMFilter.type_, DBReader.type_, GsfElectronDataAnalyzer.type_, edm::PileUp.type_, edm::ParameterWildcardBase.type_, edm::eventsetup::EventSetupRecordKey.type_, NoBranchErrorThrower.type_, edm::AllowedLabelsDescriptionBase.type_, fwlite::internal::DataKey.type_, evf::FUShmRecoCell.type_, BinomialInterval.type_, pftools::CandidateWrapper.type_, OpticalAlignInfo.type_, edm::eventsetup::DataKey.type_, l1extra::L1EmParticle.type_, l1extra::L1JetParticle.type_, PFBlockLink.type_, pat::JetCorrFactorsProducer.type_, ParticleReplacerClass::MinVisPtCut.type_, Entry.type_, pos::PixelPortCardConfig.type_, edm::ParameterDescriptionBase.type_, RoadSearchCircleSeed.type_, BeamSpotObjects.type_, L1GctInternHFData.type_, l1extra::L1EtMissParticle.type_, edm::Handle< GenericObject >.type_, reco::PFBlockElement.type_, funct::RootIntegrator.type_, edm::Handle< FWGenericObject >.type_, edm::BranchDescription::Transients.type_, L1GctInternHtMiss.type_, reco::BeamSpot.type_, L1GctInternEtSum.type_, TrackerDpgAnalysis.type_, L1GctInternJetData.type_, SiStripConfigDb::Run.type_, ConfigurableHisto.type_, Ring.type_, reco::Muon.type_, Mixins._TypedParameterizable.type_(), GsfElectronFakeAnalyzer.type_, edm::IndexIntoFile::IndexIntoFileItrImpl.type_, and Config.SubProcess.type_().

389  def insertInto(self, parameterSet, myname):
390  newpset = parameterSet.newPSet()
391  newpset.addString(True, "@module_label", self.moduleLabel_(myname))
392  newpset.addString(True, "@module_type", self.type_())
393  newpset.addString(True, "@module_edm_type", type(self).__name__)
394  self.insertContentsInto(newpset)
395  parameterSet.addPSet(True, self.nameInProcessDesc_(myname), newpset)
396 
397 
def Mixins._TypedParameterizable.moduleLabel_ (   self,
  myname 
)

Definition at line 386 of file Mixins.py.

Referenced by Mixins._TypedParameterizable.insertInto(), Modules.ESSource.nameInProcessDesc_(), and Modules.ESProducer.nameInProcessDesc_().

387  def moduleLabel_(self, myname):
return myname
def Mixins._TypedParameterizable.nameInProcessDesc_ (   self,
  myname 
)

Definition at line 384 of file Mixins.py.

Referenced by Mixins._TypedParameterizable.insertInto().

385  def nameInProcessDesc_(self, myname):
return myname;
def Mixins._TypedParameterizable.type_ (   self)
returns the type of the object, e.g. 'FooProducer'

Definition at line 271 of file Mixins.py.

Referenced by Modules.Service._placeImpl(), Modules.ESSource._placeImpl(), Modules.ESProducer._placeImpl(), Modules.ESPrefer.copy(), Mixins._TypedParameterizable.dumpPython(), Modules.ESPrefer.dumpPythonAs(), Modules.Service.insertInto(), RandomRunSource.RandomRunSource.insertInto(), Mixins._TypedParameterizable.insertInto(), Modules.ESSource.moduleLabel_(), Modules.ESProducer.moduleLabel_(), Modules.ESSource.nameInProcessDesc_(), Modules.ESProducer.nameInProcessDesc_(), and Modules.ESPrefer.nameInProcessDesc_().

272  def type_(self):
273  """returns the type of the object, e.g. 'FooProducer'"""
return self.__type