-- JianqiaoDeng - 2022-02-05

curl https://gitlab.cern.ch/rmatev/lb-stack-setup/raw/master/setup.py | python3 - stack //replace this command with one in https://gitlab.cern.ch/rmatev/lb-stack-setup

cd stack/

make -j4

make MooreAnalysis

cd Moore

git fetch origin qee_upgrade

git checkout -b qee_upgrade FETCH_HEAD

//git checkout qee_upgrade

//git pull

cd ..

make Moore

cd MooreAnalysis

git fetch origin qee_upgrade

git checkout -b qee_upgrade FETCH_HEAD

cd ..

make MooreAnalysis

make MooreAnalysis /test ARGS='-R test_hlt2_qee_rates$'

make MooreAnalysis /test ARGS='-R test_hlt2_qee_effs$'



#run the test

cp /afs/cern.ch/user/h/hyin/public/For_Jianqiao/Run3/runit.sh .

sh runit.sh

this is just a draft for 2022/02/12, you need to get new steps when verison and enviorment change

如何提交自己的工作? 参考:https://twiki.cern.ch/twiki/bin/view/LHCbPhysics/QEEMigrationTaskforce


其他技巧:

1.check format问题解决

首先运行curl命令

然后你在脚本里面加个标点(必须要改东西,不然无法提交)

然后git push Moore branchname

2.build-docs问题

after install package "Moore_HEAD"git checkout qee_upgrade(if you will merge your branch to qee_upgrade)

然后git checkout -b branchname

then your branch is based on "qee_upgrade", not based on "master", excpet "HLT", your branch will have same files with "qee_upgrade"

覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧

提交你的更改:

git checkout qee_upgrade

git checkout -b spruce_zmumu_zee_run3

git checkout spruce_zmumu_zee_run3

cd Hlt/Hlt2Conf/python/Hlt2Conf/lines/qee/

rm -rf ectroweak_dimuon.py

rm -rf ectroweak_dielec.py

rm -rf spruce_qee.py

cp -r /afs/cern.ch/work/j/jideng/public/stack/Moore/Hlt/Hlt2Conf/python/Hlt2Conf/lines/qee/electroweak_dielec.py .

cp -r /afs/cern.ch/work/j/jideng/public/stack/Moore/Hlt/Hlt2Conf/python/Hlt2Conf/lines/qee/electroweak_dimuon.py .

cp -r /afs/cern.ch/work/j/jideng/public/stack/Moore/Hlt/Hlt2Conf/python/Hlt2Conf/lines/qee/spruce_qee.py .

cd -

git add Hlt/Hlt2Conf/python/Hlt2Conf/lines/qee/electroweak_dimuon.py

git add Hlt/Hlt2Conf/python/Hlt2Conf/lines/qee/electroweak_dielec.py

git add Hlt/Hlt2Conf/python/Hlt2Conf/lines/qee/spruce_qee.py

git commit -m "sprucling line of zee zmumu and their same sign "

#curl https://gitlab.cern.ch/lhcb/Moore/-/jobs/19864689/artifacts/raw/apply-formatting.patch | git am //fix-format

git push Moore spruce_zmumu_zee_run3

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r8 - 2022-07-22 - JianqiaoDeng
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &ゥ 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback