test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions | Variables
createJobs.py File Reference

Go to the source code of this file.

Namespaces

 createJobs
 

Functions

def createJobs.writeAlignCfg
 
def createJobs.writeGatherCfg
 
def createJobs.writeValidationCfg
 

Variables

string createJobs.action = "store_true"
 
tuple createJobs.allowTIDTEC = str(not options.notAllowTIDTEC)
 
list createJobs.bsubfile = ["#!/bin/sh", ""]
 
list createJobs.bsubnames = []
 
tuple createJobs.combineME11 = str(not options.notCombineME11)
 
string createJobs.commandline = " "
 
list createJobs.copyargs = sys.argv[:]
 
string createJobs.copytrackerdb = ""
 
 createJobs.createAlignNtuple = notnotoptions.createAlignNtuple
 
 createJobs.createMapNtuple = notnotoptions.createMapNtuple
 
 createJobs.cscparams = options.cscparams
 
 createJobs.curvatureplots = False
 
 createJobs.curvatureplots_ingeneral = options.curvatureplots
 
int createJobs.default = 50
 
string createJobs.dest = "subjobs"
 
 createJobs.dir_no_ = DIRNAME
 
list createJobs.director = directory[:-1]
 
list createJobs.director1 = directory1[:-1]
 
string createJobs.directory = ""
 
string createJobs.directory1 = "%s01/"
 after the last iteration (optionally) do diagnostics run More...
 
list createJobs.DIRNAME = sys.argv[1]
 
 createJobs.doCleanUp = notoptions.noCleanUp
 
 createJobs.doCSC = True
 
 createJobs.doDT = True
 
tuple createJobs.exit_code = os.system("./Alignment/MuonAlignmentAlgorithms/scripts/convertSQLiteXML.py %s %s --gprcdconnect %s --gprcd %s" % (INITIALGEOM,INITIALXML,gprcdconnect,gprcd))
 
 createJobs.extraPlots = options.extraPlots
 
list createJobs.fileNames = []
 
list createJobs.fileNamesBlocks = []
 
string createJobs.gather_fileName = "%sgather%03d.sh"
 
 createJobs.globaltag = options.globaltag
 
 createJobs.gprcd = options.gprcd
 
 createJobs.gprcdconnect = options.gprcdconnect
 
string createJobs.help = "approximate number of \"gather\" subjobs"
 
list createJobs.INITIALGEOM = sys.argv[3]
 
string createJobs.INITIALXML = INITIALGEOM+'.xml'
 step 0: convert initial geometry to xml More...
 
 createJobs.inputdb = INITIALGEOM
 
list createJobs.inputdbdir = directory[:]
 
list createJobs.INPUTFILES = sys.argv[4]
 
string createJobs.inputfiles = " "
 gather.sh runners for njobs More...
 
tuple createJobs.iscosmics = str(options.iscosmics)
 
tuple createJobs.ITERATIONS = int(sys.argv[2])
 
 createJobs.json_file = options.json
 
 createJobs.last_align = None
 
 createJobs.mapplots = False
 
 createJobs.mapplots_ingeneral = options.mapplots
 
 createJobs.maxDxy = options.maxDxy
 
 createJobs.maxEvents = options.maxEvents
 
 createJobs.maxResSlopeY = options.maxResSlopeY
 
 createJobs.maxTrackerRedChi2 = options.maxTrackerRedChi2
 
 createJobs.maxTrackP = options.maxTrackP
 
 createJobs.maxTrackPt = options.maxTrackPt
 
tuple createJobs.minAlignmentHits = str(options.minAlignmentHits)
 
 createJobs.minNCrossedChambers = options.minNCrossedChambers
 
tuple createJobs.minTrackerHits = str(options.minTrackerHits)
 
 createJobs.minTrackP = options.minTrackP
 
 createJobs.minTrackPt = options.minTrackPt
 
 createJobs.muonCollectionTag = options.muonCollectionTag
 
 createJobs.njobs = options.subjobs
 
tuple createJobs.parser = optparse.OptionParser(usage)
 
 createJobs.peakNSigma = options.peakNSigma
 
 createJobs.preFilter = notnotoptions.preFilter
 
list createJobs.prog = sys.argv[0]
 
tuple createJobs.pwd = str(os.getcwdu())
 
 createJobs.residualsModel = options.residualsModel
 
 createJobs.segdiffplots = False
 
 createJobs.segdiffplots_ingeneral = options.segdiffplots
 
 createJobs.skipEvents = options.skipEvents
 
 createJobs.station123params = options.station123params
 
 createJobs.station4params = options.station4params
 
tuple createJobs.stepsize = int(math.ceil(1.*len(fileNames)/options.subjobs))
 
 createJobs.SUPER_SPECIAL_XY_AND_DXDZ_ITERATIONS = False
 
 createJobs.theNSigma = options.motionPolicyNSigma
 
 createJobs.tmp = station123params,station123params,useResiduals
 align.sh More...
 
 createJobs.trackeralignment = options.trackeralignment
 
 createJobs.trackerAPE = options.trackerAPE
 
 createJobs.trackerAPEconnect = options.trackerAPEconnect
 
 createJobs.trackerBows = options.trackerBows
 
 createJobs.trackerBowsconnect = options.trackerBowsconnect
 
 createJobs.trackerconnect = options.trackerconnect
 
tuple createJobs.twoBin = str(options.twoBin)
 
string createJobs.type = "int"
 
string createJobs.usage
 
 createJobs.user_mail = options.user_mail
 
 createJobs.useResiduals = options.useResiduals
 
 createJobs.validationLabel = options.validationLabel
 
tuple createJobs.weightAlignment = str(options.weightAlignment)