Athena release setup
setupATLAS
lsetup git
git atlas init-workdir
https://:@gitlab.cern.ch:8443/tstreble/athena.git
cd athena
git checkout release/21.0.75 ##Choose the relevant release
git checkout -b <new-branch-name> ##If you want to keep your changes, make a new branch
git atlas addpkg NAME_OF_PACKAGES ##E.g:
InDetRecExample
cd ../build
asetup 21.0.75,Athena ##Setup the relevant release
###Add the local packages to the package filter
cmake ../athena/Projects/WorkDir
make -j
source x86_64-slc6-gcc62-opt/setup.sh
Athena release setup 20.20
asetup 20.20.13.1,here
pkgco.py
PixelConditionsServices
setupWorkArea.py
cd
WorkArea/cmt
cmt broadcast cmt config; cmt broadcast cmt make binclean; cmt broadcast cmt make
TTHbb L1 code
Important - Please make sure you compile under an SLC6 environment (lxplus6 or setupATLAS -c slc6 should provide you with what you need as a bare minimum).
The following are the instructions to allow you to submit the jobs in an automated fashion. I have tried to assign samples to you all based on how long I expect the jobs to run (and also what samples I think you’re most likely to care and check up on anyway). They are listed here (
https://docs.google.com/spreadsheets/d/1lnDpnJ5wxjaKdjAozJXJVScDbaUbE1p_EoafRG7xup0/edit#gid=276610513
) and note if I have your grid username wrong, please correct it here and let me know. You will also need to change the information in the submission script used in step 16) below.
# Step 0 is not needed if you are comfortable using an existing local repository
0) git clone
https://:@gitlab.cern.ch:8443/atlasHTop/TTHbbAnalysis.git
1) cd
TTHbbAnalysis
2) git fetch
# Make sure you see that the tag appears in the log messages
3) git checkout 21.2.86.0
4) cd ../
# Building the tag
5) mkdir
TTHbbAnalysis-212860-build
6) cd
TTHbbAnalysis-212860-build
7) setupATLAS
8) asetup
AnalysisTop,21.2.86
9) cmake ../TTHbbAnalysis && make
10) source x*/setup.sh
11) cd ../
# Preparing the grid area
12) mkdir
TTHbbAnalysis-212860-grid
13) cd
TTHbbAnalysis-212860-grid
14) getTTHbbProdScripts
# This will copy all our submission scripts to this folder
15) source setup_production.sh
16) ./TTHbbSubmit.sh
# Note that there may be times when you are told the spreadsheet needs updating (you should do this)
17) # Check the list of samples printed and the cut files generated
18) # Edit the submission script and set noSubmit = False
19) ./TTHbbSubmit.sh
TTHbb download
https://gitlab.cern.ch/alheld/ttH-offline-wrapper/tree/master/download
cd download
python 1_CreateSortedDownloadLists.py
python 2_RucioWrapper.py
TTHbb CPPM L2 code
https://gitlab.cern.ch/CPPM/TTHbbOfflineAnalysis
# Create file list
dans
TTHbbAnalysis/TTHbbOfflineAnalysis/run:
for file in /squark1/coadou/TopAnaOutput/TTHbb212640/* ; do echo $file; ./createsamples_fromAlex.sh $file group datasamples_212640new; done
marsquark python libraries table
export PYTHONPATH=$PYTHONPATH:/cvmfs/sft.cern.ch/lcg/releases/LCG_94a/ROOT/6.14.08/x86_64-centos7-gcc8-opt/lib
export LD_LIBRARY_PATH=/cvmfs/sft.cern.ch/lcg/releases/LCG_94a/ROOT/6.14.08/x86_64-centos7-gcc8-opt/lib/JsMVA:/cvmfs/sft.cern.ch/lcg/releases/LCG_94a/ROOT/6.14.08/x86_64-centos7-gcc8-opt/lib/JupyROOT:/cvmfs/sft.cern.ch/lcg/releases/LCG_94a/ROOT/6.14.08/x86_64-centos7-gcc8-opt/lib:/cvmfs/sft.cern.ch/lcg/releases/gcc/8.2.0-3fa06/x86_64-centos7/lib64:/cvmfs/sft.cern.ch/lcg/releases/LCG_94a/tbb/2018_U1/x86_64-centos7-gcc8-opt/lib
Upload to the database
/afs/cern.ch/user/a/atlcond/utils/AtlCoolMerge.py --folder /PIXEL/ITkClusterError --tag tagname --retag newtagname Dbfile OFLP200 ATLAS_COOLWRITE ATLAS_COOLOFL_PIXEL_W
WCOOLOFL4PIXEL11
Read local database
AtlCoolConsole.py "sqlite://;schema=afs/cern.ch/work/t/tstreble/public/forPixelDB/PixelITkError.db;dbname=OFLP200"
Read central database
AtlCoolConsole.py "COOLOFL_PIXEL/OFLP200"
>
>> listtags /PIXEL/ITkClusterError
Listing tags for folder /PIXEL/ITkClusterError
PixelITkError_v1 (unlocked) []
PixelITkError_v1_ATLAS-P2-ITK-22-00-00 (unlocked) []
PixelITkError_v2 (unlocked) []
PixelITkError_v2_ATLAS-P2-ITK-22-00-00 (unlocked) []
PixelITkError_v3 (unlocked) []
PixelITkError_v3_ATLAS-P2-ITK-17-04-02 (unlocked) []
PixelITkError_v3_ATLAS-P2-ITK-22-00-00 (unlocked) []
PixelITkError_v3_ATLAS-P2-ITK-22-02-00 (unlocked) []
PixelITkError_v4_ATLAS-P2-ITK-23-00-00 (unlocked) []
PixelITkError_v4_ATLAS-P2-ITK-23-00-01 (unlocked) []
Copy tag in central database
/afs/cern.ch/user/a/atlcond/utils/AtlCoolTransfer.py --newtag ATLAS_COOLWRITE ATLAS_COOLOFL_PIXEL_W
WCOOLOFL4PIXEL11 OFLP200 /PIXEL/ITkClusterError
PixelITkError_v4_ATLAS-P2-ITK-23-00-01
PixelITkError_v4_ATLAS-P2-ITK-23-00-02
physval_make_web_display.py --reffile q445:NTUP_PHYSVAL.q445.pool.root NTUP_PHYSVAL.q447.pool.root --outdir ~/www/PHYSVAL/ --title "q447" --ratio
physval_make_web_display.py --reffile nominal_r13998:NTUP_PHYSVAL_mu200_nominal_r13998_70p6k.root NTUP_PHYSVAL_mu200_overlay_r14001_99k.root --outdir ~/www/PHYSVAL/Overlay/mu200_nominal_overlay_Tracking/ --title "overlay_r14001 mu=200" --ratio --pathregex
SquirrelPlots --normalize
prmon
prmon_plot.py --input prmon.full.HITtoRDO --xvar wtime --yvar vmem,pss,rss,swap --yunit GB
diff-root
acmd diff-root ../run_q447_ref/myAOD.pool.root myAOD.pool.root --error-mode resilient
--
ThomasStrebler - 2017-06-18