CMS 3D CMS Logo

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

Public Member Functions

def __init__ (self, type_, arg, kargs)
 
def __str__ (self)
 
def dumpSequencePython (self, options=PrintOptions())
 
def insertInto (self, processDesc)
 
def isLeaf (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 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 moduleLabel_ (self, myname)
 
def nameInProcessDesc_ (self, 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 dumpPython (self, options=PrintOptions())
 
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)
 

Private Member Functions

def _isTaskComponent (self)
 
def _placeImpl (self, name, proc)
 

Private Attributes

 _inProcess
 

Detailed Description

Definition at line 12 of file Modules.py.

Constructor & Destructor Documentation

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

Definition at line 13 of file Modules.py.

13  def __init__(self,type_,*arg,**kargs):
14  super(Service,self).__init__(type_,*arg,**kargs)
15  self._inProcess = False
def __init__(self, type_, arg, kargs)
Definition: Modules.py:13

Member Function Documentation

def Modules.Service.__str__ (   self)

Definition at line 30 of file Modules.py.

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

30  def __str__(self):
31  return str(self.type_())
32 
def __str__(self)
Definition: Modules.py:30
#define str(s)
def Modules.Service._isTaskComponent (   self)
private

Definition at line 26 of file Modules.py.

26  def _isTaskComponent(self):
27  return True
def _isTaskComponent(self)
Definition: Modules.py:26
def Modules.Service._placeImpl (   self,
  name,
  proc 
)
private

Definition at line 16 of file Modules.py.

References Modules.Service._inProcess, MuonTypeByOrCut.type_, L1TMuonOverlapParams::Node.type_, edm::ObjectWithDict.type_, Histogram_TICLPFValidation.type_, FWJobMetadataManager::Data.type_, L1TTwinMuxParams::Node.type_, CutBasedElectronID.type_, FastTimeParametersESModule.type_, L1TMuonGlobalParams_PUBLIC::Node.type_, L1TMuonGlobalParams::Node.type_, HcalSiPMParameter.type_, OpticalAlignMeasurementInfo.type_, L1TMuonBarrelParams::Node.type_, StringObjectFunction< T, DefaultLazyness >.type_, StringCutObjectSelector< T, DefaultLazyness >.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_, pftools::ParticleFiltrationDecision.type_, reco::TrackingRecHitInfo.type_, omtf::MuonDataWord64.type_, omtf::MuonDataWord64::.type_, PGeometricTimingDet::Item.type_, pos::PixelTKFECParameters.type_, pat::TriggerFilter.type_, FastTimerSD.type_, TauDQMHistPlotter::cfgEntryProcess.type_, EleEnergyRetriever.type_, NoProductErrorThrower.type_, pat::TriggerCondition.type_, MultShiftMETcorrInputProducer.type_, edm::ParentContext.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::.type_, edm::ParameterWildcardBase.type_, l1t::BlockHeader.type_, FastTimeTopologyBuilder.type_, edm::ConsumesInfo.type_, DQMHcalIsoTrackAlCaReco.type_, DBReader.type_, edm::AllowedLabelsDescriptionBase.type_, omtf::CscDataWord64::.type_, omtf::CscDataWord64.type_, GsfElectronDataAnalyzer.type_, edm::eventsetup::EventSetupRecordKey.type_, GlobalVariablesTableProducer::Variable.type_, L1TUtmCondition.type_, NoBranchErrorThrower.type_, l1t::EtSum.type_, l1extra::L1EmParticle.type_, l1extra::L1JetParticle.type_, reco::PUSubMETCandInfo.type_, L1TUtmScale.type_, fwlite::internal::DataKey.type_, SimpleFlatTableProducerBase< T, TProd >::VariableBase.type_, edm::eventsetup::DataKey.type_, BinomialInterval.type_, edm::ParameterDescriptionBase.type_, Json::Reader::Token.type_, OpticalAlignInfo.type_, pat::JetCorrFactorsProducer.type_, L1TUtmObject.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_, BeamSpotObjects.type_, L1GctInternHFData.type_, edm::test::TestProcessorConfig::ProduceEntry.type_, reco::PFBlockElement.type_, L1GctInternEtSum.type_, L1GctInternHtMiss.type_, L1GctInternJetData.type_, reco::BeamSpot.type_, ScoutingMuon.type_, CSCCorrelatedLCTDigi.type_, funct::RootIntegrator.type_, GeometricTimingDet.type_, SiStripConfigDb::Run.type_, TrackerDpgAnalysis.type_, CandMCMatchTableProducer.type_, ConfigurableHisto.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().

16  def _placeImpl(self,name,proc):
17  self._inProcess = True
18  proc._placeService(self.type_(),self)
def _placeImpl(self, name, proc)
Definition: Modules.py:16
def Modules.Service.dumpSequencePython (   self,
  options = PrintOptions() 
)

Definition at line 24 of file Modules.py.

References MuonTypeByOrCut.type_, L1TMuonOverlapParams::Node.type_, edm::ObjectWithDict.type_, Histogram_TICLPFValidation.type_, FWJobMetadataManager::Data.type_, CutBasedElectronID.type_, L1TTwinMuxParams::Node.type_, FastTimeParametersESModule.type_, L1TMuonGlobalParams_PUBLIC::Node.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_, FastTimerSD.type_, TauDQMHistPlotter::cfgEntryProcess.type_, EleEnergyRetriever.type_, NoProductErrorThrower.type_, pat::TriggerCondition.type_, MultShiftMETcorrInputProducer.type_, edm::ParentContext.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::.type_, edm::ParameterWildcardBase.type_, l1t::BlockHeader.type_, FastTimeTopologyBuilder.type_, edm::ConsumesInfo.type_, DBReader.type_, DQMHcalIsoTrackAlCaReco.type_, edm::AllowedLabelsDescriptionBase.type_, omtf::CscDataWord64.type_, omtf::CscDataWord64::.type_, GsfElectronDataAnalyzer.type_, edm::eventsetup::EventSetupRecordKey.type_, GlobalVariablesTableProducer::Variable.type_, L1TUtmCondition.type_, NoBranchErrorThrower.type_, l1t::EtSum.type_, l1extra::L1EmParticle.type_, l1extra::L1JetParticle.type_, reco::PUSubMETCandInfo.type_, L1TUtmScale.type_, fwlite::internal::DataKey.type_, SimpleFlatTableProducerBase< T, TProd >::VariableBase.type_, edm::eventsetup::DataKey.type_, BinomialInterval.type_, edm::ParameterDescriptionBase.type_, Json::Reader::Token.type_, OpticalAlignInfo.type_, pat::JetCorrFactorsProducer.type_, Entry.type_, L1TUtmObject.type_, pos::PixelPortCardConfig.type_, FastTimeTopology.type_, l1extra::L1EtMissParticle.type_, pat::helper::AnyNumberAssociationAdaptor.type_, edm::PileUp.type_, edm::Handle< GenericObject >.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_, CSCCorrelatedLCTDigi.type_, funct::RootIntegrator.type_, GeometricTimingDet.type_, SiStripConfigDb::Run.type_, TrackerDpgAnalysis.type_, CandMCMatchTableProducer.type_, ConfigurableHisto.type_, reco::Muon.type_, GsfElectronFakeAnalyzer.type_, Mixins._TypedParameterizable.type_(), Json::Value.type_, edm::IndexIntoFile::IndexIntoFileItrImpl.type_, and Config.SubProcess.type_().

24  def dumpSequencePython(self, options=PrintOptions()):
25  return "process." + self.type_()
def dumpSequencePython(self, options=PrintOptions())
Definition: Modules.py:24
def Modules.Service.insertInto (   self,
  processDesc 
)

Definition at line 19 of file Modules.py.

References Mixins._Parameterizable.insertContentsInto(), MuonTypeByOrCut.type_, L1TMuonOverlapParams::Node.type_, edm::ObjectWithDict.type_, Histogram_TICLPFValidation.type_, FWJobMetadataManager::Data.type_, CutBasedElectronID.type_, L1TTwinMuxParams::Node.type_, FastTimeParametersESModule.type_, L1TMuonGlobalParams_PUBLIC::Node.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_, FastTimerSD.type_, TauDQMHistPlotter::cfgEntryProcess.type_, EleEnergyRetriever.type_, NoProductErrorThrower.type_, pat::TriggerCondition.type_, MultShiftMETcorrInputProducer.type_, edm::ParentContext.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::.type_, edm::ParameterWildcardBase.type_, l1t::BlockHeader.type_, FastTimeTopologyBuilder.type_, edm::ConsumesInfo.type_, DBReader.type_, DQMHcalIsoTrackAlCaReco.type_, edm::AllowedLabelsDescriptionBase.type_, omtf::CscDataWord64.type_, omtf::CscDataWord64::.type_, GsfElectronDataAnalyzer.type_, edm::eventsetup::EventSetupRecordKey.type_, GlobalVariablesTableProducer::Variable.type_, L1TUtmCondition.type_, NoBranchErrorThrower.type_, l1t::EtSum.type_, l1extra::L1EmParticle.type_, l1extra::L1JetParticle.type_, reco::PUSubMETCandInfo.type_, L1TUtmScale.type_, fwlite::internal::DataKey.type_, SimpleFlatTableProducerBase< T, TProd >::VariableBase.type_, edm::eventsetup::DataKey.type_, BinomialInterval.type_, edm::ParameterDescriptionBase.type_, Json::Reader::Token.type_, OpticalAlignInfo.type_, pat::JetCorrFactorsProducer.type_, Entry.type_, L1TUtmObject.type_, pos::PixelPortCardConfig.type_, FastTimeTopology.type_, l1extra::L1EtMissParticle.type_, pat::helper::AnyNumberAssociationAdaptor.type_, edm::PileUp.type_, edm::Handle< GenericObject >.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_, CSCCorrelatedLCTDigi.type_, funct::RootIntegrator.type_, GeometricTimingDet.type_, SiStripConfigDb::Run.type_, TrackerDpgAnalysis.type_, CandMCMatchTableProducer.type_, ConfigurableHisto.type_, reco::Muon.type_, GsfElectronFakeAnalyzer.type_, Mixins._TypedParameterizable.type_(), Json::Value.type_, edm::IndexIntoFile::IndexIntoFileItrImpl.type_, and Config.SubProcess.type_().

19  def insertInto(self, processDesc):
20  newpset = processDesc.newPSet()
21  newpset.addString(True, "@service_type", self.type_())
22  self.insertContentsInto(newpset)
23  processDesc.addService(newpset)
def insertInto(self, processDesc)
Definition: Modules.py:19
def insertContentsInto(self, parameterSet)
Definition: Mixins.py:368
def Modules.Service.isLeaf (   self)

Definition at line 28 of file Modules.py.

28  def isLeaf(self):
29  return True
def isLeaf(self)
Definition: Modules.py:28

Member Data Documentation

Modules.Service._inProcess
private

Definition at line 15 of file Modules.py.

Referenced by Modules.Service._placeImpl().