#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
#!/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