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 11 of file Modules.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 12 of file Modules.py.

12  def __init__(self,type_,*arg,**kargs):
13  super(Service,self).__init__(type_,*arg,**kargs)
14  self._inProcess = False
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

◆ __str__()

def Modules.Service.__str__ (   self)

Definition at line 29 of file Modules.py.

References str, 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_, l1t::CaloParams::Node.type_, L1TMuonBarrelKalmanParams::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_, HcalSiPMParametersGPU.type_, edm::ESParentContext.type_, MuonIDFilterProducerForHLT.type_, MuonRefProducer.type_, cms::cuda::host::impl::HostDeleter.type_, HcalSiPMCharacteristics::PrecisionItem.type_, reco::TrackingRecHitInfo.type_, pftools::ParticleFiltrationDecision.type_, EcalDumpGeometry.type_, omtf::MuonDataWord64.type_, omtf::MuonDataWord64::.type_, pat::TriggerFilter.type_, PGeometricTimingDet::Item.type_, pos::PixelTKFECParameters.type_, TauDQMHistPlotter::cfgEntryProcess.type_, trklet::L1SimTrack.type_, EleEnergyRetriever.type_, NoProductErrorThrower.type_, pat::TriggerCondition.type_, edm::ParentContext.type_, MultShiftMETcorrInputProducer.type_, edm::ConsumesInfo.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::.type_, l1t::TkEtMiss.type_, edm::ParameterWildcardBase.type_, DQMHcalIsoTrackAlCaReco.type_, DBReader.type_, edm::AllowedLabelsDescriptionBase.type_, omtf::CscDataWord64.type_, omtf::CscDataWord64::.type_, edm::eventsetup::EventSetupRecordKey.type_, L1TUtmCondition.type_, NoBranchErrorThrower.type_, l1t::BlockHeader.type_, l1extra::L1JetParticle.type_, reco::PUSubMETCandInfo.type_, l1extra::L1EmParticle.type_, edm::InputSource::ItemTypeInfo.type_, fwlite::internal::DataKey.type_, l1t::EtSum.type_, edm::eventsetup::DataKey.type_, PPSFastLocalSimulation::Distribution.type_, HDF5ProductResolver.type_, edm::ParameterDescriptionBase.type_, jsoncollector::Json::Reader::Token.type_, OpticalAlignInfo.type_, pat::JetCorrFactorsProducer.type_, L1TUtmScale.type_, ProductBranch.type_, Entry.type_, pos::PixelPortCardConfig.type_, l1extra::L1EtMissParticle.type_, pat::helper::AnyNumberAssociationAdaptor.type_, edm::Handle< GenericObject >.type_, edm::PileUp.type_, edm::Handle< FWGenericObject >.type_, L1TUtmObject.type_, L1GctInternHFData.type_, BeamSpotObjects.type_, tt::SensorModule.type_, l1t::MuonStub.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_, GeometricTimingDet.type_, GeometricDet.type_, SiStripConfigDb::Run.type_, edm::Entry.type_, TrackerDpgAnalysis.type_, ConfigurableHisto.type_, Run3ScoutingMuon.type_, CandMCMatchTableProducer.type_, CSCCorrelatedLCTDigi.type_, reco::Muon.type_, Mixins._TypedParameterizable.type_(), jsoncollector::Json::Value.type_, edm::IndexIntoFile::IndexIntoFileItrImpl.type_, Config.SubProcess.type_(), and Config.ProcessAccelerator.type_().

29  def __str__(self):
30  return str(self.type_())
31 
#define str(s)

◆ _isTaskComponent()

def Modules.Service._isTaskComponent (   self)
private

Definition at line 25 of file Modules.py.

25  def _isTaskComponent(self):
26  return True

◆ _placeImpl()

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

