CMS 3D CMS Logo

Variables
createCSCRingsJobs Namespace Reference

Variables

 action
 
 allowTIDTEC = str(not options.notAllowTIDTEC)
 
 args
 
list bsubfile = ["#!/bin/sh", ""]
 
list bsubnames = []
 
 combineME11 = str(not options.notCombineME11)
 
string commandline = " ".join(copyargs)
 
 copyargs = sys.argv[:]
 
string copyplots = "plotting*.root"
 
string copytrackerdb = ""
 
bool createMapNtuple = False
 
 cscparams = options.cscparams
 
 default
 
 dest
 
string director = directory[:-1]
 
string director1 = directory1[:-1]
 
string directory = ""
 do two iterations of gather + align jobs More...
 
string directory1 = "%s01/" % DIRNAME
 
 DIRNAME = sys.argv[1]
 
 exit_code = os.system("./Alignment/MuonAlignmentAlgorithms/scripts/convertSQLiteXML.py %s %s" % (INITIALGEOM,INITIALXML))
 
list fileNames = []
 
list fileNamesBlocks = []
 
string gather_fileName = "%sgather%03d.sh" % (directory, jobnumber)
 
 globaltag = options.globaltag
 
 gprcd = options.gprcd
 
 gprcdconnect = options.gprcdconnect
 
 help
 
 INITIALGEOM = sys.argv[3]
 
string INITIALXML = INITIALGEOM + '.xml'
 step 0: convert initial geometry to xml More...
 
 inputdb = INITIALGEOM
 
string inputdbdir = directory[:]
 
 INPUTFILES = sys.argv[4]
 
string inputfiles = " ".join(fileNames[jobnumber*stepsize:(jobnumber+1)*stepsize])
 
string inputInBlocks = ""
 
string inputxml = INITIALXML
 
 iscosmics = str(options.iscosmics)
 
 ITERATIONS = int(sys.argv[2])
 
 json_file = options.json
 
 last_align = None
 
 maxDxy = options.maxDxy
 
 maxEvents = options.maxEvents
 
 maxResSlopeY = options.maxResSlopeY
 
 maxTrackerRedChi2 = options.maxTrackerRedChi2
 
 maxTrackP = options.maxTrackP
 
 maxTrackPt = options.maxTrackPt
 
 minAlignmentHits = str(options.minAlignmentHits)
 
 minNCrossedChambers = options.minNCrossedChambers
 
 minTrackerHits = str(options.minTrackerHits)
 
 minTrackP = options.minTrackP
 
 minTrackPt = options.minTrackPt
 
 muonCollectionTag = options.muonCollectionTag
 
 njobs = options.subjobs
 
 options
 
 parser = optparse.OptionParser(usage)
 
 preFilter = not not options.preFilter
 
 prog = sys.argv[0]
 
 pwd = str(os.getcwd())
 
 queue
 
string ring2only = ""
 
 skipEvents = options.skipEvents
 
 station123params = options.station123params
 
 station4params = options.station4params
 
 stepsize = int(math.ceil(1.*len(fileNames)/njobs))
 
 trackeralignment = options.trackeralignment
 
 trackerAPE = options.trackerAPE
 
 trackerAPEconnect = options.trackerAPEconnect
 
 trackerconnect = options.trackerconnect
 
 twoBin = str(options.twoBin)
 
 type
 
string usage
 
 useTrackerMuons = options.useTrackerMuons
 
 validationLabel = options.validationLabel
 
 waiter
 
 weightAlignment = str(options.weightAlignment)
 

Variable Documentation

◆ action

createCSCRingsJobs.action

Definition at line 47 of file createCSCRingsJobs.py.

◆ allowTIDTEC

createCSCRingsJobs.allowTIDTEC = str(not options.notAllowTIDTEC)

Definition at line 240 of file createCSCRingsJobs.py.

◆ args

createCSCRingsJobs.args

Definition at line 219 of file createCSCRingsJobs.py.

◆ bsubfile

list createCSCRingsJobs.bsubfile = ["#!/bin/sh", ""]

Definition at line 281 of file createCSCRingsJobs.py.

◆ bsubnames

list createCSCRingsJobs.bsubnames = []

Definition at line 282 of file createCSCRingsJobs.py.

◆ combineME11

createCSCRingsJobs.combineME11 = str(not options.notCombineME11)

Definition at line 244 of file createCSCRingsJobs.py.

◆ commandline

string createCSCRingsJobs.commandline = " ".join(copyargs)

Definition at line 13 of file createCSCRingsJobs.py.

◆ copyargs

createCSCRingsJobs.copyargs = sys.argv[:]

Definition at line 7 of file createCSCRingsJobs.py.

◆ copyplots

string createCSCRingsJobs.copyplots = "plotting*.root"

Definition at line 327 of file createCSCRingsJobs.py.

◆ copytrackerdb

string createCSCRingsJobs.copytrackerdb = ""

Definition at line 329 of file createCSCRingsJobs.py.

◆ createMapNtuple

createCSCRingsJobs.createMapNtuple = False

Definition at line 252 of file createCSCRingsJobs.py.

◆ cscparams

createCSCRingsJobs.cscparams = options.cscparams

Definition at line 230 of file createCSCRingsJobs.py.

◆ default

createCSCRingsJobs.default

Definition at line 33 of file createCSCRingsJobs.py.

◆ dest

createCSCRingsJobs.dest

Definition at line 34 of file createCSCRingsJobs.py.

◆ director

string createCSCRingsJobs.director = directory[:-1]

Definition at line 311 of file createCSCRingsJobs.py.

◆ director1

string createCSCRingsJobs.director1 = directory1[:-1]

Definition at line 313 of file createCSCRingsJobs.py.

◆ directory

string createCSCRingsJobs.directory = ""

do two iterations of gather + align jobs

Definition at line 299 of file createCSCRingsJobs.py.

◆ directory1

string createCSCRingsJobs.directory1 = "%s01/" % DIRNAME

Definition at line 312 of file createCSCRingsJobs.py.

◆ DIRNAME

createCSCRingsJobs.DIRNAME = sys.argv[1]

Definition at line 214 of file createCSCRingsJobs.py.

◆ exit_code

createCSCRingsJobs.exit_code = os.system("./Alignment/MuonAlignmentAlgorithms/scripts/convertSQLiteXML.py %s %s" % (INITIALGEOM,INITIALXML))

Definition at line 291 of file createCSCRingsJobs.py.

◆ fileNames

list createCSCRingsJobs.fileNames = []

Definition at line 267 of file createCSCRingsJobs.py.

◆ fileNamesBlocks

list createCSCRingsJobs.fileNamesBlocks = []

Definition at line 268 of file createCSCRingsJobs.py.

◆ gather_fileName

string createCSCRingsJobs.gather_fileName = "%sgather%03d.sh" % (directory, jobnumber)

Definition at line 321 of file createCSCRingsJobs.py.

◆ globaltag

createCSCRingsJobs.globaltag = options.globaltag

Definition at line 220 of file createCSCRingsJobs.py.

◆ gprcd

createCSCRingsJobs.gprcd = options.gprcd

Definition at line 226 of file createCSCRingsJobs.py.

◆ gprcdconnect

createCSCRingsJobs.gprcdconnect = options.gprcdconnect

Definition at line 225 of file createCSCRingsJobs.py.

◆ help

createCSCRingsJobs.help

Definition at line 31 of file createCSCRingsJobs.py.

◆ INITIALGEOM

createCSCRingsJobs.INITIALGEOM = sys.argv[3]

Definition at line 216 of file createCSCRingsJobs.py.

◆ INITIALXML

string createCSCRingsJobs.INITIALXML = INITIALGEOM + '.xml'

step 0: convert initial geometry to xml

Definition at line 287 of file createCSCRingsJobs.py.

◆ inputdb

string createCSCRingsJobs.inputdb = INITIALGEOM

Definition at line 302 of file createCSCRingsJobs.py.

◆ inputdbdir

string createCSCRingsJobs.inputdbdir = directory[:]

Definition at line 303 of file createCSCRingsJobs.py.

◆ INPUTFILES

createCSCRingsJobs.INPUTFILES = sys.argv[4]

Definition at line 217 of file createCSCRingsJobs.py.

◆ inputfiles

string createCSCRingsJobs.inputfiles = " ".join(fileNames[jobnumber*stepsize:(jobnumber+1)*stepsize])

Definition at line 323 of file createCSCRingsJobs.py.

◆ inputInBlocks

createCSCRingsJobs.inputInBlocks = ""

Definition at line 257 of file createCSCRingsJobs.py.

◆ inputxml

string createCSCRingsJobs.inputxml = INITIALXML

Definition at line 304 of file createCSCRingsJobs.py.

◆ iscosmics

createCSCRingsJobs.iscosmics = str(options.iscosmics)

Definition at line 227 of file createCSCRingsJobs.py.

◆ ITERATIONS

createCSCRingsJobs.ITERATIONS = int(sys.argv[2])

Definition at line 215 of file createCSCRingsJobs.py.

◆ json_file

createCSCRingsJobs.json_file = options.json

Definition at line 260 of file createCSCRingsJobs.py.

◆ last_align

string createCSCRingsJobs.last_align = None

Definition at line 283 of file createCSCRingsJobs.py.

◆ maxDxy

createCSCRingsJobs.maxDxy = options.maxDxy

Definition at line 236 of file createCSCRingsJobs.py.

◆ maxEvents

createCSCRingsJobs.maxEvents = options.maxEvents

Definition at line 245 of file createCSCRingsJobs.py.

◆ maxResSlopeY

createCSCRingsJobs.maxResSlopeY = options.maxResSlopeY

Definition at line 248 of file createCSCRingsJobs.py.

◆ maxTrackerRedChi2

createCSCRingsJobs.maxTrackerRedChi2 = options.maxTrackerRedChi2

Definition at line 238 of file createCSCRingsJobs.py.

◆ maxTrackP

createCSCRingsJobs.maxTrackP = options.maxTrackP

Definition at line 235 of file createCSCRingsJobs.py.

