Skip to content
Snippets Groups Projects
Commit 25b62721 authored by Yasuyuki Okumura's avatar Yasuyuki Okumura
Browse files

Modification of Trigger ART tests: RDO->AOD to keep needed contents in AOD for PhysVal (ATR-23806)

parent 2e61b34e
No related branches found
No related tags found
5 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!51674Fixing hotSpotInHIST for Run3 HIST,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45674Modification of Trigger ART tests: RDO->AOD to keep needed contents in AOD for PhysVal (ATR-23806)
......@@ -15,12 +15,18 @@ preExec = ';'.join([
'TriggerFlags.AODEDMSet.set_Value_and_Lock(\\\"AODFULL\\\")',
])
preExecESDtoAOD = ';'.join(['from JetRec.JetRecFlags import jetFlags',
'jetFlags.writeJetsToAOD.set_Value_and_Lock(True)',
'jetFlags.detailLevel.set_Value_and_Lock(4)',
'from METReconstruction.METRecoFlags import metFlags',
'metFlags.WriteMETAssocToOutput.set_Value_and_Lock(True)'])
rdo2aod = ExecStep.ExecStep('RDOtoAOD')
rdo2aod.type = 'Reco_tf'
rdo2aod.input = 'ttbar'
rdo2aod.threads = 1
rdo2aod.args = '--outputAODFile=AOD.pool.root --steering="doRDO_TRIG" --valid=True'
rdo2aod.args += ' --preExec="all:{:s};"'.format(preExec)
rdo2aod.args += ' --preExec="all:{:s};" "ESDtoAOD:{:s}"'.format(preExec, preExecESDtoAOD)
physval = ExecStep.ExecStep('PhysVal')
physval.type = 'Reco_tf'
......@@ -30,7 +36,7 @@ physval.args = '--inputAODFile=AOD.pool.root --outputNTUP_PHYSVALFile=NTUP_PHYSV
physval.args += ' --postInclude="TriggerTest/disableChronoStatSvcPrintout.py"'
validationFlags = 'doTrigEgamma,doTrigBphys,doTrigMET,doTrigJet,doTrigMuon,doTrigHLTResult,doTrigCalo,doTrigMinBias,doTrigTau,doTrigIDtrk,doTrigBjet'
validationPreExec = 'from TrigEDMConfig import ContainerRemapping_Run2Run3; ContainerRemapping_Run2Run3.remapHLTContainerNames();'
validationPreExec = 'from TrigEDMConfig import ContainerRemapping_Run2Run3; ContainerRemapping_Run2Run3.remapHLTContainerNames(); '
physval.args += ' --validationFlags="{:s}" --preExec="{:s}"'.format(validationFlags, validationPreExec)
test = Test.Test()
......
......@@ -34,6 +34,12 @@ preExec = ';'.join([
'TriggerFlags.AODEDMSet.set_Value_and_Lock(\\\"AODFULL\\\")',
])
preExecESDtoAOD = ';'.join(['from JetRec.JetRecFlags import jetFlags',
'jetFlags.writeJetsToAOD.set_Value_and_Lock(True)',
'jetFlags.detailLevel.set_Value_and_Lock(4)',
'from METReconstruction.METRecoFlags import metFlags',
'metFlags.WriteMETAssocToOutput.set_Value_and_Lock(True)'])
rdo2aod = ExecStep.ExecStep('RDOtoAOD')
rdo2aod.type = 'Reco_tf'
rdo2aod.input = 'ttbar'
......@@ -41,7 +47,7 @@ rdo2aod.max_events = 800
rdo2aod.threads = 4
rdo2aod.concurrent_events = 4
rdo2aod.args = '--outputAODFile=AOD.pool.root --steering="doRDO_TRIG" --valid=True'
rdo2aod.args += ' --preExec="all:{:s};"'.format(preExec)
rdo2aod.args += ' --preExec="all:{:s};" "ESDtoAOD:{:s}"'.format(preExec, preExecESDtoAOD)
physval = ExecStep.ExecStep('PhysVal')
physval.type = 'Reco_tf'
......
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