CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Static Public Attributes
config.Service Class Reference
Inheritance diagram for config.Service:
config.CFG

Public Member Functions

def __init__
 
def build_name
 
- Public Member Functions inherited from config.CFG
def __init__
 
def __str__
 

Public Attributes

 class_object
 
 instance_label
 
 name
 
 verbose
 

Static Public Attributes

int num_instance = 0
 

Detailed Description

Definition at line 101 of file config.py.

Constructor & Destructor Documentation

def config.Service.__init__ (   self,
  class_object,
  instance_label = None,
  verbose = False,
  kwargs 
)

Definition at line 106 of file config.py.

107  verbose=False, **kwargs):
108  self.class_object = class_object
109  self.__class__.num_instance += 1
110  if instance_label is None:
111  instance_label = str(self.__class__.num_instance)
112  self.instance_label = instance_label
113  self.__class__.num_instance += 1
114  self.name = self.build_name()
115  self.verbose = verbose
116  super(Service, self).__init__(**kwargs)
def build_name
Definition: config.py:117
def __init__
Definition: config.py:106

Member Function Documentation

def config.Service.build_name (   self)

Definition at line 117 of file config.py.

References analyzer.Analyzer.instance_label, config.Analyzer.instance_label, config.Service.instance_label, and join().

118  def build_name(self):
119  class_name = '.'.join([self.class_object.__module__,
120  self.class_object.__name__])
121  name = '_'.join([class_name, self.instance_label])
122  return name
123 
def build_name
Definition: config.py:117
static std::string join(char **cmd)
Definition: RemoteFile.cc:18

Member Data Documentation

config.Service.class_object

Definition at line 107 of file config.py.

config.Service.instance_label

Definition at line 111 of file config.py.

Referenced by config.Service.build_name().

config.Service.name

Definition at line 113 of file config.py.

Referenced by dirstructure.Directory.__create_pie_image(), dqm_interfaces.DirID.__eq__(), dirstructure.Directory.__get_full_path(), dirstructure.Comparison.__get_img_name(), dataset.Dataset.__getDataType(), dataset.Dataset.__getFileInfoList(), cuy.divideElement.__init__(), cuy.plotElement.__init__(), cuy.additionElement.__init__(), cuy.superimposeElement.__init__(), cuy.graphElement.__init__(), dirstructure.Comparison.__make_image(), dirstructure.Directory.__repr__(), dqm_interfaces.DirID.__repr__(), dirstructure.Comparison.__repr__(), config.CFG.__str__(), counter.Counter.__str__(), average.Average.__str__(), dirstructure.Directory.calcStats(), validation.Sample.digest(), python.rootplot.utilities.Hist.divide(), python.rootplot.utilities.Hist.divide_wilson(), 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().

int config.Service.num_instance = 0
static

Definition at line 103 of file config.py.

config.Service.verbose

Definition at line 114 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().