Public Member Functions | |
def | __init__ |
def | __str__ |
def | clone |
Base configuration class. The attributes are used to store parameters of any type
def config.CFG.__str__ | ( | self | ) |
A useful printout
Definition at line 39 of file config.py.
References join(), ElectronMVAID.ElectronMVAID.name, OAQualityTranslator.name(), FP420HitsObject.name(), TrackerHitsObject.name(), counter.Counter.name, entry.name, average.Average.name, geometrydata.GeometryData.name, histograms.Histograms.name, RPCGeomServ.name(), funct::Parameter.name(), SymmetryFit.name(), TmModule.name, cond::persistency::TAG::NAME.name, cond::persistency::GLOBAL_TAG::NAME.name, core.autovars.NTupleVariable.name, cond::persistency::TAG::TIME_TYPE.name, CmsTrackerStringToEnum.name(), listHistos.plotInfo.name, candidate_functions::CandidateCut.name(), cond::persistency::GLOBAL_TAG::VALIDITY.name, cond::persistency::TAG::OBJECT_TYPE.name, SterneBinomialInterval.name(), FeldmanCousinsBinomialInterval.name(), genericValidation.GenericValidation.name, cond::persistency::GLOBAL_TAG::DESCRIPTION.name, cond::persistency::TAG::SYNCHRONIZATION.name, preexistingValidation.PreexistingValidation.name, cond::persistency::GLOBAL_TAG::RELEASE.name, ora::RecordSpecImpl::Item.name, AxesNames.name(), MEPSet.name, cond::persistency::TAG::END_OF_VALIDITY.name, ExpressionEvaluatorCut.name(), cond::persistency::GLOBAL_TAG::SNAPSHOT_TIME.name, GeomDetType.name(), cond::persistency::TAG::DESCRIPTION.name, cond::persistency::GTEditorData.name, RecHitTopologicalCleanerBase.name(), SeedFinderBase.name(), MaxConsecLostHitsTrajectoryFilter.name(), MaxHitsTrajectoryFilter.name(), MaxLostHitsTrajectoryFilter.name(), ora::NamedReference.name(), NamedRef< T >.name(), NamedRef< C >.name(), edm::ModuleTime.name(), cond::persistency::GLOBAL_TAG::INSERTION_TIME.name, DDSolidShapesName.name(), edm::service::NamedDestination.name(), cond::persistency::TAG::LAST_VALIDATED_TIME.name, FWTGeoRecoGeometry::Info.name, Types._Untracked.name, CaloValidationStatistics.name(), SeedExtensionTrajectoryFilter.name(), cond::persistency::TAG::INSERTION_TIME.name, tauImpactParameter::TrackParticle.name(), TrackingSlaveSD.name(), cond::persistency::TAG::MODIFICATION_TIME.name, ora::OraMainTable.name(), dataset.BaseDataset.name, ClopperPearsonBinomialInterval.name(), BlockElementLinkerBase.name(), PCaloHit.name(), OutputMEPSet.name, tauImpactParameter::LorentzVectorParticle.name(), LostHitsFractionTrajectoryFilter.name(), PixelModuleName.name(), edm::BaseWithDict.name(), personalPlayback.Applet.name, HistoDef.name(), CaloSlaveSD.name(), PdtEntry.name(), RegionalTrajectoryFilter.name(), ora::IDatabaseTable.name(), fit::RootMinuitCommand.name, edm::MemberWithDict.name(), ExpressionEvaluatorCutWithEventContent.name(), ctfseeding::SeedingLayer::SeedingLayerImpl.name(), MaxCCCLostHitsTrajectoryFilter.name(), EventSelector.name(), ParameterSet.name, production_tasks.Task.name, PixelDCSObject< class >::Item.name, FileData.name(), PacketData.name(), PreliminaryFit.name(), BlockElementImporterBase.name(), ChargeSignificanceTrajectoryFilter.name(), DDAxesNames.name(), L1TLossFunction.name(), EcalDetIdAssociator.name(), HcalDetIdAssociator.name(), HODetIdAssociator.name(), PreshowerDetIdAssociator.name(), pos::PixelConfigAlias.name(), analyzer.Analyzer.name, DQMRivetClient::LumiOption.name, LooperTrajectoryFilter.name(), MinHitsTrajectoryFilter.name(), MagCylinder.name, CharmTagger::MVAVar.name, HcalForwardLibWriter::FileHandle.name, rpcrawtodigi::ReadoutError.name(), RPCLinkSynchroStat::LinkBoard.name(), PFTauMVAInputDiscriminantTranslator::DiscriminantInfo.name, PrintSensitive.name, Filter.name(), PFClusterEnergyCorrectorBase.name(), PFCPositionCalculatorBase.name(), ClusterShapeTrajectoryFilter.name(), JetResolution.name(), alignment.Alignment.name, ALIFileOut.name(), DDI::rep_type< N, I >.name(), PixelBarrelNameUpgrade.name(), DCCTBDataField.name(), RHStopTracer::StopPoint.name, reco::tau::RecoTauNamedPlugin.name(), FileInPath.name(), DDI::rep_type< N, pimpl_type >.name(), DDI::rep_type< DDName, pimpl_type >.name(), ParSet.name, MuonSubDetector.name(), citk::IsolationConeDefinitionBase.name(), CalibratedHistogramXML.name(), CSCChannelMapperPostls1.name(), ThresholdPtTrajectoryFilter.name(), PixelEndcapNameUpgrade.name(), edm::FunctionWithDict.name(), pat::helper::OverlapTest.name(), runEdmFileComparison.EdmObject.name, DQMRivetClient::ScaleFactorOption.name, reco::ElectronSeed.name(), HLTPerformanceInfo::Module.name(), L1GctEtHad.name(), L1GctEtTotal.name(), rpcrawtodigi::DataRecord.name(), SingleObjectCondition.name, EgHLTOfflineSummaryClient::SumHistBinData.name, ctfseeding::SeedingLayer.name(), ClassName< T >.name(), CSCChannelMapperStartup.name(), BeamSpotOnline.name(), XMLHTRZeroSuppressionLoader::_loaderBaseConfig.name, PhysicsTools::Source.name, XMLRBXPedestalsLoader::_loaderBaseConfig.name, DQMGenericClient::EfficOption.name, OmtfName.name(), CalibrationCategory< CI >.name(), pos::PixelDACScanRange.name(), cond::persistency::GTProxyData.name, core.autovars.NTupleObjectType.name, o2o.O2OJob.name, PixelEndcapName.name(), SummaryGenerator.name(), MyWatcher.name, TrajectoryFilter.name(), L1GctInternEmCand.name(), FWParameterBase.name(), edm::eventsetup::ModuleMakerTraits.name(), edm::PathTimingSummary.name, FWGenericParameterWithRange< long >.name(), FWGenericParameter< T >.name(), FWGenericParameterWithRange< T >.name(), FWGenericParameterWithRange< T > FWConfiguration.name(), FWGenericParameterWithRange< double >.name(), OpticalAlignParam.name(), PixelBarrelName.name(), BinomialInterval.name(), CSCIndexerStartup.name(), reco::CompositeCandidate.name(), dirstructure.Weighted.name, CompositeTrajectoryFilter.name(), LumiScalers.name(), lumi::TriggerInfo.name, DDName.name(), pos::PixelROCMaskBits.name(), CSCChannelMapperBase.name(), cond::TimeTypeSpecs.name, L1TriggerScalers.name(), PrintMaterialBudgetInfo.name, TransformFunction.name(), ALIFileIn.name(), CSCIndexerPostls1.name(), ora::OraSequenceTable.name(), edm::PathSummary.name, L1GctJetCand.name(), PixelEndcapLinkMaker::Item.name, pos::PixelROCTrimBits.name(), perftools::EdmEventSize::BranchRecord.name, cond::persistency::GLOBAL_TAG_MAP::GLOBAL_TAG_NAME.name, FWTableViewManager::TableEntry.name, MinPtTrajectoryFilter.name(), cond::persistency::GLOBAL_TAG_MAP::RECORD.name, hcaldqm::quantity::Quantity.name(), PixelBarrelLinkMaker::Item.name, CaloDetIdAssociator.name(), reco::NamedCompositeCandidate.name(), Level1TriggerScalers.name(), Mapper::definition< ScannerT >.name, FWPhysicsObjectDesc.name(), EcalLogicID.name, edm::EventTime.name(), cond::persistency::GLOBAL_TAG_MAP::LABEL.name, funct::DefaultVariable.name(), CompositeLogicalTrajectoryFilter.name(), L1GctEtMiss.name(), L1GctJetCounts.name(), cond::persistency::GLOBAL_TAG_MAP::TAG_NAME.name, cond::persistency::GTEditor.name(), ExpressionHisto< T >.name, funct::X.name(), BPhysicsSpectrum.name, ExpressionHisto< typename C::value_type >.name, python.rootplot.utilities.Hist2D.name, XMLProcessor::_loaderBaseConfig.name, edm::eventsetup::heterocontainer::HCTypeTag.name(), SensitiveDetector.name, funct::Y.name(), L1GctHtMiss.name(), DCCTBBlockPrototype.name(), GlobalTrackingRegion.name(), funct::Z.name(), edm::eventsetup::EventSetupRecordKey.name(), edm::TypeIDBase.name(), DQMGenericClient::ProfileOption.name, cond::persistency::PAYLOAD::HASH.name, TreeCrawler.Package.name, Entry.name(), L1GctEmCand.name(), L1TriggerRates.name(), CaloTrkProcessing::Detector.name, CkfBaseTrajectoryFilter.name(), cond::persistency::PAYLOAD::OBJECT_TYPE.name, fwlite::Record.name(), cond::persistency::PAYLOAD::DATA.name, DDValue.name(), FWViewEnergyScale.name(), MuonDetIdAssociator.name(), cond::persistency::PAYLOAD::STREAMER_INFO.name, PrintGeomInfoAction.name, cond::persistency::PAYLOAD::VERSION.name, MagGeoBuilderFromDDD::volumeHandle.name, edm::eventsetup::SourceMakerTraits.name(), PrintGeomMatInfo.name, L1GtPatternLine.name(), options.ConnectionHLTMenu.name, cond::persistency::PAYLOAD::INSERTION_TIME.name, SimpleL1MuGMTCand.name(), DQMGenericClient::NormOption.name, CalibratedObject.name(), Level1TriggerRates.name(), edm::TRandomAdaptor.name(), SeedingLayerSetsHits::SeedingLayer.name(), ora::PoolMainTable.name(), OpticalObject.name(), ora::OraMappingVersionTable.name(), egHLT::MonElemContainer< T >.name(), MonElemContainer< T > tightTrig looseTrig.name(), ora::Container.name(), MonElemContainer< T >.name(), MonElemContainer< OffEle >.name(), MonElemContainer< OffPho >.name(), MonElemContainer< OffPho > tightTrig looseTrig.name(), MonElemContainer< OffEle > tightTrig looseTrig.name(), emtf::Node.name, L1AcceptBunchCrossing.name(), HcalBaseDQClient.name(), LeastSquares.name(), tnp::ProbeVariable.name(), ora::Record.name(), edm::Path.name(), DQMGenericClient::CDOption.name, ora::DatabaseContainer.name(), DeepFlavourJetTagsProducer::MVAVar.name, CachingVariable.name(), edm::eventsetup::DataKey.name(), FastHFShowerLibrary.name, h4DSegm.name, PhysicsTools::Calibration::Variable.name, CSCIndexerBase.name(), L1MuDTTrack.name(), PhysicsTools::Variable::Value.name, FWGeometryTableManagerBase::NodeInfo.name(), L1MuGMTCand.name(), cond::TagInfo_t.name, ModifyObjectValueBase.name(), DcsStatus.name(), CounterChecker.name, EDMtoMEConverter.name, FWViewType.name(), L1MuBMTrack.name(), ProcTMVA::Method.name, looper.Looper.name, HLTPerformanceInfo::Path.name(), TreeSaver::Var.name, DDNameInterface.name(), BPhysicsValidation::ParticleMonitor.name, DDBase< N, C >.name(), DDBase< DDName, DDI::Solid * >.name(), python.rootplot.tree2hists.Plot.name, DDBase< DDName, DDI::Specific * >.name(), Vispa.Gui.PortWidget.PortWidget.name(), DDBase< DDName, DDI::Division * >.name(), DDBase< DDName, double * >.name(), DDBase< DDName, std::vector< double > * >.name(), DDBase< DDName, std::string * >.name(), DDBase< DDName, DDRotationMatrix * >.name(), DDBase< DDName, std::vector< std::string > * >.name(), DDBase< DDName, DDI::LogicalPart * >.name(), DDBase< DDName, DDI::Material * >.name(), DDBase< DDName, dd_map_type * >.name(), MEtoEDM< T >::MEtoEDMObject.name, ora::PoolSequenceTable.name(), cond::persistency::IOV::TAG_NAME.name, StripSubClusterShapeTrajectoryFilter.name(), TrackerSectorStruct.name, cond::persistency::IOV::SINCE.name, ora::OraMappingElementTable.name(), cond::persistency::IOV::PAYLOAD_HASH.name, PhysicsTools::TreeReader::Value.name, cond::persistency::IOV::INSERTION_TIME.name, BPhysicsValidation.name, edm::eventsetup::LooperMakerTraits.name(), classes.MonitorData.name, cond::persistency::GTProxy.name(), PhysicsTools::TrainProcessor.name, edm::TriggerResults.name(), MuonGeometrySanityCheckPoint.name, pat::TriggerCondition.name(), CutApplicatorBase.name(), edm::TypeWithDict.name(), Measurement.name(), DetGeomDesc.name(), FastTimerSD.name, BHMSD.name, L1GObject.name(), TotemSD.name, classes.OutputData.name, ora::PoolMappingVersionTable.name(), PhysicsTools::MVAModuleHelper< Record, Object, Filler >::Value.name, HistoData.name, PhysicsTools::ProcessRegistry< Base_t, CalibBase_t, Parent_t >.name, utils.StatisticalTest.name, pat::TriggerAlgorithm.name(), FWEventItem.name(), GeometricDetExtra.name(), CosmicTrackingRegion.name(), ora::OraContainerHeaderTable.name(), PhysicsTools::MVATrainer.name, options.HLTProcessOptions.name, tnp::ProbeFlag.name(), pat::TriggerPath.name(), h2DSegm.name, TrackingRegion.name(), python.rootplot.utilities.Hist.name, AbsoluteDeviation.name(), VIDSelectorBase.VIDSelectorBase.name(), ora::PoolMappingElementTable.name(), VariableComputer.name(), config.Analyzer.name, BscSD.name, IntegratedCalibrationBase.name(), DetIdAssociator.name(), core.autovars.NTupleSubObject.name, ora::OraClassVersionTable.name(), DQMNet::WaitObject.name, AlpgenParameterName.name, Folder.name(), cscdqm::Address.name(), SiStripMonitorDigi.name, core.autovars.NTupleObject.name, FP420SD.name, geometry.Structure.name, cond::persistency::TAG_LOG::TAG_NAME.name, hcaldqm::quantity::FlagQuantity.name(), cond::persistency::TAG_LOG::EVENT_TIME.name, cond::persistency::TAG_LOG::USER_NAME.name, cond::persistency::TAG_LOG::HOST_NAME.name, cond::persistency::TAG_LOG::COMMAND.name, GeometricDet.name(), cond::persistency::TAG_LOG::ACTION.name, VersionedSelector< edm::Ptr< reco::Muon > >.name(), VersionedSelector< edm::Ptr< reco::GsfElectron > >.name(), VersionedSelector< edm::Ptr< pat::Photon > >.name(), cond::persistency::TAG_LOG::USER_TEXT.name, VersionedSelector< edm::Ptr< pat::Electron > >.name(), VersionedSelector< T >.name(), VersionedSelector< edm::Ptr< reco::Photon > >.name(), config.Service.name, public_plots_tools.ColorScheme.name, ora::PoolContainerHeaderTable.name(), PhysicsTools::Variable.name, BasicHepMCValidation::ParticleMonitor.name, MaterialAccountingGroup.name(), PhysicsTools::TrainerMonitoring::Object.name, HRes1DHit.name, core.autovars.NTupleCollection.name, FastTimerService::LuminosityDescription.name, Selection< C, Selector, StoreContainer >.name(), Huber.name(), ora::PoolClassVersionTable.name(), hcaldqm::quantity::LumiSection.name(), RectangularEtaPhiTrackingRegion.name(), ora::OraNamingServiceTable.name(), utils.KS.name, hcaldqm::quantity::RunNumber.name(), ora::CondMetadataTable.name(), PercentErrorSquared.name(), validation.Sample.name(), utils.Chi2.name, hcaldqm::quantity::EventNumber.name(), personalPlayback.FrameworkJob.name, pos::PixelAliasList.name(), hcaldqm::quantity::EventType.name(), utils_v2.StatisticalTest.name, utils.BinToBin.name, HEff1DHit.name, plotscripts.SawTeethFunction.name, utils_v2.KolmogorovTest.name, dirstructure.Comparison.name, utils_v2.Chi2Test.name, @17805::Id.name, dqm_interfaces.DirID.name, utils.BinToBin1percent.name, FastTimerService::ProcessDescription.name, python.rootplot.utilities.RootFile.name, Vispa.Views.PropertyView.Property.name(), hTMaxCell.name, HRes2DHit.name, cscdqm::ParHistoDef.name, dqm_interfaces.DirWalkerFile.name, BeautifulSoup.Tag.name, @17801::Id.name, HEff2DHit.name, validation.SimpleSample.name(), SummaryOutputProducer::GenericSummary.name, trackingPlots.Iteration.name(), TiXmlAttribute.name, BeautifulSoup.SoupStrainer.name, dataset.Dataset.name(), HRes4DHit.name, and HEff4DHit.name.
def config.CFG.clone | ( | self, | |
kwargs | |||
) |
Make a copy of this object, redefining (or adding) some parameters, just like in the CMSSW python configuration files. For example, you can do module1 = cfg.Analyzer(SomeClass, param1 = value1, param2 = value2, param3 = value3, ...) module2 = module1.clone( param2 = othervalue, newparam = newvalue) and module2 will inherit the configuration of module2 except for the value of param2, and for having an extra newparam of value newvalue (the latter may be useful if e.g. newparam were optional, and needed only when param2 == othervalue) Note that, just like in CMSSW, this is a shallow copy and not a deep copy, i.e. if in the example above value1 were to be an object, them module1 and module2 will share the same instance of value1, and not have two copies.
Definition at line 50 of file config.py.