Public Member Functions | Public Attributes | List of all members
Definition.Definition Class Reference

Public Member Functions

def __init__ (self, name)
 
def addInfo (self, info)
 
def __repr__ (self)
 

Public Attributes

 name
 
 keys
 

Detailed Description

Definition at line 1 of file Definition.py.

Constructor & Destructor Documentation

def Definition.Definition.__init__ (   self,
  name 
)

Definition at line 2 of file Definition.py.

2  def __init__(self, name):
3  self.name = name
4  self.keys = []
5 
def __init__(self, name)
Definition: Definition.py:2

Member Function Documentation

def Definition.Definition.__repr__ (   self)

Definition at line 11 of file Definition.py.

References Definition.Definition.keys, Definition.Definition.name, Table.name, legacymc_extractor.LegacyMC.name, Chain.Chain.name, ChainData.ChainData.name, nova_fhicl_metadata.NovaFhclExtractor.name, ana::HistDef.name, Controller.Controller.name, PageMaker.PageMaker.name, nova_log_metadata.NovaLogExtractor.name, Component.Component.name, ana::MultiHistDef.name, Plot.name, HistDef.name, CalibrationType.name, nova_h5_metadata.NovaH5.name, CutContainer.name, plotConfusion.HistSet.name, CutDef.name, ana::NuTruthHistDef.name, bp_plot.Plot.name, GENIEWeightLabel.name, generic.views.Pages.SubdirInfo.name, nova_caf_metadata.NovaCAFExtractor.name, nova_text_metadata.NovaText.name, novaddt::sm_cleaner.name, drawEvents.HistSet.name, ColumnDef.name, novaddt::MapSource.name, PlotInfo.name, Weight.name, ana::VarDef.name, VarContainer.name, galleryMaker.FileNBE.name, ana::CutDef.name, FileUp.name, nova::dbi::DataEpoch.name, ana::PIDCutDef.name, ana::WeightDef.name, VarContainer2D.name, PolyDef.name, IntConfig.name, VarContainer3D.name, nova_art_metadata.NovaArt.name, nuebarccinc::SelDef.name, object.name, nuebarccinc::SelDefST.name, generic.models.PlotInfo.CanvasSummary.name, generic.models.PlotInfo.PlotComparisonStatistic.name, EventContainer.name, nuebarccinc::mHistAxisDef.name, nuebarccinc::mHistAxisSTDef.name, gen_flatrecord.TypeName.name, generic.models.Organizational.PlotID.name, ana::GenieMultiverseSpectra::knob_sampling_mode.name, TB_WatchdogFx.Tier.name, WatchdogFx.Tier.name, TB_WatchdogFx.Path.name, WatchdogFx.Path.name, ana::GenieMultiverseParameters::knob_sampling_mode.name, ana::nueccinc::SelDef.name, ana::nueccinc::SelDefST.name, ana::SelDef.name, ana::nueccinc::mHistAxisDef.name, ExtrapDef.name, ana::nueccinc::mHistAxisSTDef.name, ana::predictions.name, ana::mHistAxisDef.name, ana::mHistAxisSTDef.name, generic.models.Organizational.Folder.name, and std_candles.PlotConfig.name.

11  def __repr__(self):
12  to_return = ""
13  to_return+= "def : --- %s"%self.name
14  for key in self.keys:
15  to_return += "\ndef : %s : %s"%(key,repr(getattr(self,key)))
16  return to_return
def Definition.Definition.addInfo (   self,
  info 
)

Definition at line 6 of file Definition.py.

References Definition.Definition.keys.

6  def addInfo(self, info):
7  self.keys = info.keys()
8  for key in info.keys():
9  setattr(self,key,info[key])
10 
def addInfo(self, info)
Definition: Definition.py:6

Member Data Documentation

Definition.Definition.keys

Definition at line 4 of file Definition.py.

Referenced by Definition.Definition.__repr__(), and Definition.Definition.addInfo().


The documentation for this class was generated from the following file: