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"

-- ThomasStrebler - 2017-06-18

Edit | Attach | Watch | Print version | History: r14 < r13 < r12 < r11 < r10 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r14 - 2020-10-06 - ThomasStrebler
 
    • 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-2020 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