ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/python/osusub_cfg.py
Revision: 1.1
Committed: Wed Jun 6 10:50:56 2012 UTC (12 years, 11 months ago) by ahart
Content type: text/x-python
Branch: MAIN
CVS Tags: V00-00-00
Log Message:
First commit of OSU Tier 3 analysis tools.

File Contents

# User Rev Content
1 ahart 1.1 import sys
2     import math
3     import runList as runList
4    
5     nJobs = float (sys.argv[2])
6     jobNumber = int (sys.argv[3])
7     filesPerJob = int (math.ceil (len (runList.runList) / nJobs))
8     runList = runList.runList[(jobNumber * filesPerJob):(jobNumber * filesPerJob + filesPerJob)]