Skip to content
Snippets Groups Projects
Commit 49c7a472 authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'master-JetRecConfig-LBMuWriter' into 'master'

Add LB mu writer to decorate EventInfo in JetRecTestCfg

See merge request atlas/athena!32935
parents f1b9007e 4e367e44
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ ConstModConfigs = {
"SK": {}
}
def getConstitModAlg(constit,suffix="",tvaKey="JetTrackVtxAssociation",vtxKey="PrimaryVertices"):
def getConstitModAlg(constit,suffix="",tvaKey="JetTrackVtxAssoc",vtxKey="PrimaryVertices"):
inputtype = constit.basetype
# Need to extend to TCC
......
......@@ -146,7 +146,6 @@ if __name__=="__main__":
# Config flags steer the job at various levels
from AthenaConfiguration.AllConfigFlags import ConfigFlags
ConfigFlags.Input.isMC = True
ConfigFlags.Input.Files = args.filesIn.split(",")
# Flags relating to multithreaded execution
......@@ -172,6 +171,15 @@ if __name__=="__main__":
from AthenaPoolCnvSvc.PoolReadConfig import PoolReadCfg
cfg.merge(PoolReadCfg(ConfigFlags))
# Nowadays the jet calibration tool requires the EventInfo
# to be decorated with lumi info, which is not in Run 2 AODs
from LumiBlockComps.LuminosityCondAlgConfig import LuminosityCondAlgCfg
cfg.merge(LuminosityCondAlgCfg(ConfigFlags))
from AthenaConfiguration.ComponentFactory import CompFactory
muWriter = CompFactory.LumiBlockMuWriter("LumiBlockMuWriter",LumiDataKey="LuminosityCondData")
cfg.addEventAlgo(muWriter,"AthAlgSeq")
# Add the components from our jet reconstruction job
cfg.merge(JetRecTestCfg(jetdefs,ConfigFlags,args))
......
JetRecTestCfg.py -f /cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/ASG/mc16_13TeV.410501.PowhegPythia8EvtGen_A14_ttbar_hdamp258p75_nonallhad.merge.AOD.e5458_s3126_r9364_r9315/AOD.11182705._000001.pool.root.1
JetRecTestCfg.py -f /cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/ASG/mc16_13TeV.410501.PowhegPythia8EvtGen_A14_ttbar_hdamp258p75_nonallhad.merge.AOD.e5458_s3126_r9364_r9315/AOD.11182705._000001.pool.root.1 -n 10
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment