Large Radius Tracking Run3 Optimization

Large Radius Tracking Run3 Optimization Basic Info:

Software Setup

The study has two steps: reconstruction and analysis

To run the reconstruction


#Build athena locally:
cd LRT
lsetup git
git atlas init-workdir ssh://git@gitlab.cern.ch:7999/biliu/athena.git
rm -rf athena/Projects/WorkDir/
cd athena
git checkout master-R3LRT
git atlas addpkg InDetRecExample
asetup Athena,21.0.107,here,slc6
mkdir ../build
cd ../build
cmake ../athena && make -j

#Run the reconstruction:

source /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/user/atlasLocalSetup.sh
cd  /afs/cern.ch/user/b/biliu/athena
asetup Athena,21.0.107,here,slc6
cd -
source build/x86_64-centos7-gcc62-opt/setup.sh

mkdir run
cd run

Reco_tf.py --inputRDOFile=/eos/user/b/biliu/public/LRT//VH4b/file_0 --outputAODFile=/eos/user/b/biliu/public/LRT/VH4b/AOD_0 --outputDAOD_IDTRKVALIDFile=/eos/user/b/biliu/public/LRT/VH4b/DAOD_IDTRKVALID_0 --conditionsTag default:OFLCOND-MC16-SDR-16 --numberOfCavernBkg 0 --ignoreErrors False --digiSeedOffset1=1 --digiSeedOffset2=2 --autoConfiguration=everything --postExec 'all:CfgMgr.MessageSvc().setError+=["HepMcParticleLink"];from AthenaCommon.AppMgr import ServiceMgr as svcMgr; svcMgr.AthenaPoolCnvSvc.MaxFileSizes=["15000000000"];' --postInclude default:PyJobTransforms/UseFrontier.py --preInclude all: /afs/cern.ch/user/b/biliu/LRT/run/preIncludeRawtoAllR3.py --maxEvents 100 --geometryVersion default:ATLAS-R2-2016-01-00-01 --steering doRAWtoALL

After testing it locally, one can run it via the HTCondor system on lxplus. Here are example scripts:

#!/usr/bin/env python
import os,sys
from ROOT import *

index = sys.argv[1]

os.chdir("/afs/cern.ch/user/b/biliu/LRT/")
os.system("export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase")
os.system("source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh")
os.chdir("/afs/cern.ch/user/b/biliu/LRT/athena")
os.system("asetup Athena,21.0.107,here,slc6")
os.chdir("/afs/cern.ch/user/b/biliu/LRT/")
os.system("source build/x86_64-centos7-gcc62-opt/setup.sh")
os.chdir("/afs/cern.ch/user/b/biliu/LRT/run")
os.system("mkdir /afs/cern.ch/user/b/biliu/LRT/run/job_" + str(index))
os.chdir("/afs/cern.ch/user/b/biliu/LRT/run/job_" + str(index))

command = "Reco_tf.py --inputRDOFile=/eos/user/b/biliu/public/LRT/VH4b/file_" + str(index) + " --outputAODFile=/eos/user/b/biliu/public/LRT/VH4b/AOD_" + str(index) + " --outputDAOD_IDTRKVALIDFile=/eos/user/b/biliu/public/LRT/VH4b/DAOD_IDTRKVALID_" + str(index) + " --conditionsTag default:OFLCOND-MC16-SDR-16 --numberOfCavernBkg 0 --ignoreErrors False --digiSeedOffset1=1 --digiSeedOffset2=2 --autoConfiguration=everything --postExec \'all:CfgMgr.MessageSvc().setError+=[\"HepMcParticleLink\"]; from AthenaCommon.AppMgr import ServiceMgr as svcMgr; svcMgr.AthenaPoolCnvSvc.MaxFileSizes=[\"15000000000\"];\' --postInclude default:PyJobTransforms/UseFrontier.py --preInclude all:/afs/cern.ch/user/b/biliu/LRT/run/preIncludeRawtoAllR3.py --maxEvents 2000 --geometryVersion default:ATLAS-R2-2016-01-00-01 --steering doRAWtoALL"

os.system(command)

executable            = condorRun.py
universe              = vanilla
arguments             = $(ProcId)
output                = /afs/cern.ch/user/b/biliu/LRT/run/condor_$(ProcId).out
error                 = /afs/cern.ch/user/b/biliu/LRT/run/condor_$(ProcId).err
log                   = /afs/cern.ch/user/b/biliu/LRT/run/condor_$(ProcId).log
requirements          = (OpSysAndVer =?= "CentOS7")
getenv                = True
+JobFlavour           = "tomorrow"
queue 45

Samples

We have several set of RDO samples to perform the studies.

Name Dataset Stats
VH4b mc16_13TeV.309856.PowhegPythia8EvtGen_WpH_H125_a55a55_4b_ctau100.recon.RDO.e6753_e5984_a875_r11193 90000

Sample location on EOS:/eos/user/b/biliu/public/LRT/

-- BingxuanLiu - 2020-04-05

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2020-04-05 - BingxuanLiu
 
    • 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