Public Member Functions | |
def | __init__ (self, class_object, instance_label=None, verbose=False, kwargs) |
def | __setattr__ (self, name, value) |
def | build_name (self) |
def | clone (self, kwargs) |
Public Member Functions inherited from config.CFG | |
def | __init__ (self, kwargs) |
def | __str__ (self) |
def | clone (self, kwargs) |
Public Attributes | |
class_object | |
instance_label | |
name | |
verbose | |
Static Public Attributes | |
num_instance | |
One could for example define the analyzer configuration for a di-muon framework.Analyzer.Analyzer in the following way: ZMuMuAna = cfg.Analyzer( "ZMuMuAnalyzer", pt1 = 20, pt2 = 20, iso1 = 0.1, iso2 = 0.1, eta1 = 2, eta2 = 2, m_min = 0, m_max = 200 ) Any kinds of keyword arguments can be added. The name must be present, and must be well chosen, as it will be used by the Looper to find the module containing the Analyzer class. This module should be in your PYTHONPATH. If not, modify your python path accordingly in your script.
Definition at line 86 of file config.py.
def config.Analyzer.__setattr__ | ( | self, | |
name, | |||
value | |||
) |
You may decide to copy an existing analyzer and change its instance_label. In that case, one must stay consistent.
Definition at line 118 of file config.py.
Referenced by GenObject.GenObject.setValue().
def config.Analyzer.build_name | ( | self | ) |
Definition at line 125 of file config.py.
References analyzer.Analyzer.instance_label, config.Analyzer.instance_label, and join().
Referenced by config.Service.__setattr__().
config.Analyzer.instance_label |
Definition at line 114 of file config.py.
Referenced by config.Analyzer.build_name(), config.Service.build_name(), Filter.Filter.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), and ResonanceBuilder.ResonanceBuilder.process().
config.Analyzer.name |
Definition at line 123 of file config.py.
Referenced by FWLite.ElectronMVAID.__call__(), dirstructure.Directory.__create_pie_image(), DisplayManager.DisplayManager.__del__(), dqm_interfaces.DirID.__eq__(), dirstructure.Directory.__get_full_path(), dirstructure.Comparison.__get_img_name(), dataset.Dataset.__getDataType(), dataset.Dataset.__getFileInfoList(), dirstructure.Comparison.__make_image(), dirstructure.Directory.__repr__(), dqm_interfaces.DirID.__repr__(), dirstructure.Comparison.__repr__(), config.Service.__setattr__(), config.CFG.__str__(), counter.Counter.__str__(), average.Average.__str__(), FWLite.WorkingPoints._reformat_cut_definitions(), dirstructure.Directory.calcStats(), validation.Sample.digest(), python.rootplot.utilities.Hist.divide(), python.rootplot.utilities.Hist.divide_wilson(), DisplayManager.DisplayManager.Draw(), utils.StatisticalTest.get_status(), production_tasks.Task.getname(), dataset.CMSDataset.getPrimaryDatasetEntries(), dataset.PrivateDataset.getPrimaryDatasetEntries(), VIDSelectorBase.VIDSelectorBase.initialize(), dirstructure.Directory.print_report(), dataset.BaseDataset.printInfo(), dataset.Dataset.printInfo(), production_tasks.MonitorJobs.run(), python.rootplot.utilities.Hist.TGraph(), python.rootplot.utilities.Hist.TH1F(), Vispa.Views.PropertyView.Property.valueChanged(), counter.Counter.write(), and average.Average.write().
config.Analyzer.verbose |
Definition at line 115 of file config.py.
Referenced by python.diff_provenance.difference.list_diff(), python.diffProv.difference.list_diff(), python.diff_provenance.difference.module_diff(), python.diffProv.difference.module_diff(), python.diff_provenance.difference.onefilemodules(), and python.diffProv.difference.onefilemodules().