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 52 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 63 of file dqm_interfaces.py.
def dqm_interfaces.DQMcommunicator.cd | ( | self, | |
args | |||
) |
Definition at line 156 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 239 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.get_runs_list().
def dqm_interfaces.DQMcommunicator.get_data | ( | self, | |
full_url | |||
) |
Definition at line 89 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.open_url().
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 231 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 197 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 209 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.get_datasets_list(), and list().
def dqm_interfaces.DQMcommunicator.get_root_objects | ( | self, | |
url = "" |
|||
) |
Definition at line 261 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.DQMpwd, mps_monitormerge.items, ROOTData.literal2root(), ProcLinear.ls, WZInterestingEventSelector::event.ls, ProcMatrix.ls, BeamSpotRcdReader::theBSfromDB.ls, create_public_lumi_plots.LumiDataPoint.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 247 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.DQMpwd, mps_monitormerge.items, ROOTData.literal2root(), ProcLinear.ls, WZInterestingEventSelector::event.ls, ProcMatrix.ls, BeamSpotRcdReader::theBSfromDB.ls, create_public_lumi_plots.LumiDataPoint.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 275 of file dqm_interfaces.py.
References TFileDirectory.cd(), TFileService.cd(), Folder.cd(), dqm_interfaces.DQMcommunicator.cd(), DQMStore::IBooker.cd(), DQMStore::IGetter.cd(), python.rootplot.utilities.RootFile.cd(), DQMStore.cd(), dqm_interfaces.DQMcommunicator.DQMpwd, dqm_interfaces.DQMcommunicator.get_root_objects_list_recursive(), mps_monitormerge.items, ROOTData.literal2root(), ProcLinear.ls, WZInterestingEventSelector::event.ls, ProcMatrix.ls, BeamSpotRcdReader::theBSfromDB.ls, create_public_lumi_plots.LumiDataPoint.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 297 of file dqm_interfaces.py.
References TFileDirectory.cd(), TFileService.cd(), Folder.cd(), dqm_interfaces.DQMcommunicator.cd(), DQMStore::IBooker.cd(), DQMStore::IGetter.cd(), python.rootplot.utilities.RootFile.cd(), DQMStore.cd(), dqm_interfaces.DQMcommunicator.DQMpwd, dqm_interfaces.DQMcommunicator.get_root_objects_names_list_recursive(), mps_monitormerge.items, ProcLinear.ls, WZInterestingEventSelector::event.ls, ProcMatrix.ls, BeamSpotRcdReader::theBSfromDB.ls, create_public_lumi_plots.LumiDataPoint.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 324 of file dqm_interfaces.py.
References TFileDirectory.cd(), TFileService.cd(), Folder.cd(), dqm_interfaces.DQMcommunicator.cd(), DQMStore::IBooker.cd(), DQMStore::IGetter.cd(), python.rootplot.utilities.RootFile.cd(), DQMStore.cd(), dqm_interfaces.DQMcommunicator.DQMpwd, dqm_interfaces.DQMcommunicator.get_root_objects_recursive(), mps_monitormerge.items, ROOTData.literal2root(), ProcLinear.ls, WZInterestingEventSelector::event.ls, ProcMatrix.ls, BeamSpotRcdReader::theBSfromDB.ls, create_public_lumi_plots.LumiDataPoint.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 219 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.get_samples(), and genParticles_cff.map.
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 186 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().
Definition at line 142 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 102 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.ls().
def dqm_interfaces.DQMcommunicator.open_url | ( | self, | |
url | |||
) |
Definition at line 74 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.ident, and dqm_interfaces.DQMcommunicator.is_private.
Referenced by dqm_interfaces.DQMcommunicator.get_data().
|
static |
Definition at line 58 of file dqm_interfaces.py.
dqm_interfaces.DQMcommunicator.DQMpwd |
Definition at line 67 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 64 of file dqm_interfaces.py.
Referenced by dqm_interfaces.DQMcommunicator.open_url().
dqm_interfaces.DQMcommunicator.is_private |
Definition at line 66 of file dqm_interfaces.py.
Referenced by dqm_interfaces.DQMcommunicator.open_url().
dqm_interfaces.DQMcommunicator.oldDQMpwd |
Definition at line 180 of file dqm_interfaces.py.
Referenced by dqm_interfaces.DQMcommunicator.cd().
dqm_interfaces.DQMcommunicator.opener |
Definition at line 69 of file dqm_interfaces.py.
dqm_interfaces.DQMcommunicator.prevDQMpwd |
Definition at line 68 of file dqm_interfaces.py.
dqm_interfaces.DQMcommunicator.server |
Definition at line 65 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().