This page is used to document the setup and running of the code that will be used for the 13
TeV top mass analysis.
Get setup to run at rzg cluster Munich
Check if you have an rzg account
- If you don't have an account, talk to Stefan Kluth
- once you have an account you can login from an mpp machine like this:
ssh -Y YOURUSERNAME@mppui1.t2.rzg.mpg.de
If you want to log in from your notebook, just do:
ssh -Y USERNAME@gateafs.rzg.mpg.de
and then when you are logged in do:
ssh -Y mppui1.t2.rzg.mpg.de
Setup AnalysisTop Rel 20.7
- once AnalysisTop is installed, please checkout the code from here:
rc checkout_pkg atlas-aknue/MunichCode/PlotFactory_13TeV/trunk
and then do the following:
rc find_packages
rc compile
Once that works, please do the following:
cd PlotFactory_13TeV/scripts
and open the python script: RunSuperScript.py
In this script please change the "MainFolder" path to a path in your own directory!!!
Now as a first test, just run the script with these modification as follows:
python RunSuperScript.py
Run jobs on the batch cluster
If you want to run the jobs on the cluster instead of the local machine, you have to first do the following (only neccessary if you are new to rzg):
Just type into the shell:
save-password
and enter your password when you are asked for it. Then you can submit your jobs to the batch by setting the Flag "DoRunOnBatch" in the RunSuperScript.py file to True.
Make Quark/Gluon Input file for JES
Description from JIRA ticket here:
https://its.cern.ch/jira/browse/ANALYSISTO-344
Full description of options in twiki here:
https://twiki.cern.ch/twiki/bin/view/AtlasProtected/TopxAODStartGuide#Quark_Gluon_fraction_in_Jets_Unc
First setup
What I am doing currently (06.01.2018) to setup a new version of AT:
mkdir AnalysisTop_21.2.16
cd AnalysisTop_21.2.16
setupATLAS
lsetup git
kinit $CERNUSERNAME@CERN.CH # example: kinit aknue@CERN.CH (yes, upper case)
mkdir build run
git clone https://:@gitlab.cern.ch:8443/aknue/TopMass_13TeV_FrMu.git
cd build
asetup AnalysisTop,21.2.16,here
cmake ../TopMass_13TeV_FrMu
cmake --build ./
source */setup.sh
Now to test the code do:
cd ../run
cp ../TopMass_13TeV_FrMu/TopMass_13TeV_Online/share/TopMassOnline_13TeV.txt .
cp $AnalysisTop_DIR/data/TopAnalysis/* ./
top-xaod TopMassOnline_13TeV.txt input-mc-rel21.txt
If you already installed
AnalysisTop, each time you want to setup the code you have to do the following:
cd AnalysisTop_21.2.16/build
asetup AnalysisTop,21.2.16,here
source */setup.sh
Our own custom MassEventSaver based on the default EventSaverFlatNtuple code from AnalysisTop can be found here:
https://gitlab.cern.ch/aknue/TopMassOnline_13TeV
To get the scripts for grid submission, just go to the main folder (where athena, build and run are located) and run:
getExamples
which will copy the submission scripts into a new folder called "grid".
Open points/missing things
- do not have the single top samples at different mass points yet. Will wait for switch to Pow+Py8.
- need also to figure out what to do about CR uncertainties: do not have dedicated tune as before
- need 13 TeV transfer functions
- template parametrisierung: radial basis function? Tchebycheff polynom? thinplate function?
--
AndreaKnue - 2016-09-20