Skip to content

Commit

Permalink
Merge pull request cms-sw#655 from arizzi/v25final
Browse files Browse the repository at this point in the history
V25final
  • Loading branch information
arizzi committed Jan 28, 2017
2 parents a543677 + 7afeff4 commit b3f3650
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
18 changes: 10 additions & 8 deletions VHbbAnalysis/Heppy/test/crab/heppy_crab_config.py
Expand Up @@ -2,8 +2,8 @@
config = Configuration()

config.section_("General")
config.General.requestName = 'VHBB_F25_009'
config.General.workArea = '/scratch/arizzi/crab_sub/crab_projects_F25_009'
config.General.requestName = 'VHBB_G25_009'
config.General.workArea = '/scratch/arizzi/crab_sub/crab_projects_G25_001'
config.General.transferLogs=True

config.section_("JobType")
Expand Down Expand Up @@ -37,21 +37,23 @@
#"../VBF-spring15.weights.xml",
#"../ttbar-fall15_TargetGenOverPt_GenPtCut0.weights.xml",
#'../ttbar-spring16-80X.weights.xml',
'../ttbar-pumoriond17--500k-13d-300t.weights.xml',
# '../ttbar-pumoriond17--500k-13d-300t.weights.xml',
'../ttbar-G25-500k-13d-300t.weights.xml',
'../TMVA_blikelihood_vbf_cmssw76_h21trained.weights.xml'
]
#config.JobType.outputFiles = ['tree.root']

config.section_("Data")
config.Data.inputDataset = '/ZH_HToBB_ZToLL_M125_13TeV_amcatnloFXFX_madspin_pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM'
config.Data.inputDBS = 'global'
config.Data.splitting = 'FileBased'
config.Data.unitsPerJob = 1
config.Data.totalUnits = 10
#config.Data.splitting = 'FileBased'
config.Data.splitting = 'EventAwareLumiBased'
config.Data.unitsPerJob = 10000
config.Data.totalUnits = 800000
config.Data.allowNonValidInputDataset = True # to run on datasets in PRODUCTION
config.Data.outLFNDirBase = '/store/user/arizzi/VHBBHeppyF25/'
config.Data.outLFNDirBase = '/store/user/arizzi/VHBBHeppyG25/'
config.Data.publication = True
config.Data.outputDatasetTag = 'VHBB_HEPPY_F25'
config.Data.outputDatasetTag = 'VHBB_HEPPY_G25'

config.section_("Site")
config.Site.storageSite = "T2_IT_Pisa"
Expand Down
12 changes: 6 additions & 6 deletions VHbbAnalysis/Heppy/test/crab/heppy_crab_script.sh
@@ -1,6 +1,6 @@
#s -lR
tar xvzf python.tar.gz --directory $CMSSW_BASE
ls -lR .
#ls -lR .
echo "ENV..................................."
env
echo "VOMS"
Expand All @@ -12,15 +12,15 @@ echo $PWD
cp lib/slc*/* $CMSSW_BASE/lib/slc*
cp lib/slc*/.* $CMSSW_BASE/lib/slc*
echo "AFTER COPY content of $CMSSW_BASE/lib/slc*"
ls -lR $CMSSW_BASE/lib/slc*
#ls -lR $CMSSW_BASE/lib/slc*

cp -r interface/* $CMSSW_BASE/interface/
echo "AFTER COPY content of $CMSSW_BASE/interface"
ls -lR $CMSSW_BASE/interface/
#ls -lR $CMSSW_BASE/interface/

cp -r src/* $CMSSW_BASE/src/
echo "AFTER COPY content of $CMSSW_BASE/src"
ls -lR $CMSSW_BASE/src/
#ls -lR $CMSSW_BASE/src/

PROXYFILE=`grep "BEGIN CERTIFICATE" * | perl -pe 's/:.*//' | grep -v heppy | tail -n 1`
export X509_USER_PROXY=$PWD/$PROXYFILE
Expand Down Expand Up @@ -69,5 +69,5 @@ export ROOT_INCLUDE_PATH=.:./src:$ROOT_INCLUDE_PATH
python heppy_crab_script.py $1
echo "======================== CMSRUN LOG ============================"
head -n 30 Output/cmsRun.log
echo "=== SNIP ==="
tail -n 500 Output/cmsRun.log
echo "=== SNIP HEPPY ==="
tail -n 800 Output/cmsRun.log
4 changes: 2 additions & 2 deletions VHbbAnalysis/Heppy/test/vhbb.py
Expand Up @@ -469,10 +469,10 @@ def ele_mvaEleID_Trig_preselection(ele) :
doSoftActivityEWK=True,
doVBF=True,
regressions = [
{"weight":"ttbar-pumoriond17--500k-13d-300t.weights.xml", "name":"jet0Regression", "vtypes":[0,1,2,3,4,5,-1]},
{"weight":"ttbar-G25-500k-13d-300t.weights.xml", "name":"jet0Regression", "vtypes":[0,1,2,3,4,5,-1]},
],
regressionVBF = [
{"weight":"ttbar-pumoriond17--500k-13d-300t.weights.xml", "name":"jet0Regression_vbf", "vtypes":[0,1,2,3,4,5,-1]}
{"weight":"ttbar-G25-500k-13d-300t.weights.xml", "name":"jet0Regression_vbf", "vtypes":[0,1,2,3,4,5,-1]}
],
VBFblikelihood = {"weight":"TMVA_blikelihood_vbf_cmssw76_h21trained.weights.xml", "name":"BDGT"}
)
Expand Down

0 comments on commit b3f3650

Please sign in to comment.