CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
data_sources.node Class Reference
Inheritance diagram for data_sources.node:
data_sources.data_source data_sources.json_file data_sources.sqlite_schema

Public Member Functions

def __init__ (self, data=None)
 
def __str__ (self)
 
def add_child (self, node_data)
 
def child (self, index)
 
def children (self)
 
def data (self)
 
def is_leaf (self)
 
def left_child (self)
 
def right_child (self)
 

Private Attributes

 _child_nodes
 
 _data
 

Detailed Description

Definition at line 12 of file data_sources.py.

Constructor & Destructor Documentation

◆ __init__()

def data_sources.node.__init__ (   self,
  data = None 
)

Reimplemented in data_sources.sqlite_schema, and data_sources.json_file.

Definition at line 16 of file data_sources.py.

16  def __init__(self, data=None):
17  self._data = data
18  self._child_nodes = []
19 

Member Function Documentation

◆ __str__()

def data_sources.node.__str__ (   self)

Reimplemented in data_sources.json_file.

Definition at line 42 of file data_sources.py.

42  def __str__(self):
43  return "<node data='%s' children=%s>" % (self.data(), str(self.children()))
44 

References data_sources.node.children(), geometry.Structure.children, HcalPulseShape.data(), CombinedTauTagCalibration.data, CombinedSVCalibration.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, data_sources.node.data(), CSCTMBScope.data, confdb.HLTProcess.data, CaloTSamples< Ttype, Tsize >.data(), emtf::Event.data, magfieldparam::rz_poly.data, SimpleVFATFrameCollection.data, classes.PlotData.data, cond::Binary.data(), dqm::DQMFileSaverOnline::SnapshotFiles.data, calo::multifit::MapSymM< T, Stride, Order >.data, QGLikelihoodObject.data, KDTreeNodeInfo< DATA, DIM >.data, materialEffect::Covariance.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, CaloTSamplesBase< Ttype >.data(), LCTContainer.data, UnbinnedFitDeDxEstimator.data, QGLikelihoodSystematicsObject.data, tkMSParameterization::Elems.data, TkStripRecHitIter.data, TkLasBeam.data, KDTreeNodes< DATA, DIM >.data, tkMSParameterization::FromToData.data, calo::multifit::MapMForPM< T >.data, hcaltb::ClassicQADCDataFormat.data, coral_bridge::AuthenticationCredentialSet.data(), GeometryComparisonPlotter.data, DynArray< T >.data(), edm::MapOfVectors< K, T >::Iter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, magfieldparam::poly2d_base.data, EcalShowerContainmentCorrections::Coefficients.data, data, edm::DetSet< T >.data, TkMSParameterization.data, PixelLimits.data, cscdqm::Cache.data, DQMNet::Bucket.data, options.HLTProcessOptions.data, StripLimits.data, VFATFrame.data, cuy.FindIssue.data, cond::payloadInspector::PlotBase.data(), HCAL_HLX::ET_SUM_NIBBLE.data, HCAL_HLX::OCCUPANCY_NIBBLE.data, HCAL_HLX::LHC_NIBBLE.data, HCAL_HLX::ET_SUM_SECTION.data, HCAL_HLX::OCCUPANCY_SECTION.data, HCAL_HLX::LHC_SECTION.data, submitPVValidationJobs.Job.data, edmStreamStallGrapher.Stack.data, and str.

Referenced by edmStreamStallGrapher.Point.__repr__(), BeautifulSoup.Tag.__repr__(), BeautifulSoup.Tag.__unicode__(), and BeautifulSoup.Tag.prettify().

◆ add_child()

def data_sources.node.add_child (   self,
  node_data 
)

Definition at line 23 of file data_sources.py.

23  def add_child(self, node_data):
24  new_node = node(node_data)
25  self._child_nodes.append(new_node)
26 

References data_sources.node._child_nodes, and mps_setup.append.

◆ child()

def data_sources.node.child (   self,
  index 
)

Definition at line 30 of file data_sources.py.

30  def child(self, index):
31  return self.children()[index]
32 

References data_sources.node.children(), and geometry.Structure.children.

◆ children()

def data_sources.node.children (   self)

◆ data()

def data_sources.node.data (   self)

◆ is_leaf()

def data_sources.node.is_leaf (   self)

Definition at line 39 of file data_sources.py.

39  def is_leaf(self):
40  return len(self.children()) == 0
41 

References data_sources.node.children(), and geometry.Structure.children.

◆ left_child()

def data_sources.node.left_child (   self)

Definition at line 33 of file data_sources.py.

33  def left_child(self):
34  return self.children()[0]
35 

References data_sources.node.children(), and geometry.Structure.children.

◆ right_child()

def data_sources.node.right_child (   self)

Definition at line 36 of file data_sources.py.

36  def right_child(self):
37  return self.children()[1]
38 

References data_sources.node.children(), and geometry.Structure.children.

Member Data Documentation

◆ _child_nodes

data_sources.node._child_nodes
private

Definition at line 18 of file data_sources.py.

Referenced by data_sources.node.add_child(), and data_sources.node.children().

◆ _data

data_sources.node._data
private
class-composition.children
children
Definition: class-composition.py:88
str
#define str(s)
Definition: TestProcessor.cc:51
mps_setup.append
append
Definition: mps_setup.py:85
TriggerAnalyzer.__str__
def __str__(self)
Definition: TriggerAnalyzer.py:103
submitPVValidationJobs.child
child
Definition: submitPVValidationJobs.py:119
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79