Revision: | 1.1 |
Committed: | Sun Nov 4 13:12:40 2012 UTC (12 years, 6 months ago) by madfish |
Content type: | text/x-python |
Branch: | MAIN |
CVS Tags: | HEAD |
Log Message: | *** empty log message *** |
# | Content |
---|---|
1 | #! /usr/bin/env python |
2 | |
3 | import sys |
4 | import os |
5 | import commands |
6 | import string |
7 | |
8 | mass=["110","110.5","111","111.5","112","112.5","113","113.5","114","114.5","115","115.5","116","116.5","117","117.5","118","118.5","119","119.5","120","120.5","121","121.5","122","122.5","123","123.5","124","124.5","125","125.5","126","126.5","127","127.5","128","128.5","129","129.5","130","130.5","131","131.5","132","132.5","133","133.5","134","134.5","135","124.6","124.7","124.8","124.9","125.1","125.2","125.3","125.4","125.6","125.7","125.8","125.9","126.1","126.2","126.3","126.4"]; |
9 | |
10 | i = 0 |
11 | for item in mass: |
12 | os.system("echo 'cd %s' > bs" % (item)) |
13 | print item |
14 | os.system("echo 'combine -M Asymptotic vhbb_Zll_8TeV.txt -t -1 | grep \"Expected 50\"' >> bs") |
15 | # os.system("grep rate %s/vhbb_Zll_7TeV.txt | awk '{print $2}'" % item) |
16 | os.system("chmod +x bs") |
17 | os.system("./bs") |
18 | i = i + 1 |