CMS 3D CMS Logo

List of all members | Public Member Functions
config.CFG Class Reference
Inheritance diagram for config.CFG:
config.Analyzer config.Component config.Service config.DataComponent config.MCComponent

Public Member Functions

def __init__ (self, kwargs)
 
def __str__ (self)
 
def clone (self, kwargs)
 

Detailed Description

Base configuration class. The attributes are used to store parameters of any type

Definition at line 35 of file config.py.

Constructor & Destructor Documentation

◆ __init__()

def config.CFG.__init__ (   self,
  kwargs 
)
All keyword arguments are added as attributes.

Definition at line 37 of file config.py.

References update.

37  def __init__(self, **kwargs):
38  '''All keyword arguments are added as attributes.'''
39  self.__dict__.update( **kwargs )
40 
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)
#define update(a, b)

Member Function Documentation

◆ __str__()

def config.CFG.__str__ (   self)
A useful printout

Definition at line 41 of file config.py.

References __class__< T >.__class__(), PixelDCSObject< T >.items, EcalContainer< DetId, T >.items(), DictTypes.SortedKeysDict.items(), EcalContainer< ESDetId, Item >.items(), EcalContainer< EcalScDetId, Item >.items(), EcalContainer< EEDetId, Item >.items(), EcalContainer< EBDetId, Item >.items(), EcalContainer< EcalTrigTowerDetId, Item >.items(), EcalContainer< DetIdT, T >.items(), Items.items(), AlignmentSurfaceDeformations.items(), betterConfigParser.AdaptedDict.items(), edm::ErrorObj.items(), FWTableViewManager.items(), betterConfigParser.BetterConfigParser.items(), svgfig.SVG.items(), join(), ElectronMVAID.ElectronMVAID.name, OAQualityTranslator.name(), RPCNameHelper.name(), FP420HitsObject.name(), TrackerHitsObject.name(), AlignableObjectId::entry.name, average.Average.name, counter.Counter.name, histograms.Histograms.name, funct::Parameter.name(), SymmetryFit.name(), RPCGeomServ.name(), TmModule.name, cond::persistency::RUN_INFO::RUN_NUMBER.name, cond::persistency::TAG::NAME.name, cond::persistency::GTEditorData.name, FWLite.ElectronMVAID.name, cond::persistency::GLOBAL_TAG::NAME.name, cond::persistency::TAG::TIME_TYPE.name, cond::persistency::RUN_INFO::START_TIME.name, ExpressionEvaluatorCut.name(), cond::persistency::GLOBAL_TAG::VALIDITY.name, cond::persistency::RUN_INFO::END_TIME.name, core.autovars.NTupleVariable.name, cond::persistency::TAG::OBJECT_TYPE.name, CmsTrackerStringToEnum.name(), cond::persistency::GLOBAL_TAG::DESCRIPTION.name, listHistos.plotInfo.name, cond::persistency::TAG::SYNCHRONIZATION.name, HGCalAlgoWrapperBaseT< InputCollection, OutputCollection, Tparam >.name(), HGCalProcessorBaseT< InputCollection, OutputCollection >.name(), MaterialInformation.name(), cond::persistency::GLOBAL_TAG::RELEASE.name, DQMRivetClient::NormOption.name, edm::ModuleTime.name(), cond::persistency::TAG::END_OF_VALIDITY.name, AxesNames.name(), MEPSet.name, CALayer.name(), cond::persistency::GLOBAL_TAG::SNAPSHOT_TIME.name, cond::persistency::O2O_RUN::JOB_NAME.name, cond::persistency::TAG::DESCRIPTION.name, cms::dd::NameValuePair< T >.name, GeomDetType.name(), candidate_functions::CandidateCut.name(), ExpressionEvaluatorCutWithEventContent.name(), PCaloHit.name(), cond::persistency::GLOBAL_TAG::INSERTION_TIME.name, cond::persistency::O2O_RUN::START_TIME.name, cond::persistency::TAG::LAST_VALIDATED_TIME.name, CaloValidationStatistics.name(), cond::persistency::O2O_RUN::END_TIME.name, cond::persistency::TAG::INSERTION_TIME.name, BlockElementLinkerBase.name(), FWTGeoRecoGeometry::Info.name, TrackingSlaveSD.name(), cond::persistency::O2O_RUN::STATUS_CODE.name, cond::persistency::TAG::MODIFICATION_TIME.name, ResolutionModel.name(), cond::persistency::O2O_RUN::LOG.name, ParameterSet.name, nanoaod::MergeableCounterTable::SingleColumn< T >.name, cond::persistency::TAG::PROTECTION_CODE.name, l1t::demo::BoardData.name(), SeedFinderBase.name(), RecHitTopologicalCleanerBase.name(), SingleColumn< T >.name, SingleWithNormColumn< T >.name, OutputMEPSet.name, CaloSlaveSD.name(), MaxConsecLostHitsTrajectoryFilter.name(), HistoDef.name(), MaxLostHitsTrajectoryFilter.name(), PixelModuleName.name(), HGCalTriggerGeometryBase.name(), CaloDetInfo.name(), PixelDCSObject< T >::Item.name, DDAxesNames.name(), dataset.BaseDataset.name, SummaryTableOutputBranches::NamedBranchPtr.name, edm::BaseWithDict.name(), AlignmentConstraint.name, RegionalTrajectoryFilter.name(), EventSelector.name(), FileData.name(), PacketData.name(), cms::dd::ValuePair< T, U >.name, fit::RootMinuitCommand.name, edm::MemberWithDict.name(), HcalForwardLibWriter::FileHandle.name, personalPlayback.Applet.name, BlockElementImporterBase.name(), MaxHitsTrajectoryFilter.name(), JetResolution.name(), EventStringOutputBranches::NamedBranchPtr.name, HGCalTriggerNtupleBase.name(), tfaot::Model< W >.name(), OffsetAnalyzerDQM::Plot1D.name, Types._Untracked.name, SeedExtensionTrajectoryFilter.name(), EcalPulseCovariancesGPU.name(), EcalPulseShapesGPU.name(), RPCLinkSynchroStat::LinkBoard.name(), EcalDetIdAssociator.name(), HODetIdAssociator.name(), PreshowerDetIdAssociator.name(), FuncVariable< GlobalPoint, StringObjectFunction< GlobalPoint >.name(), FuncVariable< GlobalVector, StringObjectFunction< GlobalVector >.name(), FuncVariable< DETECTOR_T, StringObjectFunction< DETECTOR_T > unsigned.name(), MagCylinder.name, rpcrawtodigi::ReadoutError.name(), analyzer.Analyzer.name, production_tasks.Task.name, emtf::LossFunction.name(), VariableBase.name(), HcalDetIdAssociator.name(), ChargeSignificanceTrajectoryFilter.name(), LostHitsFractionTrajectoryFilter.name(), FuncVariable< DETECTOR_T, StringObjectFunction< DETECTOR_T >.name(), EcalRechitADCToGeVConstantGPU.name(), EcalRechitChannelStatusGPU.name(), heppy::ParSet.name, PixelBarrelNameUpgrade.name(), citk::IsolationConeDefinitionBase.name(), CalibratedHistogramXML.name(), MTDUncalibratedRecHitAlgoBase< DataFrame >.name(), PdtEntry.name(), DQMRivetClient::LumiOption.name, MaxCCCLostHitsTrajectoryFilter.name(), ALIFileOut.name(), EcalGainRatiosGPU.name(), o2olib.O2OJob.name, PFClusterEnergyCorrectorBase.name(), PixelEndcapNameUpgrade.name(), DDFilteredView.name(), DDSolidShapesName.name(), cond::persistency::GTProxyData.name, CalibrationCategory< CI >.name(), PFJetAnalyzerDQM::Plot1DInBin.name, EcalLaserAlphasGPU.name(), EcalIntercalibConstantsGPU.name(), EcalTimeCalibConstantsGPU.name(), ecal::raw::ElectronicsMappingGPU.name(), HLTPerformanceInfo::Module.name(), L1GctEtHad.name(), L1GctEtTotal.name(), hcaldqm::quantity::Quantity.name(), MuonSubDetector.name(), LooperTrajectoryFilter.name(), EcalLaserAPDPNRatiosRefGPU.name(), EcalTimeBiasCorrectionsGPU.name(), EcalSamplesCorrelationGPU.name(), rpcrawtodigi::DataRecord.name(), BeamSpotOnline.name(), DDName.name(), TriggerOutputBranches::NamedBranchPtr.name, SingleObjectCondition.name, CharmTagger::MVAVar.name, reco::tau::RecoTauNamedPlugin.name(), CaloDetIdAssociator.name(), EcalLaserAPDPNRatiosGPU.name(), EcalLinearCorrectionsGPU.name(), EcalPedestalsGPU.name(), DQMRivetClient::ScaleFactorOption.name, TableOutputBranches::NamedBranchPtr.name, edm::FunctionWithDict.name(), HeavyIonCSVTagger::MVAVar.name, PFCPositionCalculatorBase.name(), edm::PathTimingSummary.name, L1GctInternEmCand.name(), L1TriggerScalers.name(), LumiScalers.name(), cms::DDAlgoArguments.name, SummaryGenerator.name(), runEdmFileComparison.EdmObject.name, EgHLTOfflineSummaryClient::SumHistBinData.name, RHStopTracer::StopPoint.name, pat::helper::OverlapTest.name(), Filter.name(), MTDRecHitAlgoBase.name(), ClusterShapeTrajectoryFilter.name(), PassiveHit.name(), TrajectoryFilter.name(), CSCChannelMapperPostls1.name(), condhdf5tohdf5.H5Payload.name(), OpticalAlignParam.name(), PixelBarrelName.name(), DCCTBDataField.name(), Barrel.name, ClassName< T >.name(), FWGenericParameter< T >.name(), FWGenericParameterWithRange< T >.name(), FWGenericParameterWithRange< long >.name(), FWGenericParameterWithRange< double >.name(), perftools::EdmEventSize::BranchRecord.name, core.autovars.NTupleObjectType.name, cond::TimeTypeSpecs.name, DDI::rep_type< DDName, std::unique_ptr< std::vector< std::string > > >.name(), DDI::rep_type< N, I >.name(), FWGenericParameterWithRange< T > FWConfiguration.name(), FWParameterBase.name(), DDI::rep_type< DDName, std::unique_ptr< std::vector< double > > >.name(), CSCChannelMapperStartup.name(), DDI::rep_type< DDName, std::unique_ptr< DDI::Specific > >.name(), DDI::rep_type< DDName, std::unique_ptr< std::string > >.name(), DDI::rep_type< DDName, std::unique_ptr< double > >.name(), DDI::rep_type< DDName, std::unique_ptr< dd_map_type > >.name(), DDI::rep_type< N, C >.name(), DDI::rep_type< DDName, std::unique_ptr< DDI::LogicalPart > >.name(), DDI::rep_type< DDName, std::unique_ptr< DDRotationMatrix > >.name(), DDI::rep_type< DDName, std::unique_ptr< DDI::Solid > >.name(), DDI::rep_type< DDName, std::unique_ptr< DDI::Division > >.name(), DDI::rep_type< DDName, std::unique_ptr< DDI::Material > >.name(), Level1TriggerScalers.name(), pos::PixelDACScanRange.name(), PixelEndcapName.name(), edm::eventsetup::ModuleMakerTraits.name(), EcalLogicID.name, LumiOutputBranches::NamedBranchPtr.name, HGCalTriggerClusterIdentificationBDT::WorkingPoint.name(), edm::PathSummary.name, edm::EventTime.name(), EgammaHLTHGCalIDVarProducer::PCAAssocMap.name(), ThresholdPtTrajectoryFilter.name(), edm::TypeID.name(), CSCIndexerStartup.name(), MinHitsTrajectoryFilter.name(), ALIFileIn.name(), L1GctJetCand.name(), lumi::TriggerInfo.name, edm::TypeIDBase.name(), tfaot::Wrapper.name(), EGEnergySysIndex.name(), XMLProcessor::_loaderBaseConfig.name, reco::CompositeCandidate.name(), PixelEndcapLinkMaker::Item.name, L1TriggerRates.name(), FWPhysicsObjectDesc.name(), pos::PixelROCMaskBits.name(), FWTableViewManager::TableEntry.name, L1GctJetCounts.name(), MEtoEDM< T >::MEtoEDMObject.name, DCCTBBlockPrototype.name(), edm::eventsetup::heterocontainer::HCTypeTag.name(), edm::eventsetup::EventSetupRecordKey.name(), OmtfName.name(), dirstructure.Weighted.name, BPhysicsSpectrum.name, CSCIndexerPostls1.name(), pos::PixelROCTrimBits.name(), PixelBarrelLinkMaker::Item.name, reco::NamedCompositeCandidate.name(), L1GctEtMiss.name(), CSCChannelMapperBase.name(), Level1TriggerRates.name(), CompositeLogicalTrajectoryFilter.name(), SeedingLayerSetsHits::SeedingLayer.name(), HLTGenValClient::EfficOption.name, cond::persistency::GTEditor.name(), L1GctEmCand.name(), L1GctHtMiss.name(), ExpressionHisto< T >.name, Entry.name(), DQMGenericClient::EfficOption.name, funct::DefaultVariable.name(), CompositeTrajectoryFilter.name(), ExpressionHisto< typename C::value_type >.name, funct::X.name(), funct::Y.name(), python.rootplot.utilities.Hist2D.name, edm::eventsetup::DataKey.name(), funct::Z.name(), DDValue.name(), FWViewEnergyScale.name(), TreeCrawler.Package.name, Supermodule.name, MonElemContainer< T > tightTrig looseTrig.name(), MonElemContainer< OffEle >.name(), MonElemContainer< OffEle > tightTrig looseTrig.name(), MonElemContainer< OffPho > tightTrig looseTrig.name(), MonElemContainer< OffPho >.name(), egHLT::MonElemContainer< T >.name(), edm::eventsetup::SourceMakerTraits.name(), CaloTrkProcessing::Detector.name, MonElemContainer< T >.name(), MinPtTrajectoryFilter.name(), cond::persistency::GLOBAL_TAG_MAP::GLOBAL_TAG_NAME.name, fwlite::Record.name(), SimpleL1MuGMTCand.name(), L1GtPatternLine.name(), cms::h5::Group.name(), condhdf5tohdf5.H5DataProduct.name(), L1AcceptBunchCrossing.name(), cond::persistency::GLOBAL_TAG_MAP::RECORD.name, CalibratedObject.name(), DDBase< DDName, std::unique_ptr< DDI::Solid > >.name(), options.ConnectionHLTMenu.name, DDBase< N, C >.name(), DDBase< DDName, std::unique_ptr< std::vector< std::string > > >.name(), DDBase< DDName, std::unique_ptr< DDI::Material > >.name(), edm::TRandomAdaptor.name(), unique_ptr< DDI::Material >.name(), DDBase< DDName, std::unique_ptr< std::vector< double > > >.name(), DDBase< DDName, std::unique_ptr< DDI::Division > >.name(), OpticalObject.name(), DDBase< DDName, std::unique_ptr< DDI::Specific > >.name(), DDBase< DDName, std::unique_ptr< double > >.name(), DDBase< DDName, std::unique_ptr< dd_map_type > >.name(), DDBase< DDName, std::unique_ptr< DDI::LogicalPart > >.name(), DDBase< DDName, std::unique_ptr< DDRotationMatrix > >.name(), DDBase< DDName, std::unique_ptr< std::string > >.name(), cms::DDParsingContext::CompositeMaterial.name, cond::persistency::GLOBAL_TAG_MAP::LABEL.name, MVAVar.name, ModifyObjectValueBase.name(), cond::persistency::GLOBAL_TAG_MAP::TAG_NAME.name, DisplayManager.DisplayManager.name, emtf::LeastSquares.name(), MuonDetIdAssociator.name(), DDExpandedView.name(), cond::Tag_t.name, FWLite.WorkingPoints.name, nanoaod::FlatTable.name(), dqmoffline::l1t::HistDefinition.name, DQMGenericClient::ProfileOption.name, HLTPerformanceInfo::Path.name(), VectorWithNormColumn< T >.name, magneticfield::BaseVolumeHandle.name, CkfBaseTrajectoryFilter.name(), nanoaod::MergeableCounterTable::VectorColumn< T >.name, L1MuDTTrack.name(), tnp::ProbeVariable.name(), FastHFShowerLibrary.name, VectorColumn< T >.name, emtf::Node.name, PhysicsTools::Variable::Value.name, FWGeometryTableManagerBase::NodeInfo.name(), GlobalTrackingRegion.name(), edm::Path.name(), h4DSegm.name, CachingVariable.name(), L1MuBMTrack.name(), DcsStatus.name(), PrintMaterialBudgetInfo.name, BTagProbabilityToDiscriminator::Discriminator.name, DQMGenericClient::NormOption.name, core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.name, L1MuGMTCand.name(), reco::ElectronSeed.name(), DQMGenericClient::CDOption.name, CounterChecker.name, DD4hep_MaterialAccountingGroup.name(), MillePedeVariables.name(), cond::TagInfo_t.name, FWViewType.name(), NanoAODDQM::Plot.name(), DetGeomDesc.name(), TrackerSectorStruct.name, edm::TriggerResults.name(), MuonGeometrySanityCheckPoint.name, PhysicsTools::Calibration::Variable.name, cond::persistency::PAYLOAD::HASH.name, EDMtoMEConverter.name, DQMGenericClient::NoFlowOption.name, BPhysicsValidation::ParticleMonitor.name, looper.Looper.name, cond::persistency::PAYLOAD::OBJECT_TYPE.name, Mapper::definition< ScannerT >.name, PFJetAnalyzerDQM::Plot1DInBinVariable.name, RooUtil::CutTree.name, cond::persistency::PAYLOAD::DATA.name, cms::DDNamespace.name(), python.rootplot.tree2hists.Plot.name, cond::persistency::PAYLOAD::STREAMER_INFO.name, cond::persistency::PAYLOAD::VERSION.name, CutApplicatorBase.name(), cond::persistency::PAYLOAD::INSERTION_TIME.name, GlobalVariablesTableProducer::Variable.name(), MTDDigitizerBase.name(), PhysicsTools::TreeReader::Value.name, CSCIndexerBase.name(), classes.MonitorData.name, BPhysicsValidation.name, PhysicsTools::ProcessRegistry< Base_t, CalibBase_t, Parent_t >.name, Measurement.name(), edm::eventsetup::LooperMakerTraits.name(), condhdf5tohdf5.H5Tag.name(), pat::TriggerCondition.name(), cond::persistency::GTProxy.name(), GeometricDet.name(), HistogramManager.name, L1GObject.name(), classes.OutputData.name, FWEventItem.name(), BPHDecayToResResBuilderBase::DZSelect.name, edm::TypeWithDict.name(), L1TPhase2CorrelatorOffline::MultiCollection.name(), CosmicTrackingRegion.name(), StripSubClusterShapeTrajectoryFilter.name(), HistoData.name, Crystal.name, GeometricTimingDet.name(), h2DSegm.name, options.HLTProcessOptions.name, tnp::ProbeFlag.name(), emtf::AbsoluteDeviation.name(), cond::persistency::IOV::TAG_NAME.name, cond::persistency::IOV::SINCE.name, utils.StatisticalTest.name, cond::persistency::IOV::PAYLOAD_HASH.name, cond::persistency::IOV::INSERTION_TIME.name, edm::ESGetToken< fwliteeswriter::DummyType, fwliteeswriter::FWLWEventSetupRecord >.name(), pat::TriggerAlgorithm.name(), pat::TriggerPath.name(), DetIdAssociator.name(), DQMNet::WaitObject.name, core.TriggerBitAnalyzer.TriggerBitAnalyzer.name, python.rootplot.utilities.Hist.name, cscdqm::Address.name(), AlpgenParameterName.name, VariableComputer.name(), MaterialAccountingGroup.name(), config.Analyzer.name, geometry.Structure.name, TrackingRegion.name(), IntegratedCalibrationBase.name(), hDigis.name, core.autovars.NTupleSubObject.name, cuy.divideElement.name, Capsule.name, cuy.plotElement.name, core.autovars.NTupleObject.name, cuy.additionElement.name, Ceramic.name, SiStripMonitorDigi.name, PhysicsTools::Variable.name, cms::DDFilteredView.name(), VIDSelectorBase.VIDSelectorBase.name(), VersionedSelector< T >.name(), BulkSilicon.name, config.Service.name, cuy.superimposeElement.name, adaptToRunAtMiniAOD.adaptToRunAtMiniAOD.name, emtf::Huber.name(), APD.name, core.autovars.NTupleCollection.name, cuy.graphElement.name, BPHRecoBuilder::BPHRecoSource.name, CaloSD::Detector.name, Folder.name(), FilterSelection.name(), nanoaod::FlatTable::Column.name, BPHRecoBuilder::BPHCompSource.name, StraightTrackAlignment::RPSetPlots.name, BasicHepMCValidation::ParticleMonitor.name, lutNN::LutNeuronLayerFixedPoint< input_I, input_F, inputSize, lut_I, lut_F, neurons, output_I >.name, lutNN::LutNeuronLayerFixedPoint< layer2_input_I, layer2_input_F, layer1_neurons, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I >.name, lutNN::LutNeuronLayerFixedPoint< input_I, input_F, inputSize, layer1_lut_I, layer1_lut_F, layer1_neurons, layer1_output_I >.name, lutNN::LutNeuronLayerFixedPoint< layer3_input_I, layer3_input_F, layer3_0_inputCnt, layer3_0_lut_I, layer3_0_lut_F, 1, output0_I >.name, cond::persistency::TAG_AUTHORIZATION::TAG_NAME.name, lutNN::LutNeuronLayerFixedPoint< layer3_input_I, layer3_input_F, layer3_1_inputCnt, layer3_1_lut_I, layer3_1_lut_F, 1, output1_I >.name, cond::persistency::TAG_AUTHORIZATION::ACCESS_TYPE.name, cond::persistency::TAG_AUTHORIZATION::CREDENTIAL.name, cond::persistency::TAG_AUTHORIZATION::CREDENTIAL_TYPE.name, InnerLayerVolume.name, conddb2hdf5.DBPayload.name(), emtf::PercentErrorSquared.name(), utils.KS.name, cond::payloadInspector::TagReference.name, trklet::VarBase.name(), NanoAODDQM::SelGroupConfig.name, conddb2hdf5.DBDataProduct.name(), RectangularEtaPhiTrackingRegion.name(), cond::persistency::TAG_LOG::TAG_NAME.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, cond::persistency::TAG_LOG::ACTION.name, cond::persistency::TAG_LOG::USER_TEXT.name, conddb2hdf5.DBTag.name(), lutNN::LutNetworkFixedPointRegression2Outputs< input_I, input_F, inputSize, layer1_lut_I, layer1_lut_F, layer1_neurons, layer1_output_I, layer2_input_I, layer2_lut_I, layer2_lut_F, layer2_neurons, layer3_input_I, layer3_0_inputCnt, layer3_0_lut_I, layer3_0_lut_F, output0_I, output0_F, layer3_1_inputCnt, layer3_1_lut_I, layer3_1_lut_F, output1_I, output1_F >.name, utils.Chi2.name, personalPlayback.FrameworkJob.name, Grid.name, trklet::TrackletConfigBuilder::DTCinfo.name, Grille.name, utils_v2.StatisticalTest.name, utils.BinToBin.name, BackPipe.name, plotscripts.SawTeethFunction.name, utils_v2.KolmogorovTest.name, utils_v2.Chi2Test.name, dqm_interfaces.DirID.name, dirstructure.Comparison.name, PatchPanel.name, BackCoolTank.name, utils.BinToBin1percent.name, DryAirTube.name, python.rootplot.utilities.RootFile.name, crabFunctions.CrabTask.name, MBCoolTube.name, hHits.name, hcaldqm::quantity::FlagQuantity.name(), MBManif.name, hcaldqm::quantity::LumiSection.name(), cscdqm::ParHistoDef.name, hcaldqm::quantity::LumiSectionCoarse.name(), hcaldqm::quantity::RunNumber.name(), hDeltaR.name, hcaldqm::quantity::EventNumber.name(), hcaldqm::quantity::EventType.name(), validation.Sample.name(), hTMaxCell.name, dqm_interfaces.DirWalkerFile.name, hParam.name, hMuonStat.name, cxxopts::HelpGroupDetails.name, hTOF.name, hTDelay.name, hTimes< hTime >.name, SummaryOutputProducer::GenericSummary.name, validation.SimpleSample.name(), and trackingPlots.Iteration.name().

