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