Alignment
MuonAlignmentAlgorithms
scripts
Namespaces
|
Functions
|
Variables
groupFilesInBlocks.py File Reference
Go to the source code of this file.
Namespaces
groupFilesInBlocks
Functions
def
groupFilesInBlocks.makeJobBlock
(mylist, evtn)
Variables
groupFilesInBlocks.args
groupFilesInBlocks.block
string
groupFilesInBlocks.comma
= ","
string
groupFilesInBlocks.commandline
= " ".
join
(copyargs)
string
groupFilesInBlocks.commax
= ","
groupFilesInBlocks.comment1RE
= re.compile (r'^#.+$')
list
groupFilesInBlocks.commentLines
= []
groupFilesInBlocks.copyargs
= sys.argv[:]
groupFilesInBlocks.default
groupFilesInBlocks.dest
list
groupFilesInBlocks.eventsFiles
= []
groupFilesInBlocks.evtPerJob
= int(math.ceil(float(ntotal)/NBLOCKS))
groupFilesInBlocks.fileLineRE
= re.compile (r'^.*\'(.*)\'.+# (\d*).*$')
groupFilesInBlocks.fin
= open(INFILE, "r")
groupFilesInBlocks.fout
= open(OUTFILE,
mode
="w")
groupFilesInBlocks.help
groupFilesInBlocks.INFILE
= sys.argv[2]
list
groupFilesInBlocks.jobsBlocks
= []
groupFilesInBlocks.lines
= fin.readlines()
groupFilesInBlocks.match
= comment1RE.match(line)
groupFilesInBlocks.NBLOCKS
= int(sys.argv[1])
groupFilesInBlocks.nn
int
groupFilesInBlocks.ntotal
= 0
groupFilesInBlocks.options
groupFilesInBlocks.OUTFILE
= sys.argv[3]
groupFilesInBlocks.parser
= optparse.OptionParser(
usage
)
To parse commandline args.
More...
groupFilesInBlocks.prog
= sys.argv[0]
groupFilesInBlocks.reverse
list
groupFilesInBlocks.temp
= eventsFiles
int
groupFilesInBlocks.tt
= 0
groupFilesInBlocks.type
string
groupFilesInBlocks.usage
= './%(prog)s NBLOCKS INFILE OUTFILE [options]\n'+\
Generated for CMSSW Reference Manual by
1.8.16