◆ maxTrackPt

createCSCRingsJobs.maxTrackPt = options.maxTrackPt

Definition at line 233 of file createCSCRingsJobs.py.

◆ minAlignmentHits

createCSCRingsJobs.minAlignmentHits = str(options.minAlignmentHits)

Definition at line 243 of file createCSCRingsJobs.py.

◆ minNCrossedChambers

createCSCRingsJobs.minNCrossedChambers = options.minNCrossedChambers

Definition at line 239 of file createCSCRingsJobs.py.

◆ minTrackerHits

createCSCRingsJobs.minTrackerHits = str(options.minTrackerHits)

Definition at line 237 of file createCSCRingsJobs.py.

◆ minTrackP

createCSCRingsJobs.minTrackP = options.minTrackP

Definition at line 234 of file createCSCRingsJobs.py.

◆ minTrackPt

createCSCRingsJobs.minTrackPt = options.minTrackPt

Definition at line 232 of file createCSCRingsJobs.py.

◆ muonCollectionTag

createCSCRingsJobs.muonCollectionTag = options.muonCollectionTag

Definition at line 231 of file createCSCRingsJobs.py.

◆ njobs

createCSCRingsJobs.njobs = options.subjobs

Definition at line 270 of file createCSCRingsJobs.py.

◆ options

createCSCRingsJobs.options

Definition at line 219 of file createCSCRingsJobs.py.

◆ parser

createCSCRingsJobs.parser = optparse.OptionParser(usage)

Definition at line 29 of file createCSCRingsJobs.py.

◆ preFilter

createCSCRingsJobs.preFilter = not not options.preFilter

Definition at line 249 of file createCSCRingsJobs.py.

◆ prog

createCSCRingsJobs.prog = sys.argv[0]

Definition at line 15 of file createCSCRingsJobs.py.

◆ pwd

createCSCRingsJobs.pwd = str(os.getcwd())

Definition at line 279 of file createCSCRingsJobs.py.

◆ queue

createCSCRingsJobs.queue

Definition at line 402 of file createCSCRingsJobs.py.

◆ ring2only

createCSCRingsJobs.ring2only = ""

Definition at line 255 of file createCSCRingsJobs.py.

◆ skipEvents

createCSCRingsJobs.skipEvents = options.skipEvents

Definition at line 246 of file createCSCRingsJobs.py.

◆ station123params

createCSCRingsJobs.station123params = options.station123params

Definition at line 228 of file createCSCRingsJobs.py.

◆ station4params

createCSCRingsJobs.station4params = options.station4params

Definition at line 229 of file createCSCRingsJobs.py.

◆ stepsize

createCSCRingsJobs.stepsize = int(math.ceil(1.*len(fileNames)/njobs))

Definition at line 277 of file createCSCRingsJobs.py.

◆ trackeralignment

createCSCRingsJobs.trackeralignment = options.trackeralignment

Definition at line 222 of file createCSCRingsJobs.py.

◆ trackerAPE

createCSCRingsJobs.trackerAPE = options.trackerAPE

Definition at line 224 of file createCSCRingsJobs.py.

◆ trackerAPEconnect

createCSCRingsJobs.trackerAPEconnect = options.trackerAPEconnect

Definition at line 223 of file createCSCRingsJobs.py.

◆ trackerconnect

createCSCRingsJobs.trackerconnect = options.trackerconnect

Definition at line 221 of file createCSCRingsJobs.py.

◆ twoBin

createCSCRingsJobs.twoBin = str(options.twoBin)

Definition at line 241 of file createCSCRingsJobs.py.

◆ type

createCSCRingsJobs.type

Definition at line 32 of file createCSCRingsJobs.py.

◆ usage

string createCSCRingsJobs.usage
Initial value:
1 = """./%(prog)s DIRNAME ITERATIONS INITIALGEOM INPUTFILES [options]
2 
3 Creates (overwrites) a directory for each of the iterations and creates (overwrites)
4 submitJobs.sh with the submission sequence and dependencies.
5 
6 DIRNAME directories will be named DIRNAME01, DIRNAME02...
7 ITERATIONS number of iterations
8 INITIALGEOM SQLite file containing muon geometry with tag names
9  DTAlignmentRcd, DTAlignmentErrorExtendedRcd, CSCAlignmentRcd, CSCAlignmentErrorExtendedRcd
10 INPUTFILES Python file defining 'fileNames', a list of input files as
11  strings (create with findQualityFiles.py)""" % vars()

Definition at line 17 of file createCSCRingsJobs.py.

◆ useTrackerMuons

createCSCRingsJobs.useTrackerMuons = options.useTrackerMuons

Definition at line 250 of file createCSCRingsJobs.py.

◆ validationLabel

createCSCRingsJobs.validationLabel = options.validationLabel

Definition at line 247 of file createCSCRingsJobs.py.

◆ waiter

createCSCRingsJobs.waiter

Definition at line 400 of file createCSCRingsJobs.py.

◆ weightAlignment

createCSCRingsJobs.weightAlignment = str(options.weightAlignment)

Definition at line 242 of file createCSCRingsJobs.py.