Skip to content

Commit

Permalink
Merge pull request cms-sw#45 from gkasieczka/dev-jec-phys14v4
Browse files Browse the repository at this point in the history
Dev jec phys14v4
  • Loading branch information
arizzi committed Apr 2, 2015
2 parents a4faf13 + ba1fc6b commit 86a1381
Show file tree
Hide file tree
Showing 6 changed files with 188 additions and 2 deletions.
13 changes: 12 additions & 1 deletion VHbbAnalysis/Heppy/test/crab/heppy_crab_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,18 @@
config.JobType.scriptExe = 'heppy_crab_script.sh'
import os
os.system("tar czf python.tar.gz --dereference --directory $CMSSW_BASE python")
config.JobType.inputFiles = ['heppy_config.py','heppy_crab_script.py','python.tar.gz','MVAJetTags_620SLHCX_Phase1And2Upgrade.db','newbtag.py','../vhbb.py','TMVAClassification_BDT.weights.xml','pdfQG_AK4chs_antib_13TeV_v1.root']
config.JobType.inputFiles = ['heppy_config.py',
'heppy_crab_script.py',
'python.tar.gz',
'MVAJetTags_620SLHCX_Phase1And2Upgrade.db',
'newbtag.py',
'../vhbb.py',
'TMVAClassification_BDT.weights.xml',
'pdfQG_AK4chs_antib_13TeV_v1.root',
'../jec/PHYS14_V4_MC_L1FastJet_AK4PFchs.txt',
'../jec/PHYS14_V4_MC_L2Relative_AK4PFchs.txt',
'../jec/PHYS14_V4_MC_L3Absolute_AK4PFchs.txt',
]
#config.JobType.outputFiles = ['tree.root']

config.section_("Data")
Expand Down
6 changes: 5 additions & 1 deletion VHbbAnalysis/Heppy/test/crab/heppy_crab_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ echo "Which edmProvDump"
which edmProvDump
edmProvDump


# Move JEC files into flace
mkdir jec
mv PHYS14_V4_MC_L1FastJet_AK4PFchs.txt jec/
mv PHYS14_V4_MC_L2Relative_AK4PFchs.txt jec/
mv PHYS14_V4_MC_L3Absolute_AK4PFchs.txt jec/

