Public Member Functions | |
def | __init__ (self, server, is_private=False, ident="DQMToJson/1.0 python/%d.%d.%d" % version_info[:3]) |
def | cd (self, args) |
def | get_common_runs (self, dataset_string1, dataset_string2) |
def | get_data (self, full_url) |
def | get_dataset_runs (self, dataset_string) |
def | get_datasets_list (self, dataset_string="") |
def | get_RelVal_CMSSW_versions (self, query) |
def | get_root_objects (self, url="") |
def | get_root_objects_list (self, url="") |
def | get_root_objects_list_recursive (self, url="") |
def | get_root_objects_names_list_recursive (self, url="", present_url="") |
def | get_root_objects_recursive (self, url="", present_url="") |
def | get_runs_list (self, dataset_string) |
def | get_samples (self, samples_string="*") |
def | ls (self, url='', fetch_root=False) |
def | ls_url (self, url) |
def | open_url (self, url) |
Public Attributes | |
DQMpwd | |
ident | |
is_private | |
oldDQMpwd | |
opener | |
prevDQMpwd | |
server | |
Static Public Attributes | |
base_dir | |
Communicate with the DQM Document server
Definition at line 57 of file dqm_interfaces.py.
def dqm_interfaces.DQMcommunicator.__init__ | ( | self, | |
server, | |||
is_private = False , |
|||
ident = "DQMToJson/1.0 python/%d.%d.%d" % version_info[:3] |
|||
) |
Definition at line 68 of file dqm_interfaces.py.
def dqm_interfaces.DQMcommunicator.cd | ( | self, | |
args | |||
) |
Definition at line 161 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.DQMpwd, dqm_interfaces.DQMcommunicator.oldDQMpwd, and dqm_interfaces.DQMcommunicator.server.
Referenced by dqm_interfaces.DQMcommunicator.get_root_objects_list_recursive(), dqm_interfaces.DQMcommunicator.get_root_objects_names_list_recursive(), dqm_interfaces.DQMcommunicator.get_root_objects_recursive(), and dqm_interfaces.DirWalkerFile.walk().
def dqm_interfaces.DQMcommunicator.get_common_runs | ( | self, | |
dataset_string1, | |||
dataset_string2 | |||
) |
Definition at line 244 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.get_runs_list().
def dqm_interfaces.DQMcommunicator.get_data | ( | self, | |
full_url | |||
) |
Definition at line 94 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.open_url(), and fileinputsource_cfi.read.
Referenced by dqm_interfaces.DQMcommunicator.get_samples(), and dqm_interfaces.DQMcommunicator.ls_url().
def dqm_interfaces.DQMcommunicator.get_dataset_runs | ( | self, | |
dataset_string | |||
) |
Definition at line 236 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.get_datasets_list(), and dqm_interfaces.DQMcommunicator.get_runs_list().
def dqm_interfaces.DQMcommunicator.get_datasets_list | ( | self, | |
dataset_string = "" |
|||
) |
Definition at line 202 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.get_samples(), and genParticles_cff.map.
Referenced by dqm_interfaces.DQMcommunicator.get_dataset_runs(), and dqm_interfaces.DQMcommunicator.get_RelVal_CMSSW_versions().
def dqm_interfaces.DQMcommunicator.get_RelVal_CMSSW_versions | ( | self, | |
query | |||
) |
Get the available cmssw versions for the relvals.
Definition at line 214 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.get_datasets_list().
def dqm_interfaces.DQMcommunicator.get_root_objects | ( | self, | |
url = "" |
|||
) |
Definition at line 266 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.DQMpwd, mps_monitormerge.items, ROOTData.literal2root(), WZInterestingEventSelector::event.ls, BeamProfile2DBReader::TheBSfromDB.ls, BeamSpotRcdReader::theBSfromDB.ls, BeamSpotOnlineRecordsReader::theBSOfromDB.ls, MatrixUtil.InputInfo.ls, EcalDeadCellDeltaRFilter.ls, dqm_interfaces.DQMcommunicator.ls(), and dqm_interfaces.DQMcommunicator.server.
def dqm_interfaces.DQMcommunicator.get_root_objects_list | ( | self, | |
url = "" |
|||
) |
Definition at line 252 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.DQMpwd, mps_monitormerge.items, ROOTData.literal2root(), WZInterestingEventSelector::event.ls, BeamProfile2DBReader::TheBSfromDB.ls, BeamSpotRcdReader::theBSfromDB.ls, BeamSpotOnlineRecordsReader::theBSOfromDB.ls, MatrixUtil.InputInfo.ls, EcalDeadCellDeltaRFilter.ls, and dqm_interfaces.DQMcommunicator.ls().
def dqm_interfaces.DQMcommunicator.get_root_objects_list_recursive | ( | self, | |
url = "" |
|||
) |
Definition at line 280 of file dqm_interfaces.py.
References dqm::implementation::NavigatorBase.cd(), TFileDirectory.cd(), TFileService.cd(), dqm_interfaces.DQMcommunicator.cd(), Folder.cd(), mkfit::ConfigJsonPatcher.cd(), python.rootplot.utilities.RootFile.cd(), dqm::implementation::DQMStore.cd(), dqm_interfaces.DQMcommunicator.DQMpwd, dqm_interfaces.DQMcommunicator.get_root_objects_list_recursive(), mps_monitormerge.items, ROOTData.literal2root(), WZInterestingEventSelector::event.ls, BeamProfile2DBReader::TheBSfromDB.ls, BeamSpotRcdReader::theBSfromDB.ls, BeamSpotOnlineRecordsReader::theBSOfromDB.ls, MatrixUtil.InputInfo.ls, EcalDeadCellDeltaRFilter.ls, and dqm_interfaces.DQMcommunicator.ls().
Referenced by dqm_interfaces.DQMcommunicator.get_root_objects_list_recursive().
def dqm_interfaces.DQMcommunicator.get_root_objects_names_list_recursive | ( | self, | |
url = "" , |
|||
present_url = "" |
|||
) |
Definition at line 302 of file dqm_interfaces.py.
References dqm::implementation::NavigatorBase.cd(), TFileDirectory.cd(), TFileService.cd(), dqm_interfaces.DQMcommunicator.cd(), Folder.cd(), mkfit::ConfigJsonPatcher.cd(), python.rootplot.utilities.RootFile.cd(), dqm::implementation::DQMStore.cd(), dqm_interfaces.DQMcommunicator.DQMpwd, dqm_interfaces.DQMcommunicator.get_root_objects_names_list_recursive(), mps_monitormerge.items, WZInterestingEventSelector::event.ls, BeamProfile2DBReader::TheBSfromDB.ls, BeamSpotRcdReader::theBSfromDB.ls, BeamSpotOnlineRecordsReader::theBSOfromDB.ls, MatrixUtil.InputInfo.ls, EcalDeadCellDeltaRFilter.ls, and dqm_interfaces.DQMcommunicator.ls().
Referenced by dqm_interfaces.DQMcommunicator.get_root_objects_names_list_recursive().
def dqm_interfaces.DQMcommunicator.get_root_objects_recursive | ( | self, | |
url = "" , |
|||
present_url = "" |
|||
) |
Definition at line 329 of file dqm_interfaces.py.
References dqm::implementation::NavigatorBase.cd(), TFileDirectory.cd(), TFileService.cd(), dqm_interfaces.DQMcommunicator.cd(), Folder.cd(), mkfit::ConfigJsonPatcher.cd(), python.rootplot.utilities.RootFile.cd(), dqm::implementation::DQMStore.cd(), dqm_interfaces.DQMcommunicator.DQMpwd, dqm_interfaces.DQMcommunicator.get_root_objects_recursive(), mps_monitormerge.items, ROOTData.literal2root(), WZInterestingEventSelector::event.ls, BeamProfile2DBReader::TheBSfromDB.ls, BeamSpotRcdReader::theBSfromDB.ls, BeamSpotOnlineRecordsReader::theBSOfromDB.ls, MatrixUtil.InputInfo.ls, EcalDeadCellDeltaRFilter.ls, and dqm_interfaces.DQMcommunicator.ls().
Referenced by dqm_interfaces.DQMcommunicator.get_root_objects_recursive().
def dqm_interfaces.DQMcommunicator.get_runs_list | ( | self, | |
dataset_string | |||
) |
Definition at line 224 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.get_samples(), genParticles_cff.map, and gpuVertexFinder.while().
Referenced by dqm_interfaces.DQMcommunicator.get_common_runs(), and dqm_interfaces.DQMcommunicator.get_dataset_runs().
def dqm_interfaces.DQMcommunicator.get_samples | ( | self, | |
samples_string = "*" |
|||
) |
A sample contains, among the other things, a data type, a dataset name and a run.
Definition at line 191 of file dqm_interfaces.py.
References data_sources.data_source.get_data(), dqm_interfaces.DQMcommunicator.get_data(), and dqm_interfaces.DQMcommunicator.server.
Referenced by dqm_interfaces.DQMcommunicator.get_datasets_list(), and dqm_interfaces.DQMcommunicator.get_runs_list().
def dqm_interfaces.DQMcommunicator.ls | ( | self, | |
url = '' , |
|||
fetch_root = False |
|||
) |
Definition at line 147 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.DQMpwd, join(), and dqm_interfaces.DQMcommunicator.ls_url().
Referenced by dqm_interfaces.DQMcommunicator.get_root_objects(), dqm_interfaces.DQMcommunicator.get_root_objects_list(), dqm_interfaces.DQMcommunicator.get_root_objects_list_recursive(), dqm_interfaces.DQMcommunicator.get_root_objects_names_list_recursive(), dqm_interfaces.DQMcommunicator.get_root_objects_recursive(), and dqm_interfaces.DirWalkerFile.walk().
def dqm_interfaces.DQMcommunicator.ls_url | ( | self, | |
url | |||
) |
Definition at line 107 of file dqm_interfaces.py.
References data_sources.data_source.get_data(), dqm_interfaces.DQMcommunicator.get_data(), print(), FastTimerService_cff.range, and dqm_interfaces.DQMcommunicator.server.
Referenced by dqm_interfaces.DQMcommunicator.ls().
def dqm_interfaces.DQMcommunicator.open_url | ( | self, | |
url | |||
) |
Definition at line 79 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.ident, dqm_interfaces.DQMcommunicator.is_private, and dqm_interfaces.DQMcommunicator.opener.
Referenced by dqm_interfaces.DQMcommunicator.get_data().
|
static |
Definition at line 63 of file dqm_interfaces.py.
dqm_interfaces.DQMcommunicator.DQMpwd |
Definition at line 72 of file dqm_interfaces.py.
Referenced by dqm_interfaces.DQMcommunicator.cd(), dqm_interfaces.DQMcommunicator.get_root_objects(), dqm_interfaces.DQMcommunicator.get_root_objects_list(), dqm_interfaces.DQMcommunicator.get_root_objects_list_recursive(), dqm_interfaces.DQMcommunicator.get_root_objects_names_list_recursive(), dqm_interfaces.DQMcommunicator.get_root_objects_recursive(), and dqm_interfaces.DQMcommunicator.ls().
dqm_interfaces.DQMcommunicator.ident |
Definition at line 69 of file dqm_interfaces.py.
Referenced by dqm_interfaces.DQMcommunicator.open_url().
dqm_interfaces.DQMcommunicator.is_private |
Definition at line 71 of file dqm_interfaces.py.
Referenced by dqm_interfaces.DQMcommunicator.open_url().
dqm_interfaces.DQMcommunicator.oldDQMpwd |
Definition at line 185 of file dqm_interfaces.py.
Referenced by dqm_interfaces.DQMcommunicator.cd().
dqm_interfaces.DQMcommunicator.opener |
Definition at line 74 of file dqm_interfaces.py.
Referenced by dqm_interfaces.DQMcommunicator.open_url().
dqm_interfaces.DQMcommunicator.prevDQMpwd |
Definition at line 73 of file dqm_interfaces.py.
dqm_interfaces.DQMcommunicator.server |
Definition at line 70 of file dqm_interfaces.py.
Referenced by dqm_interfaces.DQMcommunicator.cd(), dqm_interfaces.DQMcommunicator.get_root_objects(), dqm_interfaces.DQMcommunicator.get_samples(), and dqm_interfaces.DQMcommunicator.ls_url().