Closed tsarangi closed 11 years ago
Yo dudes-- Is it really necessary to have the YellowReport numbers in the data definitions? I'm guessing you use those numbers when you're normalizing further down the road?
At the moment, I think the 'bare' pattuple production install now requires all the external python stuff just to pick up those cross sections.. Plus it doesn't look like the submodules are getting added in the default PATPROD setup. (where is this normally handled?)
Tapas -- It looks like this should work (from FinalStateAnalysis):
git submodule init
git submodule update
sh recipe/install_python.sh
running install_python.sh ends up with a bunch of other errors after installing virtualenv. It seems not to like the path that takes it to the python that it wants... I did some tweaks to install it, but not sure the procedure I did is entirely correct...
Creating virtual python environment in /afs/hep.wisc.edu/cms/tapas/FinalStateAnalysis_Package/2013-02-25-8TeV-53X-PatTuple_Master/src/FinalStateAnalysis/recipe/external/vpython ...virtual environment already setup. Activating virtual python environment Installing yolk ./install_python.sh: /afs/hep.wisc.edu/cms/tapas/FinalStateAnalysis_Package/2013-02-25-8TeV-53X-PatTuple_Master/src/FinalStateAnalysis/recipe/external/vpython/bin/pip: /afs/hep.wisc.edu/cms/tapas/FinalStateAnalysis_Package/2013-02-25-8TeV-53X-Pat: bad interpreter: No such file or directory Installing ipython ./install_python.sh: /afs/hep.wisc.edu/cms/tapas/FinalStateAnalysis_Package/2013-02-25-8TeV-53X-PatTuple_Master/src/FinalStateAnalysis/recipe/external/vpython/bin/pip: /afs/hep.wisc.edu/cms/tapas/FinalStateAnalysis_Package/2013-02-25-8TeV-53X-Pat: bad interpreter: No such file or directory Installing termcolor ./install_python.sh: /afs/hep.wisc.edu/cms/tapas/FinalStateAnalysis_Package/2013-02-25-8TeV-53X-PatTuple_Master/src/FinalStateAnalysis/recipe/external/vpython/bin/pip: /afs/hep.wisc.edu/cms/tapas/FinalStateAnalysis_Package/2013-02-25-8TeV-53X-Pat: bad interpreter: No such file or directory Installing uncertainties <-- awesome error propagation
I managed to install other packages using pip, but still not able execute "submit_tuplization.py"... See the error below....
[tapas@login05 test]$ python submit_tuplization.py 2013-02-25-8TeV-53X-PatTuple_Master --samples "ZZJetsTo4L_TuneZ2star_8TeV-madgraph-tauola" "ZZJetsTo2L2Q_TuneZ2star_8TeV-madgraph-tauola" "WZJetsTo3LNu_TuneZ2_8TeV-madgraph-tauola" "WZJetsTo2L2Q_TuneZ2star_8TeV-madgraph-tauola" "WWJetsTo2L2Nu_TuneZ2star_8TeV-madgraph-tauola" "Tbar_tW-channel-DR_TuneZ2star_8TeV-powheg-tauola" "T_tW-channel-DR_TuneZ2star_8TeV-powheg-tauola" "TTJets_MassiveBinDECAY_TuneZ2star_8TeV-madgraph-tauola" "DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball" "DoubleMu_Run2012__embedded_trans1_taupt_" "WH_ZH_TTH_HToTauTau_M-8TeV-pythia6-tauola" "VBF_HToTauTau_M-8TeV-powheg-pythia6" "GluGluToHToTauTau_M-8TeV-powheg-pythia6" "data_TauPlusX_Run2012A_13Jul2012_v1" "data_TauPlusX_Run2012C_24Aug2012_v1" "data_TauPlusX_Run2012D_PromptReco_v1"
Traceback (most recent call last):
File "submit_tuplization.py", line 14, in
Hi @iross,
Indeed the numbers aren't needed at the pattuple stage. The reason for tapas' crash is a bug in yellowhiggs. @mverzett is fixing the package so it will work out of the box/not need to be installed for datadefs to work.
ek
On Mon, Feb 25, 2013 at 11:35 PM, Tapas Sarangi notifications@github.comwrote:
I managed to install other packages using pip, but still not able execute "submit_tuplization.py"... See the error below....
[tapas@login05 test]$ python submit_tuplization.py 2013-02-25-8TeV-53X-PatTuple_Master --samples "ZZJetsTo4L_TuneZ2star_8TeV-madgraph-tauola" "ZZJetsTo2L2Q_TuneZ2star_8TeV-madgraph-tauola" "WZJetsTo3LNu_TuneZ2_8TeV-madgraph-tauola" "WZJetsTo2L2Q_TuneZ2star_8TeV-madgraph-tauola" "WWJetsTo2L2Nu_TuneZ2star_8TeV-madgraph-tauola" "Tbar_tW-channel-DR_TuneZ2star_8TeV-powheg-tauola" "T_tW-channel-DR_TuneZ2star_8TeV-powheg-tauola" "TTJets_MassiveBinDECAY_TuneZ2star_8TeV-madgraph-tauola" "DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball" "DoubleMu_Run2012__embedded_trans1_taupt_" "WH_ZH_TTH_HToTauTau_M-8TeV-pythia6-tauola" "VBF_HToTauTau_M-8TeV-powheg-pythia6" "GluGluToHToTauTau_M-8TeV-powheg-pythia6" "data_TauPlusX_Run2012A_13Jul2012_v1" "data_TauPlusX_Run2012C_24Aug2012_v1" "data_TauPlusX_Run2012D_PromptReco_v1"
Traceback (most recent call last): File "submit_tuplization.py", line 14, in from FinalStateAnalysis.MetaData.datadefs import datadefs File "/afs/ hep.wisc.edu/cms/tapas/FinalStateAnalysis_Package/2013-02-25-8TeV-53X-PatTuple_Master/python/FinalStateAnalysis/MetaData/datadefs.py", line 30, in import data8TeVNew File "/afs/ hep.wisc.edu/cms/tapas/FinalStateAnalysis_Package/2013-02-25-8TeV-53X-PatTuple_Master/python/FinalStateAnalysis/MetaData/data8TeVNew.py", line 420, in 'x_sec' : (higgs.xs(8,mass,'wh')[0]+higgs.xs(8,mass,'zh')[0]+higgs.xs(8,mass,'tth')[0]) higgs.br(mass,'WW')_br_wleptons2, File "/afs/ hep.wisc.edu/cms/tapas/FinalStateAnalysis_Package/2013-02-25-8TeV-53X-PatTuple_Master/src/FinalStateAnalysis/recipe/external/vpython/lib/python2.6/site-packages/yellowhiggs/xsbr.py", line 152, in br (channel, ', '.join(__BR.keys()))) ValueError: channel 'ww' not understood. Use one of enueenue, mumu, llqq(e,mu), WW, nunuqq, gg, llnunu(e,mu), ZZ, llqq(e,mu,tau), enuemunumu, 2boson, cc, eeee, llnunu(e,mu,tau), bb, tautau, ss, tt, Zgamma, ffff, qqqq, llll(e,mu), gammagamma, eemumu, llll(e,mu,tau), lnuqq(e,mu)
— Reply to this email directly or view it on GitHubhttps://github.com/uwcms/FinalStateAnalysis/issues/161#issuecomment-14080598.
PR with fix sent.
Mauro
On Feb 26, 2013, at 10:01 AM, Evan K. Friis wrote:
Hi @iross,
Indeed the numbers aren't needed at the pattuple stage. The reason for tapas' crash is a bug in yellowhiggs. @mverzett is fixing the package so it will work out of the box/not need to be installed for datadefs to work.
ek
On Mon, Feb 25, 2013 at 11:35 PM, Tapas Sarangi notifications@github.com<mailto:notifications@github.com>wrote:
I managed to install other packages using pip, but still not able execute "submit_tuplization.py"... See the error below....
[tapas@login05 test]$ python submit_tuplization.py 2013-02-25-8TeV-53X-PatTuple_Master --samples "ZZJetsTo4L_TuneZ2star_8TeV-madgraph-tauola" "ZZJetsTo2L2Q_TuneZ2star_8TeV-madgraph-tauola" "WZJetsTo3LNu_TuneZ2_8TeV-madgraph-tauola" "WZJetsTo2L2Q_TuneZ2star_8TeV-madgraph-tauola" "WWJetsTo2L2Nu_TuneZ2star_8TeV-madgraph-tauola" "Tbar_tW-channel-DR_TuneZ2star_8TeV-powheg-tauola" "T_tW-channel-DR_TuneZ2star_8TeV-powheg-tauola" "TTJets_MassiveBinDECAY_TuneZ2star_8TeV-madgraph-tauola" "DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball" "DoubleMu_Run2012__embedded_trans1_taupt_" "WH_ZH_TTH_HToTauTau_M-8TeV-pythia6-tauola" "VBF_HToTauTau_M-8TeV-powheg-pythia6" "GluGluToHToTauTau_M-8TeV-powheg-pythia6" "data_TauPlusX_Run2012A_13Jul2012_v1" "data_TauPlusX_Run2012C_24Aug2012_v1" "data_TauPlusX_Run2012D_PromptReco_v1"
Traceback (most recent call last): File "submit_tuplization.py", line 14, in from FinalStateAnalysis.MetaData.datadefs import datadefs File "/afs/ hep.wisc.edu/cms/tapas/FinalStateAnalysis_Package/2013-02-25-8TeV-53X-PatTuple_Master/python/FinalStateAnalysis/MetaData/datadefs.pyhttp://hep.wisc.edu/cms/tapas/FinalStateAnalysis_Package/2013-02-25-8TeV-53X-PatTuple_Master/python/FinalStateAnalysis/MetaData/datadefs.py", line 30, in import data8TeVNew File "/afs/ hep.wisc.edu/cms/tapas/FinalStateAnalysis_Package/2013-02-25-8TeV-53X-PatTuple_Master/python/FinalStateAnalysis/MetaData/data8TeVNew.pyhttp://hep.wisc.edu/cms/tapas/FinalStateAnalysis_Package/2013-02-25-8TeV-53X-PatTuple_Master/python/FinalStateAnalysis/MetaData/data8TeVNew.py", line 420, in 'x_sec' : (higgs.xs(8,mass,'wh')[0]+higgs.xs(8,mass,'zh')[0]+higgs.xs(8,mass,'tth')[0]) higgs.brhttp://higgs.br(mass,'WW')_br_wleptons2, File "/afs/ hep.wisc.edu/cms/tapas/FinalStateAnalysis_Package/2013-02-25-8TeV-53X-PatTuple_Master/src/FinalStateAnalysis/recipe/external/vpython/lib/python2.6/site-packages/yellowhiggs/xsbr.pyhttp://hep.wisc.edu/cms/tapas/FinalStateAnalysis_Package/2013-02-25-8TeV-53X-PatTuple_Master/src/FinalStateAnalysis/recipe/external/vpython/lib/python2.6/site-packages/yellowhiggs/xsbr.py", line 152, in br (channel, ', '.join(__BR.keys()))) ValueError: channel 'ww' not understood. Use one of enueenue, mumu, llqq(e,mu), WW, nunuqq, gg, llnunu(e,mu), ZZ, llqq(e,mu,tau), enuemunumu, 2boson, cc, eeee, llnunu(e,mu,tau), bb, tautau, ss, tt, Zgamma, ffff, qqqq, llll(e,mu), gammagamma, eemumu, llll(e,mu,tau), lnuqq(e,mu)
— Reply to this email directly or view it on GitHubhttps://github.com/uwcms/FinalStateAnalysis/issues/161#issuecomment-14080598.
— Reply to this email directly or view it on GitHubhttps://github.com/uwcms/FinalStateAnalysis/issues/161#issuecomment-14101842.
Hi Tapas,
Please try again, from a clean area.
Evan
If this is still broken, please reopen.
While trying to run submit_tuplization.py I see the following error:
import yellowhiggs as higgs ImportError: No module named yellowhiggs
Is there some additional environment to environment.sh need to be set to access to this module ?
-Tapas