41  def __str__(self):
42  '''A useful printout'''
43  header = '{type}: {name}'.format( type=self.__class__.__name__,
44  name=self.name)
45  varlines = ['\t{var:<15}: {value}'.format(var=var, value=value) \
46  for var,value in sorted(vars(self.items())) \
47  if var != 'name']
48  all = [ header ]
49  all.extend(varlines)
50  return '\n'.join( all )
51 
static std::string join(char **cmd)
Definition: RemoteFile.cc:21

◆ clone()

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 52 of file config.py.

52  def clone(self, **kwargs):
53  '''Make a copy of this object, redefining (or adding) some parameters, just
54  like in the CMSSW python configuration files.
55 
56  For example, you can do
57  module1 = cfg.Analyzer(SomeClass,
58  param1 = value1,
59  param2 = value2,
60  param3 = value3,
61  ...)
62  module2 = module1.clone(
63  param2 = othervalue,
64  newparam = newvalue)
65  and module2 will inherit the configuration of module2 except for
66  the value of param2, and for having an extra newparam of value newvalue
67  (the latter may be useful if e.g. newparam were optional, and needed
68  only when param2 == othervalue)
69 
70  Note that, just like in CMSSW, this is a shallow copy and not a deep copy,
71  i.e. if in the example above value1 were to be an object, them module1 and
72  module2 will share the same instance of value1, and not have two copies.
73  '''
74  other = copy.copy(self)
75  for k,v in kwargs.items():
76  setattr(other, k, v)
77  return other
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition: eve_macros.cc:135