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 85 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 117 of file config.py.
Referenced by GenObject.GenObject.setValue().
def config.Analyzer.build_name | ( | self | ) |
Definition at line 124 of file config.py.
References analyzer.Analyzer.class_object, config.Analyzer.class_object, objects.TauAnalyzer.TauAnalyzer.class_object, core.PileUpAnalyzer.PileUpAnalyzer.class_object, objects.VertexAnalyzer.VertexAnalyzer.class_object, objects.PhotonAnalyzer.PhotonAnalyzer.class_object, objects.JetAnalyzer.JetAnalyzer.class_object, objects.LeptonAnalyzer.LeptonAnalyzer.class_object, analyzer.Analyzer.instance_label, config.Analyzer.instance_label, and join().
Referenced by config.Service.__setattr__().
def config.Analyzer.clone | ( | self, | |
kwargs | |||
) |
Definition at line 130 of file config.py.
config.Analyzer.class_object |
Definition at line 109 of file config.py.
Referenced by config.Analyzer.build_name(), and config.Service.build_name().
config.Analyzer.instance_label |
Definition at line 113 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 122 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(), 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(), dataset.CMSDataset.buildListOfFiles(), dataset.LocalDataset.buildListOfFiles(), dataset.CMSDataset.buildListOfFilesDBS(), 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(), counter.Counter.write(), and average.Average.write().
config.Analyzer.verbose |
Definition at line 114 of file config.py.
Referenced by python.diffProv.difference.list_diff(), python.diffProv.difference.module_diff(), and python.diffProv.difference.onefilemodules().