Definition at line 15 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_, L1TMuonGlobalParams::Node.type_, L1TMuonGlobalParams_PUBLIC::Node.type_, CutBasedElectronID.type_, HcalSiPMParameter.type_, StringObjectFunction< T, DefaultLazyness >.type_, L1TMuonBarrelParams::Node.type_, StringCutObjectSelector< T, DefaultLazyness >.type_, OpticalAlignMeasurementInfo.type_, l1t::CaloParams::Node.type_, L1TMuonBarrelKalmanParams::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_, HcalSiPMParametersGPU.type_, edm::ESParentContext.type_, MuonIDFilterProducerForHLT.type_, MuonRefProducer.type_, cms::cuda::host::impl::HostDeleter.type_, HcalSiPMCharacteristics::PrecisionItem.type_, reco::TrackingRecHitInfo.type_, pftools::ParticleFiltrationDecision.type_, EcalDumpGeometry.type_, omtf::MuonDataWord64.type_, omtf::MuonDataWord64::.type_, pat::TriggerFilter.type_, PGeometricTimingDet::Item.type_, pos::PixelTKFECParameters.type_, TauDQMHistPlotter::cfgEntryProcess.type_, trklet::L1SimTrack.type_, EleEnergyRetriever.type_, NoProductErrorThrower.type_, pat::TriggerCondition.type_, edm::ParentContext.type_, MultShiftMETcorrInputProducer.type_, edm::ConsumesInfo.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::.type_, l1t::TkEtMiss.type_, edm::ParameterWildcardBase.type_, DQMHcalIsoTrackAlCaReco.type_, DBReader.type_, edm::AllowedLabelsDescriptionBase.type_, omtf::CscDataWord64.type_, omtf::CscDataWord64::.type_, edm::eventsetup::EventSetupRecordKey.type_, L1TUtmCondition.type_, NoBranchErrorThrower.type_, l1t::BlockHeader.type_, l1extra::L1JetParticle.type_, reco::PUSubMETCandInfo.type_, l1extra::L1EmParticle.type_, edm::InputSource::ItemTypeInfo.type_, fwlite::internal::DataKey.type_, l1t::EtSum.type_, edm::eventsetup::DataKey.type_, PPSFastLocalSimulation::Distribution.type_, HDF5ProductResolver.type_, edm::ParameterDescriptionBase.type_, jsoncollector::Json::Reader::Token.type_, OpticalAlignInfo.type_, pat::JetCorrFactorsProducer.type_, L1TUtmScale.type_, ProductBranch.type_, Entry.type_, pos::PixelPortCardConfig.type_, l1extra::L1EtMissParticle.type_, pat::helper::AnyNumberAssociationAdaptor.type_, edm::Handle< GenericObject >.type_, edm::PileUp.type_, edm::Handle< FWGenericObject >.type_, L1TUtmObject.type_, L1GctInternHFData.type_, BeamSpotObjects.type_, tt::SensorModule.type_, l1t::MuonStub.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_, GeometricTimingDet.type_, GeometricDet.type_, SiStripConfigDb::Run.type_, edm::Entry.type_, TrackerDpgAnalysis.type_, ConfigurableHisto.type_, Run3ScoutingMuon.type_, CandMCMatchTableProducer.type_, CSCCorrelatedLCTDigi.type_, reco::Muon.type_, Mixins._TypedParameterizable.type_(), jsoncollector::Json::Value.type_, edm::IndexIntoFile::IndexIntoFileItrImpl.type_, Config.SubProcess.type_(), and Config.ProcessAccelerator.type_().

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

15  def _placeImpl(self,name,proc):
16  self._inProcess = True
17  proc._placeService(self.type_(),self)

◆ dumpSequencePython()

def Modules.Service.dumpSequencePython (   self,
  options = PrintOptions() 
)

Definition at line 23 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_, cond::hdf5::DataProduct.type_, omtf::RpcDataWord64.type_, omtf::RpcDataWord64::.type_, edm::ESParentContext.type_, MuonIDFilterProducerForHLT.type_, HcalSiPMParametersGPU.type_, MuonRefProducer.type_, cms::cuda::host::impl::HostDeleter.type_, HcalSiPMCharacteristics::PrecisionItem.type_, pftools::ParticleFiltrationDecision.type_, reco::TrackingRecHitInfo.type_, EcalDumpGeometry.type_, omtf::MuonDataWord64.type_, omtf::MuonDataWord64::.type_, pos::PixelTKFECParameters.type_, pat::TriggerFilter.type_, PGeometricTimingDet::Item.type_, TauDQMHistPlotter::cfgEntryProcess.type_, trklet::L1SimTrack.type_, EleEnergyRetriever.type_, NoProductErrorThrower.type_, pat::TriggerCondition.type_, edm::ParentContext.type_, MultShiftMETcorrInputProducer.type_, edm::ConsumesInfo.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::.type_, l1t::TkEtMiss.type_, edm::ParameterWildcardBase.type_, DQMHcalIsoTrackAlCaReco.type_, DBReader.type_, edm::AllowedLabelsDescriptionBase.type_, omtf::CscDataWord64.type_, omtf::CscDataWord64::.type_, edm::eventsetup::EventSetupRecordKey.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_, l1t::EtSum.type_, edm::eventsetup::DataKey.type_, PPSFastLocalSimulation::Distribution.type_, HDF5ProductResolver.type_, edm::ParameterDescriptionBase.type_, jsoncollector::Json::Reader::Token.type_, OpticalAlignInfo.type_, L1TUtmScale.type_, pat::JetCorrFactorsProducer.type_, ProductBranch.type_, Entry.type_, pos::PixelPortCardConfig.type_, l1extra::L1EtMissParticle.type_, pat::helper::AnyNumberAssociationAdaptor.type_, edm::Handle< GenericObject >.type_, edm::PileUp.type_, edm::Handle< FWGenericObject >.type_, L1GctInternHFData.type_, tt::SensorModule.type_, BeamSpotObjects.type_, L1TUtmObject.type_, l1t::MuonStub.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_, GeometricTimingDet.type_, GeometricDet.type_, SiStripConfigDb::Run.type_, edm::Entry.type_, TrackerDpgAnalysis.type_, ConfigurableHisto.type_, Run3ScoutingMuon.type_, CandMCMatchTableProducer.type_, CSCCorrelatedLCTDigi.type_, reco::Muon.type_, Mixins._TypedParameterizable.type_(), jsoncollector::Json::Value.type_, edm::IndexIntoFile::IndexIntoFileItrImpl.type_, Config.SubProcess.type_(), and Config.ProcessAccelerator.type_().

