CMS 3D CMS Logo

List of all members | Public Member Functions | Static 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)
 

Static Private Attributes

 _child_nodes = None
 
 _data = None
 

Detailed Description

Definition at line 10 of file data_sources.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 14 of file data_sources.py.

References data_sources.node._child_nodes, data_sources.node._data, and conddb2hdf5.DBPayload._data.

14  def __init__(self, data=None):
15  self._data = data
16  self._child_nodes = []
17 
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ __str__()

def data_sources.node.__str__ (   self)

Definition at line 40 of file data_sources.py.

References data_sources.node.children(), geometry.Structure.children, mat4.data, HcalPulseShape.data(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::raw::InputDataHost.data, CombinedTauTagCalibration.data, data_sources.node.data(), l1t::demo::Frame.data, CombinedSVCalibration.data, TrackProbabilityCalibration.data, ecal::raw::InputDataCPU.data, ecal::DigisCollection< StoragePolicy >.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, CaloTSamples< Ttype, Tsize >.data(), emtf::Event.data, magfieldparam::rz_poly.data, cond::Binary.data(), classes.PlotData.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, QGLikelihoodObject.data, KDTreeNodeInfo< DATA, DIM >.data, calo::multifit::MapSymM< T, Stride, Order >.data, ALPAKA_ACCELERATOR_NAMESPACE::ecal::raw::InputDataDevice.data, hcal::raw::InputDataCPU.data, LASModuleProfile.data, alcabeammonitor::pvPosAndErr.data, materialEffect::Covariance.data, MainPageGenerator.MainPageGenerator.data, dqmTnP::AbstractFitter.data, CaloTSamplesBase< Ttype >.data(), UnbinnedFitDeDxEstimator.data, condhdf5tohdf5.H5Payload.data(), QGLikelihoodSystematicsObject.data, tkMSParameterization::Elems.data, LCTContainer.data, GeometryComparisonPlotter.data, TkStripRecHitIter.data, TkLasBeam.data, KDTreeNodes< DATA, DIM >.data, ecal::raw::InputDataGPU.data, tkMSParameterization::FromToData.data, hcaltb::ClassicQADCDataFormat.data, calo::multifit::MapMForPM< T >.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, EcalShowerContainmentCorrections::Coefficients.data, data, edm::DetSet< T >.data, CTPPSCompositeESSource::BinData< T >.data, SiStripCondObjectRepresent::SiStripCondDataItem< type >.data(), TkMSParameterization.data, PixelLimits.data, cscdqm::Cache.data, DQMNet::Bucket.data, options.HLTProcessOptions.data, StripLimits.data, hcal::DigiCollectionBase< StoragePolicy >.data, VFATFrame.data, cuy.FindIssue.data, conddb2hdf5.DBPayload.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, edmStreamStallGrapher.Stack.data, p2eg::tower_t.data, p2eg::Cluster.data, and str.

Referenced by edmStreamStallGrapher.Point.__repr__().

40  def __str__(self):
41  return "<node data='%s' children=%s>" % (self.data(), str(self.children()))
42 
#define str(s)

◆ add_child()

def data_sources.node.add_child (   self,
  node_data 
)

Definition at line 21 of file data_sources.py.

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

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

◆ child()

def data_sources.node.child (   self,
  index 
)

Definition at line 28 of file data_sources.py.

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

28  def child(self, index):
29  return self.children()[index]
30 

◆ children()

def data_sources.node.children (   self)

◆ data()

def data_sources.node.data (   self)

Definition at line 18 of file data_sources.py.

References data_sources.node._data, and conddb2hdf5.DBPayload._data.

Referenced by data_sources.node.__str__(), data_sources.json_list.as_dicts(), data_sources.json_list.as_table(), data_sources.json_list.get_members(), and data_sources.json_list.last().

18  def data(self):
19  return self._data
20 
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80

◆ is_leaf()

def data_sources.node.is_leaf (   self)

Definition at line 37 of file data_sources.py.

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

37  def is_leaf(self):
38  return len(self.children()) == 0
39 

◆ left_child()

def data_sources.node.left_child (   self)

Definition at line 31 of file data_sources.py.

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

31  def left_child(self):
32  return self.children()[0]
33 

◆ right_child()

def data_sources.node.right_child (   self)

Definition at line 34 of file data_sources.py.

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

34  def right_child(self):
35  return self.children()[1]
36 

Member Data Documentation

◆ _child_nodes

data_sources.node._child_nodes = None
staticprivate

◆ _data

data_sources.node._data = None
staticprivate