CMS 3D CMS Logo

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

Public Member Functions

def __init__ (self)
 
def __repr__ (self)
 
def get_data (self)
 
- Public Member Functions inherited from data_sources.node
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)
 

Detailed Description

Definition at line 43 of file data_sources.py.

Constructor & Destructor Documentation

◆ __init__()

def data_sources.data_source.__init__ (   self)

Definition at line 45 of file data_sources.py.

45  def __init__(self):
46  pass
47 
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

◆ __repr__()

def data_sources.data_source.__repr__ (   self)

Definition at line 51 of file data_sources.py.

Referenced by data_sources.json_file.__str__(), and datamodel.Object.__str__().

51  def __repr__(self):
52  return "<data_source>"
53 
54 # a json file data source first reads json from the file given, and then provides methods to navigate it and select fields

◆ get_data()

def data_sources.data_source.get_data (   self)

Definition at line 48 of file data_sources.py.

Referenced by dqm_interfaces.DQMcommunicator.get_samples(), and dqm_interfaces.DQMcommunicator.ls_url().

48  def get_data(self):
49  return []
50 
def get_data(filename)
Definition: dataLoader.py:191