23  def dumpSequencePython(self, options=PrintOptions()):
24  return "process." + self.type_()

◆ insertInto()

def Modules.Service.insertInto (   self,
  processDesc 
)

Definition at line 18 of file Modules.py.

References Mixins._Parameterizable.insertContentsInto(), 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_, cond::hdf5::DataProduct.type_, omtf::RpcDataWord64.type_, omtf::RpcDataWord64::.type_, edm::ESParentContext.type_, MuonIDFilterProducerForHLT.type_, HcalSiPMParametersGPU.type_, MuonRefProducer.type_, cms::cuda::host::impl::HostDeleter.type_, HcalSiPMCharacteristics::PrecisionItem.type_, pftools::ParticleFiltrationDecision.type_, reco::TrackingRecHitInfo.type_, EcalDumpGeometry.type_, omtf::MuonDataWord64.type_, omtf::MuonDataWord64::.type_, pos::PixelTKFECParameters.type_, pat::TriggerFilter.type_, PGeometricTimingDet::Item.type_, TauDQMHistPlotter::cfgEntryProcess.type_, trklet::L1SimTrack.type_, EleEnergyRetriever.type_, NoProductErrorThrower.type_, pat::TriggerCondition.type_, edm::ParentContext.type_, MultShiftMETcorrInputProducer.type_, edm::ConsumesInfo.type_, omtf::DtDataWord64.type_, omtf::DtDataWord64::.type_, l1t::TkEtMiss.type_, edm::ParameterWildcardBase.type_, DQMHcalIsoTrackAlCaReco.type_, DBReader.type_, edm::AllowedLabelsDescriptionBase.type_, omtf::CscDataWord64.type_, omtf::CscDataWord64::.type_, edm::eventsetup::EventSetupRecordKey.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_, l1t::EtSum.type_, edm::eventsetup::DataKey.type_, PPSFastLocalSimulation::Distribution.type_, HDF5ProductResolver.type_, edm::ParameterDescriptionBase.type_, jsoncollector::Json::Reader::Token.type_, OpticalAlignInfo.type_, L1TUtmScale.type_, pat::JetCorrFactorsProducer.type_, ProductBranch.type_, Entry.type_, pos::PixelPortCardConfig.type_, l1extra::L1EtMissParticle.type_, pat::helper::AnyNumberAssociationAdaptor.type_, edm::Handle< GenericObject >.type_, edm::PileUp.type_, edm::Handle< FWGenericObject >.type_, L1GctInternHFData.type_, tt::SensorModule.type_, BeamSpotObjects.type_, L1TUtmObject.type_, l1t::MuonStub.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_, GeometricTimingDet.type_, GeometricDet.type_, SiStripConfigDb::Run.type_, edm::Entry.type_, TrackerDpgAnalysis.type_, ConfigurableHisto.type_, Run3ScoutingMuon.type_, CandMCMatchTableProducer.type_, CSCCorrelatedLCTDigi.type_, reco::Muon.type_, Mixins._TypedParameterizable.type_(), jsoncollector::Json::Value.type_, edm::IndexIntoFile::IndexIntoFileItrImpl.type_, Config.SubProcess.type_(), and Config.ProcessAccelerator.type_().

18  def insertInto(self, processDesc):
19  newpset = processDesc.newPSet()
20  newpset.addString(True, "@service_type", self.type_())
21  self.insertContentsInto(newpset)
22  processDesc.addService(newpset)

◆ isLeaf()

def Modules.Service.isLeaf (   self)

Definition at line 27 of file Modules.py.

27  def isLeaf(self):
28  return True

Member Data Documentation

◆ _inProcess

Modules.Service._inProcess
private

Definition at line 14 of file Modules.py.

Referenced by Modules.Service._placeImpl().