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 55 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 66 of file dqm_interfaces.py.
def dqm_interfaces.DQMcommunicator.cd | ( | self, | |
args | |||
) |
Definition at line 159 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 242 of file dqm_interfaces.py.
References dqm_interfaces.DQMcommunicator.get_runs_list().
def dqm_interfaces.DQMcommunicator.get_data | ( | self, | |
full_url | |||
) |
Definition at line 92 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 234 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 200 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 212 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 264 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 250 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 278 of file dqm_interfaces.py.
References TFileDirectory.cd(), TFileService.cd(), DQMStore::IBooker.cd(), Folder.cd(), dqm_interfaces.DQMcommunicator.cd(), DQMStore::IGetter.cd(), DQMStore.cd(), python.rootplot.utilities.RootFile.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 300 of file dqm_interfaces.py.
References TFileDirectory.cd(), TFileService.cd(), DQMStore::IBooker.cd(), Folder.cd(), dqm_interfaces.DQMcommunicator.cd(), DQMStore::IGetter.cd(), DQMStore.cd(), python.rootplot.utilities.RootFile.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 327 of file dqm_interfaces.py.
References TFileDirectory.cd(), TFileService.cd(), DQMStore::IBooker.cd(), Folder.cd(), dqm_interfaces.DQMcommunicator.cd(), DQMStore::IGetter.cd(), DQMStore.cd(), python.rootplot.utilities.RootFile.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 222 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 189 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 145 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 105 of file dqm_interfaces.py.
References data_sources.data_source.get_data(), dqm_interfaces.DQMcommunicator.get_data(), edm.print(), and dqm_interfaces.DQMcommunicator.server.
Referenced by dqm_interfaces.DQMcommunicator.ls().
def dqm_interfaces.DQMcommunicator.open_url | ( | self, | |
url | |||
) |
Definition at line 77 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 61 of file dqm_interfaces.py.
dqm_interfaces.DQMcommunicator.DQMpwd |
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_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 67 of file dqm_interfaces.py.
Referenced by dqm_interfaces.DQMcommunicator.open_url().
dqm_interfaces.DQMcommunicator.is_private |
Definition at line 69 of file dqm_interfaces.py.
Referenced by dqm_interfaces.DQMcommunicator.open_url().
dqm_interfaces.DQMcommunicator.oldDQMpwd |
Definition at line 183 of file dqm_interfaces.py.
Referenced by dqm_interfaces.DQMcommunicator.cd().
dqm_interfaces.DQMcommunicator.opener |
Definition at line 72 of file dqm_interfaces.py.
dqm_interfaces.DQMcommunicator.prevDQMpwd |
Definition at line 71 of file dqm_interfaces.py.
dqm_interfaces.DQMcommunicator.server |
Definition at line 68 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().