CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
getRunRegistry Namespace Reference

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
 

Function Documentation

def getRunRegistry.displayHelp ( )

Definition at line 9 of file getRunRegistry.py.

9 
10 def displayHelp():
11  print """
12  getRunRegistry.py
13 
14  CMSSW package DQM/TrackerCommon
15 
16  Usage:
17  $ getRunRegistry.py [ARGUMENTOPTION1] [ARGUMENT1] ... [OPTION2] ...
18 
19  Valid argument options are:
20  -s
21  API address of RunRegistry server
22  default: 'http://pccmsdqm04.cern.ch/runregistry/xmlrpc'
23  -T
24  table identifier
25  available: 'RUN', 'RUNLUMISECTION'
26  default: 'RUN'
27  -w
28  work space identifier
29  available: 'RPC', 'HLT', 'L1T', 'TRACKER', 'CSC', 'GLOBAL', 'ECAL'
30  default: 'GLOBAL'
31  -t
32  output format type
33  available:
34  - 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'
35  - table 'RUNLUMISECTION': 'json', 'xml'
36  default: 'xml_all' (for table 'RUN')
37  -f
38  output file
39  default: 'runRegistry.xml'
40  -l
41  lower bound of run numbers to consider
42  default: '0'
43  -u
44  upper bound of run numbers to consider
45  default: '1073741824'
46 
47  Valid options are:
48  -h
49  display this help and exit
50  """
51 
52 
# Option handling (very simple, no validity checks)

Variable Documentation

dictionary getRunRegistry.bOptions
Initial value:
1 = {
2  '-h': False # help option
3 }

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.

dictionary getRunRegistry.sOptions
Initial value:
1 = {
2  '-s': 'http://pccmsdqm04.cern.ch/runregistry/xmlrpc' # RunRegistry API proxy server
3 , '-T': 'RUN' # table
4 , '-w': 'GLOBAL' # workspace
5 , '-t': 'xml_all' # output format type
6 , '-f': 'runRegistry.xml' # output file
7 , '-l': '0' # lower bound of run numbers to consider
8 , '-u': '1073741824' # upper bound of run numbers to consider
9 }

Definition at line 53 of file getRunRegistry.py.