CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 10 of file getRunRegistry.py.

References print().

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

Variable Documentation

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

Definition at line 63 of file getRunRegistry.py.

tuple getRunRegistry.data = server.DataExporter.export( sOptions[ '-T' ], sOptions[ '-w' ], sOptions[ '-t' ], runs )

Definition at line 86 of file getRunRegistry.py.

tuple getRunRegistry.file = open( sOptions[ '-f' ], 'w' )

Definition at line 88 of file getRunRegistry.py.

int getRunRegistry.iArgument = 0

Definition at line 66 of file getRunRegistry.py.

string getRunRegistry.runs = '{runNumber} >= '

Definition at line 85 of file getRunRegistry.py.

tuple getRunRegistry.server = xmlrpclib.ServerProxy( sOptions[ '-s' ] )

Definition at line 83 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 54 of file getRunRegistry.py.