Functions | |
def | displayHelp |
Variables | |
dictionary | bOptions |
tuple | data = server.DataExporter.export( sOptions[ '-T' ], sOptions[ '-w' ], sOptions[ '-t' ], runs ) |
tuple | file = open( sOptions[ '-f' ], 'w' ) |
int | iArgument = 0 |
string | runs = '{runNumber} >= ' |
tuple | server = xmlrpclib.ServerProxy( sOptions[ '-s' ] ) |
dictionary | sOptions |
def getRunRegistry::displayHelp | ( | ) |
Definition at line 9 of file getRunRegistry.py.
00010 : 00011 print """ 00012 getRunRegistry.py 00013 00014 CMSSW package DQM/TrackerCommon 00015 00016 Usage: 00017 $ getRunRegistry.py [ARGUMENTOPTION1] [ARGUMENT1] ... [OPTION2] ... 00018 00019 Valid argument options are: 00020 -s 00021 API address of RunRegistry server 00022 default: 'https://pccmsdqm04.cern.ch/runregistry/xmlrpc' 00023 -T 00024 table identifier 00025 available: 'RUN', 'RUNLUMISECTION' 00026 default: 'RUN' 00027 -w 00028 work space identifier 00029 available: 'RPC', 'HLT', 'L1T', 'TRACKER', 'CSC', 'GLOBAL', 'ECAL' 00030 default: 'GLOBAL' 00031 -t 00032 output format type 00033 available: 00034 - table 'RUN' : 'chart_runs_cum_evs_vs_bfield', 'chart_runs_cum_l1_124_vs_bfield', 'chart_stacked_component_status', 'csv_datasets', 'csv_run_numbers', 'csv_runs', 'tsv_datasets', 'tsv_runs', 'xml_all', 'xml_datasets' 00035 - table 'RUNLUMISECTION': 'json', 'xml' 00036 default: 'xml_all' (for table 'RUN') 00037 -f 00038 output file 00039 default: 'runRegistry.xml' 00040 -l 00041 lower bound of run numbers to consider 00042 default: '0' 00043 -u 00044 upper bound of run numbers to consider 00045 default: '1073741824' 00046 00047 Valid options are: 00048 -h 00049 display this help and exit 00050 """ 00051 00052 # Option handling (very simple, no validity checks)
dictionary getRunRegistry::bOptions |
00001 { 00002 '-h': False # help option 00003 }
Definition at line 62 of file getRunRegistry.py.
tuple getRunRegistry::data = server.DataExporter.export( sOptions[ '-T' ], sOptions[ '-w' ], sOptions[ '-t' ], runs ) |
Definition at line 85 of file getRunRegistry.py.
tuple getRunRegistry::file = open( sOptions[ '-f' ], 'w' ) |
Definition at line 87 of file getRunRegistry.py.
int getRunRegistry::iArgument = 0 |
Definition at line 65 of file getRunRegistry.py.
string getRunRegistry::runs = '{runNumber} >= ' |
Definition at line 84 of file getRunRegistry.py.
tuple getRunRegistry::server = xmlrpclib.ServerProxy( sOptions[ '-s' ] ) |
Definition at line 82 of file getRunRegistry.py.
Referenced by main(), CmsShowMain::notified(), and CmsShowMain::setupSocket().
dictionary getRunRegistry::sOptions |
00001 { 00002 '-s': 'https://pccmsdqm04.cern.ch/runregistry/xmlrpc' # RunRegistry API proxy server 00003 , '-T': 'RUN' # table 00004 , '-w': 'GLOBAL' # workspace 00005 , '-t': 'xml_all' # output format type 00006 , '-f': 'runRegistry.xml' # output file 00007 , '-l': '0' # lower bound of run numbers to consider 00008 , '-u': '1073741824' # upper bound of run numbers to consider 00009 }
Definition at line 53 of file getRunRegistry.py.