Public Member Functions | |
def | __init__ |
def | cd |
def | get_common_runs |
def | get_data |
def | get_dataset_runs |
def | get_datasets_list |
def | get_RelVal_CMSSW_versions |
def | get_root_objects |
def | get_root_objects_list |
def | get_root_objects_list_recursive |
def | get_root_objects_names_list_recursive |
def | get_root_objects_recursive |
def | get_runs_list |
def | get_samples |
def | ls |
def | ls_url |
def | open_url |
Public Attributes | |
DQMpwd | |
ident | |
is_private | |
oldDQMpwd | |
opener | |
prevDQMpwd | |
server | |
Static Public Attributes | |
string | base_dir = '/data/json/archive/' |
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(), and SiPixelLorentzAngle_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 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 python.multivaluedict.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, ROOTData.literal2root(), ProcLinear.ls, WZInterestingEventSelector::event.ls, ProcMatrix.ls, create_public_lumi_plots.LumiDataPoint.ls, EcalDeadCellDeltaRFilter.ls, dqm_interfaces.DQMcommunicator.ls(), EcalDeadCellTriggerPrimitiveFilter.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, ROOTData.literal2root(), ProcLinear.ls, WZInterestingEventSelector::event.ls, ProcMatrix.ls, create_public_lumi_plots.LumiDataPoint.ls, EcalDeadCellDeltaRFilter.ls, dqm_interfaces.DQMcommunicator.ls(), and EcalDeadCellTriggerPrimitiveFilter.ls.
def dqm_interfaces.DQMcommunicator.get_root_objects_list_recursive | ( | self, | |
url = "" |
|||
) |
Definition at line 275 of file dqm_interfaces.py.
References TFileDirectory.cd(), ResidualFitter.cd(), TFileService.cd(), Folder.cd(), dqm_interfaces.DQMcommunicator.cd(), DQMStore::IBooker.cd(), DQMStore.cd(), python.rootplot.utilities.RootFile.cd(), dqm_interfaces.DQMcommunicator.DQMpwd, dqm_interfaces.DQMcommunicator.get_root_objects_list_recursive(), ROOTData.literal2root(), ProcLinear.ls, WZInterestingEventSelector::event.ls, ProcMatrix.ls, create_public_lumi_plots.LumiDataPoint.ls, EcalDeadCellDeltaRFilter.ls, dqm_interfaces.DQMcommunicator.ls(), and EcalDeadCellTriggerPrimitiveFilter.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(), ResidualFitter.cd(), TFileService.cd(), Folder.cd(), dqm_interfaces.DQMcommunicator.cd(), DQMStore::IBooker.cd(), DQMStore.cd(), python.rootplot.utilities.RootFile.cd(), dqm_interfaces.DQMcommunicator.DQMpwd, dqm_interfaces.DQMcommunicator.get_root_objects_names_list_recursive(), ProcLinear.ls, WZInterestingEventSelector::event.ls, ProcMatrix.ls, create_public_lumi_plots.LumiDataPoint.ls, EcalDeadCellDeltaRFilter.ls, dqm_interfaces.DQMcommunicator.ls(), and EcalDeadCellTriggerPrimitiveFilter.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(), ResidualFitter.cd(), TFileService.cd(), Folder.cd(), dqm_interfaces.DQMcommunicator.cd(), DQMStore::IBooker.cd(), DQMStore.cd(), python.rootplot.utilities.RootFile.cd(), dqm_interfaces.DQMcommunicator.DQMpwd, dqm_interfaces.DQMcommunicator.get_root_objects_recursive(), ROOTData.literal2root(), ProcLinear.ls, WZInterestingEventSelector::event.ls, ProcMatrix.ls, create_public_lumi_plots.LumiDataPoint.ls, EcalDeadCellDeltaRFilter.ls, dqm_interfaces.DQMcommunicator.ls(), and EcalDeadCellTriggerPrimitiveFilter.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 python.multivaluedict.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 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 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 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().