CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
core.autovars.NTupleSubObject Class Reference

Public Member Functions

def __call__ (self, object)
 
def __init__ (self, name, function, objectType, mcOnly=False)
 

Public Attributes

 function
 
 mcOnly
 
 name
 
 objectType
 

Detailed Description

Type to add a sub-object within an NTupleObjectType, given a name (used as prefix), a function to extract the sub-object and NTupleObjectType to define tye type

Definition at line 124 of file autovars.py.

Constructor & Destructor Documentation

def core.autovars.NTupleSubObject.__init__ (   self,
  name,
  function,
  objectType,
  mcOnly = False 
)

Definition at line 126 of file autovars.py.

126  def __init__(self,name,function,objectType,mcOnly=False):
127  self.name = name
128  self.function = function
129  self.objectType = objectType
130  self.mcOnly = mcOnly
def __init__(self, name, function, objectType, mcOnly=False)
Definition: autovars.py:126

Member Function Documentation

def core.autovars.NTupleSubObject.__call__ (   self,
  object 
)

Definition at line 131 of file autovars.py.

References core.autovars.NTupleVariable.function, ExpressionHisto< T >.function, and core.autovars.NTupleSubObject.function.

131  def __call__(self,object):
132  return self.function(object)
133 
def __call__(self, object)
Definition: autovars.py:131

Member Data Documentation

core.autovars.NTupleSubObject.function

Definition at line 128 of file autovars.py.

Referenced by core.autovars.NTupleSubObject.__call__().

core.autovars.NTupleSubObject.mcOnly
core.autovars.NTupleSubObject.name

Definition at line 127 of file autovars.py.

Referenced by ElectronMVAID.ElectronMVAID.__call__(), 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(), core.autovars.NTupleObject.__repr__(), core.autovars.NTupleCollection.__repr__(), 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(), core.autovars.NTupleObject.fillBranches(), core.autovars.NTupleCollection.fillBranchesScalar(), core.autovars.NTupleCollection.fillBranchesVector(), core.autovars.NTupleCollection.get_cpp_declaration(), core.autovars.NTupleCollection.get_cpp_wrapper_class(), core.autovars.NTupleCollection.get_py_wrapper_class(), utils.StatisticalTest.get_status(), production_tasks.Task.getname(), dataset.CMSDataset.getPrimaryDatasetEntries(), dataset.PrivateDataset.getPrimaryDatasetEntries(), VIDSelectorBase.VIDSelectorBase.initialize(), core.autovars.NTupleObject.makeBranches(), core.autovars.NTupleCollection.makeBranchesScalar(), core.autovars.NTupleCollection.makeBranchesVector(), 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().

core.autovars.NTupleSubObject.objectType

Definition at line 129 of file autovars.py.