CMS 3D CMS Logo

List of all members | Public Member Functions
contentValuesFiles.OptionParser Class Reference
Inheritance diagram for contentValuesFiles.OptionParser:

Public Member Functions

def __init__ (self)
 

Detailed Description

Option parser class 

Definition at line 14 of file contentValuesFiles.py.

Constructor & Destructor Documentation

◆ __init__()

def contentValuesFiles.OptionParser.__init__ (   self)

Definition at line 16 of file contentValuesFiles.py.

References cxxopts::Options.add_option().

16  def __init__(self):
17  optparse.OptionParser.__init__(self, usage="%prog [options]", version="%prog 0.0.1", conflict_handler="resolve")
18  self.add_option("--url", action="store", type="string", dest="url", default=SERVER_URL, help="specify RR XML-RPC server URL. Default is " + SERVER_URL)
19  self.add_option("--from", action="store", type="int", dest="from", default=None, help="specify run number lower threshold inclusive. Note that all runs/datasets retrieval can take a long time!")
20  self.add_option("--to", action="store", type="int", dest="to", default=None, help="specify run number upper threshold inclusive. Note that all runs/datasets retrieval can take a long time!")
21  self.add_option("--base", action="store", type="string", dest="base", default=DEFAULT_BASE, help="file base. Default is " + DEFAULT_BASE)
22 
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)