python heppy_crab_script.py $1
83 changes: 83 additions & 0 deletions VHbbAnalysis/Heppy/test/jec/PHYS14_V4_MC_L1FastJet_AK4PFchs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{1 JetEta 3 Rho JetPt JetA max(0.0001,1-z*([0]+([1]*x)*(1+[2]*log(y)))/y) Correction L1FastJet}
-5.191 -4.889 9 0 50 1 3000 0 10 -1.34614 0.244533 0.675906
-4.889 -4.716 9 0 50 1 3000 0 10 -0.764376 0.293045 0.326659
-4.716 -4.538 9 0 50 1 3000 0 10 -0.257912 0.287151 0.292751
-4.538 -4.363 9 0 50 1 3000 0 10 -0.981036 0.455992 0.133287
-4.363 -4.191 9 0 50 1 3000 0 10 -0.0699802 0.502608 0.0713448
-4.191 -4.013 9 0 50 1 3000 0 10 -0.111972 0.516629 0.0671073
-4.013 -3.839 9 0 50 1 3000 0 10 -3.39009 0.51091 0.220021
-3.839 -3.664 9 0 50 1 3000 0 10 -1.24559 0.634598 0.0388912
-3.664 -3.489 9 0 50 1 3000 0 10 -1.92731 0.654339 0.0515931
-3.489 -3.314 9 0 50 1 3000 0 10 -1.82893 0.529955 0.107122
-3.314 -3.139 9 0 50 1 3000 0 10 -0.34628 0.36448 0.170168
-3.139 -2.964 9 0 50 1 3000 0 10 -0.00913379 0.0598215 5
-2.964 -2.853 9 0 50 1 3000 0 10 -0.908366 0.0841974 5
-2.853 -2.65 9 0 50 1 3000 0 10 -1.94703 0.0972195 5
-2.65 -2.5 9 0 50 1 3000 0 10 -5 0.108861 5
-2.5 -2.322 9 0 50 1 3000 0 10 -2.80865 0.0729874 5
-2.322 -2.172 9 0 50 1 3000 0 10 -4.90877 0.0613204 5
-2.172 -2.043 9 0 50 1 3000 0 10 -3.3027 0.0473924 5
-2.043 -1.93 9 0 50 1 3000 0 10 -0.109891 0.0292408 5
-1.93 -1.83 9 0 50 1 3000 0 10 0.0527353 0.0261695 5
-1.83 -1.74 9 0 50 1 3000 0 10 -0.368367 0.0276018 5
-1.74 -1.653 9 0 50 1 3000 0 10 -1.10597 0.262751 0.423344
-1.653 -1.566 9 0 50 1 3000 0 10 1.24415 0.314674 0.115198
-1.566 -1.479 9 0 50 1 3000 0 10 -5 0.50153 0.226613
-1.479 -1.392 9 0 50 1 3000 0 10 1.08704 0.305373 0.215875
-1.392 -1.305 9 0 50 1 3000 0 10 0.587701 0.432253 0.103909
-1.305 -1.218 9 0 50 1 3000 0 10 0.826879 0.210597 0.526532
-1.218 -1.131 9 0 50 1 3000 0 10 0.38504 0.368879 0.167961
-1.131 -1.044 9 0 50 1 3000 0 10 -1.54299 0.394748 0.244975
-1.044 -0.957 9 0 50 1 3000 0 10 -1.33801 0.524212 0.045741
-0.957 -0.879 9 0 50 1 3000 0 10 0.0944522 0.263868 0.416583
-0.879 -0.783 9 0 50 1 3000 0 10 -2.96376 0.447423 0.269856
-0.783 -0.696 9 0 50 1 3000 0 10 -1.1932 0.492879 0.111571
-0.696 -0.609 9 0 50 1 3000 0 10 -4.42234 0.564954 0.215209
-0.609 -0.522 9 0 50 1 3000 0 10 -1.09442 0.26796 0.539453
-0.522 -0.435 9 0 50 1 3000 0 10 -5 0.500695 0.272047
-0.435 -0.348 9 0 50 1 3000 0 10 -2.63478 0.537172 0.132796
-0.348 -0.261 9 0 50 1 3000 0 10 -1.10518 0.232173 0.644293
-0.261 -0.174 9 0 50 1 3000 0 10 0.211 0.372409 0.221251
-0.174 -0.087 9 0 50 1 3000 0 10 -0.774645 0.171227 1.02699
-0.087 0 9 0 50 1 3000 0 10 1.49039 0.359842 0.158924
0 0.087 9 0 50 1 3000 0 10 -2.13115 0.306555 0.47743
0.087 0.174 9 0 50 1 3000 0 10 0.258257 0.178675 0.675546
0.174 0.261 9 0 50 1 3000 0 10 -3.26916 0.329431 0.524111
0.261 0.348 9 0 50 1 3000 0 10 -0.248951 0.373615 0.217867
0.348 0.435 9 0 50 1 3000 0 10 -2.95649 0.595296 0.127027
0.435 0.522 9 0 50 1 3000 0 10 2.7526 0.279851 0.174157
0.522 0.609 9 0 50 1 3000 0 10 -2.8733 0.59919 0.123757
0.609 0.696 9 0 50 1 3000 0 10 -5 0.472791 0.315299
0.696 0.783 9 0 50 1 3000 0 10 11.3808 9.4369e-14 -1.99642
0.783 0.879 9 0 50 1 3000 0 10 8.48939 1.25278e-11 -1.99394
0.879 0.957 9 0 50 1 3000 0 10 3.15496 0.182984 0.382896
0.957 1.044 9 0 50 1 3000 0 10 -2.071 0.475493 0.146825
1.044 1.131 9 0 50 1 3000 0 10 0.214896 0.290055 0.313005
1.131 1.218 9 0 50 1 3000 0 10 0.680668 0.240582 0.462287
1.218 1.305 9 0 50 1 3000 0 10 0.277602 0.165749 0.881277
1.305 1.392 9 0 50 1 3000 0 10 -0.359219 0.256245 0.460025
1.392 1.479 9 0 50 1 3000 0 10 3.1213 0.0883026 1.07011
1.479 1.566 9 0 50 1 3000 0 10 0.424528 0.373831 0.117171
1.566 1.653 9 0 50 1 3000 0 10 0.656693 0.220461 0.326949
1.653 1.74 9 0 50 1 3000 0 10 1.58326 0.0236682 5
1.74 1.83 9 0 50 1 3000 0 10 -0.718604 0.0340836 4.99997
1.83 1.93 9 0 50 1 3000 0 10 -1.37588 0.0344925 5
1.93 2.043 9 0 50 1 3000 0 10 1.05916 0.0238718 5
2.043 2.172 9 0 50 1 3000 0 10 -4.06698 0.053868 5
2.172 2.322 9 0 50 1 3000 0 10 -5 0.0631781 5
2.322 2.5 9 0 50 1 3000 0 10 -5 0.0794517 5
2.5 2.65 9 0 50 1 3000 0 10 -5 0.111306 5
2.65 2.853 9 0 50 1 3000 0 10 -0.841678 0.0934387 5
2.853 2.964 9 0 50 1 3000 0 10 -0.796131 0.0847748 5
2.964 3.139 9 0 50 1 3000 0 10 -0.177092 0.0599007 5
3.139 3.314 9 0 50 1 3000 0 10 -1.62412 0.367641 0.23751
3.314 3.489 9 0 50 1 3000 0 10 -1.20418 0.538816 0.0625782
3.489 3.664 9 0 50 1 3000 0 10 -0.911023 0.518463 0.101993
3.664 3.839 9 0 50 1 3000 0 10 -0.404002 0.552756 0.0669061
3.839 4.013 9 0 50 1 3000 0 10 -1.53792 0.564849 0.113665
4.013 4.191 9 0 50 1 3000 0 10 0.143376 0.390658 0.195462
4.191 4.363 9 0 50 1 3000 0 10 -1.3267 0.452724 0.194205
4.363 4.538 9 0 50 1 3000 0 10 -1.48479 0.517934 0.109246
4.538 4.716 9 0 50 1 3000 0 10 0.172029 0.186273 0.528218
4.716 4.889 9 0 50 1 3000 0 10 -0.393261 0.220213 0.454707
4.889 5.191 9 0 50 1 3000 0 10 -2.17691 0.303646 0.542164
Loading

0 comments on commit 86a1381

Please sign in to comment.