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, mat4.data, HcalPulseShape.data(), CombinedTauTagCalibration.data, CombinedSVCalibration.data, ecal::DigisCollection< StoragePolicy >.data, TrackProbabilityCalibration.data, data_sources.node.data(), ElectronLikelihoodCalibration.data, CSCTMBScope.data, ecal::raw::InputDataCPU.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, QGLikelihoodObject.data, calo::multifit::MapSymM< T, Stride, Order >.data, KDTreeNodeInfo< DATA, DIM >.data, hcal::raw::InputDataCPU.data, materialEffect::Covariance.data, LASModuleProfile.data, dqmTnP::AbstractFitter.data, CaloTSamplesBase< Ttype >.data(), UnbinnedFitDeDxEstimator.data, QGLikelihoodSystematicsObject.data, tkMSParameterization::Elems.data, LCTContainer.data, TkLasBeam.data, TkStripRecHitIter.data, KDTreeNodes< DATA, DIM >.data, ecal::raw::InputDataGPU.data, tkMSParameterization::FromToData.data, hcaltb::ClassicQADCDataFormat.data, calo::multifit::MapMForPM< T >.data, GeometryComparisonPlotter.data, DynArray< T >.data(), EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, coral_bridge::AuthenticationCredentialSet.data(), magfieldparam::poly2d_base.data, hcal::raw::InputDataGPU.data, data, EcalShowerContainmentCorrections::Coefficients.data, edm::DetSet< T >.data, CTPPSCompositeESSource::BinData< T >.data, TkMSParameterization.data, PixelLimits.data, cscdqm::Cache.data, options.HLTProcessOptions.data, DQMNet::Bucket.data, hcal::DigiCollectionBase< StoragePolicy >.data, StripLimits.data, VFATFrame.data, cuy.FindIssue.data, HCAL_HLX::ET_SUM_NIBBLE.data, cond::payloadInspector::PlotBase.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:98
str
#define str(s)
Definition: TestProcessor.cc:53
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