Verified Commit e157b3cb authored by Tadej Novak's avatar Tadej Novak
Browse files

Update HITS and RDO test inputs for Run 2 reprocessing

parent d57ab988
Pipeline #3479020 passed with stage
in 0 seconds
#!/usr/bin/env python
"""Run tests on BeamPipeGeoModel configuration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
"""
if __name__ == "__main__":
from AthenaCommon.Configurable import Configurable
......@@ -9,8 +9,8 @@ if __name__ == "__main__":
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
ConfigFlags.Input.Files = defaultTestFiles.HITS
ConfigFlags.GeoModel.Align.Dynamic = False
ConfigFlags.Input.Files = defaultTestFiles.HITS_RUN2
ConfigFlags.GeoModel.Align.Dynamic = False
ConfigFlags.lock()
from BeamPipeGeoModel.BeamPipeGMConfig import BeamPipeGeometryCfg
......
......@@ -218,7 +218,7 @@ def test2 (flags_in):
flags = flags_in.clone()
flags.Input.isMC = True
flags.IOVDb.GlobalTag = 'OFLCOND-RUN12-SDR-31'
flags.Input.Files = defaultTestFiles.RDO
flags.Input.Files = defaultTestFiles.RDO_RUN2
flags.lock()
ca = make_CaloSwCorrectionsCfg (flags, version = '@GLOBAL',
......
#
# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
#
from __future__ import print_function
......@@ -205,8 +205,6 @@ if __name__=='__main__':
# Set the Athena configuration flags
from AthenaConfiguration.AllConfigFlags import ConfigFlags
#from AthenaConfiguration.TestDefaults import defaultTestFiles
#ConfigFlags.Input.Files = defaultTestFiles.ESD
ConfigFlags.Input.Files = ['/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/OverlayMonitoringRTT/data15_13TeV.00278748.physics_ZeroBias.merge.RAW._lb0384._SFO-ALL._0001.1']
#ConfigFlags.Input.isMC = True
ConfigFlags.Output.HISTFileName = 'CaloBaselineMonOutput.root'
......
#
# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
#
def LArCellMonConfigOld(inputFlags):
......@@ -512,8 +512,6 @@ if __name__=='__main__':
# Set the Athena configuration flags
from AthenaConfiguration.AllConfigFlags import ConfigFlags
# from AthenaConfiguration.TestDefaults import defaultTestFiles
# ConfigFlags.Input.Files = defaultTestFiles.ESD
ConfigFlags.Input.Files = ['/eos/atlas/atlastier0/rucio//data18_13TeV/physics_Main/00357750/data18_13TeV.00357750.physics_Main.daq.RAW/data18_13TeV.00357750.physics_Main.daq.RAW._lb0123._SFO-3._0004.data']
# to test tier0 workflow:
#ConfigFlags.Input.Files = ['/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/OverlayMonitoringRTT/data15_13TeV.00278748.physics_ZeroBias.merge.RAW._lb0384._SFO-ALL._0001.1']
......
# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
# File: CaloRec/python/CaloBCIDAvgAlgConfig.py
# Created: Mar 2019, sss
......@@ -30,7 +30,6 @@ if __name__ == "__main__":
from AthenaCommon.Configurable import Configurable
Configurable.configurableRun3Behavior=1
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
ConfigFlags.loadAllDynamicFlags()
only = ['CaloBCIDAvgAlg',
......@@ -47,7 +46,7 @@ if __name__ == "__main__":
]
print ('--- data')
flags1 = ConfigFlags.clone()
flags1.Input.Files = defaultTestFiles.RAW
flags1.Input.Files = []
flags1.lock()
acc1 = CaloBCIDAvgAlgCfg (flags1)
acc1.printConfig(summariseProps=True, onlyComponents=only)
......@@ -55,7 +54,7 @@ if __name__ == "__main__":
print ('--- mc')
flags2 = ConfigFlags.clone()
flags2.Input.Files = defaultTestFiles.RAW
flags2.Input.Files = []
flags2.Input.isMC = True
flags2.lock()
acc2 = CaloBCIDAvgAlgCfg (flags2)
......@@ -64,7 +63,7 @@ if __name__ == "__main__":
print ('--- online')
flags3 = ConfigFlags.clone()
flags3.Input.Files = defaultTestFiles.RAW
flags3.Input.Files = []
flags3.Common.isOnline = True
flags3.lock()
acc3 = CaloBCIDAvgAlgCfg (flags3)
......
#
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration.
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
#
# File: CaloRec/python/CaloCellContainerAliasAlg_test.py
# Author: scott snyder
......@@ -58,7 +58,7 @@ Configurable.configurableRun3Behavior=1
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
ConfigFlags.Input.Files = defaultTestFiles.RDO
ConfigFlags.Input.Files = defaultTestFiles.RDO_RUN2
ConfigFlags.Input.TimeStamp = 1000
ConfigFlags.Detector.GeometryLAr = True
ConfigFlags.Detector.GeometryTile = True
......
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from AthenaConfiguration.ComponentFactory import CompFactory
......@@ -70,7 +70,7 @@ if __name__=="__main__":
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
ConfigFlags.Input.Files = defaultTestFiles.RDO
ConfigFlags.Input.Files = defaultTestFiles.RDO_RUN2
ConfigFlags.lock()
from AthenaConfiguration.MainServicesConfig import MainServicesCfg
......
#
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration.
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
#
# File: CaloRec/python/CaloThinCellsByClusterAlg_test.py
# Author: scott snyder
......@@ -144,7 +144,7 @@ Configurable.configurableRun3Behavior=1
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
ConfigFlags.Input.Files = defaultTestFiles.RDO
ConfigFlags.Input.Files = defaultTestFiles.RDO_RUN2
ConfigFlags.Input.TimeStamp = 1000
ConfigFlags.Detector.GeometryLAr = True
ConfigFlags.Detector.GeometryTile = True
......
#
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration.
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
#
# File: CaloRec/python/CaloThinCellsBySamplingAlg_test.py
# Author: scott snyder
......@@ -79,7 +79,7 @@ Configurable.configurableRun3Behavior=1
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
ConfigFlags.Input.Files = defaultTestFiles.RDO
ConfigFlags.Input.Files = defaultTestFiles.RDO_RUN2
ConfigFlags.Input.TimeStamp = 1000
ConfigFlags.Detector.GeometryLAr = True
ConfigFlags.Detector.GeometryTile = True
......
......@@ -35,7 +35,7 @@ CondInputLoader INFO created CondCont<CondA
ApplicationMgr INFO Application Manager Started successfully
AthenaEventLoopMgr INFO ===>>> start of run 284500 <<<===
AthenaEventLoopMgr INFO ===>>> start processing event #0, run #284500 0 events processed so far <<<===
IOVDbFolder INFO HVS tag OFLCOND-MC16-SDR-17 resolved to LARCellCorrOflDeadOTX-000-00 for folder /LAR/CellCorrOfl/deadOTX
IOVDbFolder INFO HVS tag OFLCOND-MC16-SDR-RUN2-09 resolved to LARCellCorrOflDeadOTX-000-00 for folder /LAR/CellCorrOfl/deadOTX
dumper1 INFO dumper.energyCalibrationTypes = [0, 0, 0, -1]
dumper.energyCalibrations = [2, 0.9959, 0.07493, -0.1599, 2, 2, 0.9962, 0.04997, -0.1839, 2, 2, 0.9984, 0.0143, -0.9648, 2]
dumper.etaCalibrationSizes = [14, 14, 13, 0]
......
#!/usr/bin/env python
#
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration.
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
#
# File: CaloRec/python/ToolConstantsCondALg_test.py
# Author: scott snyder
......@@ -11,7 +11,6 @@
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from AthenaConfiguration.ComponentFactory import CompFactory
import ROOT
def testCfg (configFlags):
......@@ -49,7 +48,7 @@ Configurable.configurableRun3Behavior=1
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
ConfigFlags.Input.Files = defaultTestFiles.RDO
ConfigFlags.Input.Files = defaultTestFiles.RDO_RUN2
ConfigFlags.Input.TimeStamp = 1000
ConfigFlags.lock()
......
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
#
# File: CaloTools/python/CaloEstimatedGainToolConfig.py
# Created: Aug 2019, sss
......@@ -66,7 +66,7 @@ if __name__ == "__main__":
ConfigFlags.loadAllDynamicFlags()
flags1 = ConfigFlags.clone()
flags1.Input.Files = defaultTestFiles.RDO
flags1.Input.Files = defaultTestFiles.RDO_RUN2
flags1.lock()
acc1 = CaloEstimatedGainToolCfg (flags1)
only = ['CaloEstimatedGainTool']
......
#
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration.
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
#
# File: CaloTools/python/CaloEstimatedGainTool_test.py
# Author: scott snyder
......@@ -106,7 +106,7 @@ Configurable.configurableRun3Behavior=1
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
ConfigFlags.Input.Files = defaultTestFiles.RDO
ConfigFlags.Input.Files = defaultTestFiles.RDO_RUN2
ConfigFlags.Detector.GeometryLAr = True
ConfigFlags.Detector.GeometryTile = True
ConfigFlags.needFlagsCategory('Tile')
......
#!/usr/bin/env python
#
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration.
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
#
# File: CaloRec/python/ToolWithConstants_test.py
# Author: scott snyder
......@@ -92,7 +92,7 @@ Configurable.configurableRun3Behavior=1
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
ConfigFlags.Input.Files = defaultTestFiles.RDO
ConfigFlags.Input.Files = defaultTestFiles.RDO_RUN2
ConfigFlags.Input.TimeStamp = 1000
ConfigFlags.lock()
......
# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
# Files for use in configuration unit tests
class defaultTestFiles:
import os
d = os.environ.get ("ATLAS_REFERENCE_DATA",
"/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art")
EVNT= [d + "/SimCoreTests/mcatnlojimmy_ttbar_leptonfilter.19.2.5.37.EVNT.pool.root"] #find an official file.
HITS= [d + "/Tier0ChainTests/valid1.410000.PowhegPythiaEvtGen_P2012_ttbar_hdamp172p5_nonallhad.simul.HITS.e4993_s3091/HITS.10504490._000425.pool.root.1"]
HITS_SPECIAL = [d + "/DigitizationTests/mc16_13TeV.HITS.16965029._000024.pool.root.1"]
HITS_DATA_OVERLAY = [d + "/OverlayMonitoringRTT/mc16_13TeV.361107.PowhegPythia8EvtGen_AZNLOCTEQ6L1_Zmumu.OverlaySim/HITS.pool.root"]
HITS_MINBIAS_HIGH = [
d + "/Tier0ChainTests/mc16_13TeV.361239.Pythia8EvtGen_A3NNPDF23LO_minbias_inelastic_high.merge.HITS.e4981_s3087_s3089/HITS.10501933._000005.pool.root.1",
d + "/Tier0ChainTests/mc16_13TeV.361239.Pythia8EvtGen_A3NNPDF23LO_minbias_inelastic_high.merge.HITS.e4981_s3087_s3089/HITS.10501933._000013.pool.root.1",
d + "/Tier0ChainTests/mc16_13TeV.361239.Pythia8EvtGen_A3NNPDF23LO_minbias_inelastic_high.merge.HITS.e4981_s3087_s3089/HITS.10501933._000018.pool.root.1",
EVNT = [f"{d}/SimCoreTests/mcatnlojimmy_ttbar_leptonfilter.19.2.5.37.EVNT.pool.root"] #find an official file.
HITS_RUN2 = [f"{d}/Tier0ChainTests/mc16_13TeV.410470.PhPy8EG_A14_ttbar_hdamp258p75_nonallhad.simul.HITS.e6337_s3681/HITS.25836812._004813.pool.root.1"]
HITS_RUN2_MINBIAS_HIGH = [
f"{d}/Tier0ChainTests/mc16_13TeV.800831.Py8EG_minbias_inelastic_highjetphotonlepton.simul.HITS_FILT.e8341_s3687_s3704/HITS_FILT.26106512._000149.pool.root.1",
f"{d}/Tier0ChainTests/mc16_13TeV.800831.Py8EG_minbias_inelastic_highjetphotonlepton.simul.HITS_FILT.e8341_s3687_s3704/HITS_FILT.26106512._000581.pool.root.1",
f"{d}/Tier0ChainTests/mc16_13TeV.800831.Py8EG_minbias_inelastic_highjetphotonlepton.simul.HITS_FILT.e8341_s3687_s3704/HITS_FILT.26106512._000717.pool.root.1",
]
HITS_MINBIAS_LOW = [
d + "/Tier0ChainTests/mc16_13TeV.361238.Pythia8EvtGen_A3NNPDF23LO_minbias_inelastic_low.merge.HITS.e4981_s3087_s3089/HITS.10501925._000003.pool.root.1",
d + "/Tier0ChainTests/mc16_13TeV.361238.Pythia8EvtGen_A3NNPDF23LO_minbias_inelastic_low.merge.HITS.e4981_s3087_s3089/HITS.10501925._000024.pool.root.1",
d + "/Tier0ChainTests/mc16_13TeV.361238.Pythia8EvtGen_A3NNPDF23LO_minbias_inelastic_low.merge.HITS.e4981_s3087_s3089/HITS.10501925._000044.pool.root.1",
HITS_RUN2_MINBIAS_LOW = [
f"{d}/Tier0ChainTests/mc16_13TeV.900311.Epos_minbias_inelastic_lowjetphoton.simul.HITS_FILT.e8341_s3687_s3704/HITS_FILT.26106626._000068.pool.root.1",
f"{d}/Tier0ChainTests/mc16_13TeV.900311.Epos_minbias_inelastic_lowjetphoton.simul.HITS_FILT.e8341_s3687_s3704/HITS_FILT.26106626._000480.pool.root.1",
f"{d}/Tier0ChainTests/mc16_13TeV.900311.Epos_minbias_inelastic_lowjetphoton.simul.HITS_FILT.e8341_s3687_s3704/HITS_FILT.26106626._000574.pool.root.1",
]
RAW = [d + "/TrigP1Test/data17_13TeV.00327265.physics_EnhancedBias.merge.RAW._lb0100._SFO-1._0001.1"]
RAW_BKG = [d + "/OverlayMonitoringRTT/mc15_valid.00200010.overlay_streamsAll_2016_pp_1.skim.DRAW.r8381/DRAW.09331084._000146.pool.root.1"]
RDO = [d + "/Tier0ChainTests/q221/21.0/v1/myRDO.pool.root"]
RDO_BKG = [d + "/OverlayMonitoringRTT/PileupPremixing/22.0/v4/RDO.merged-pileup-MT.100events.pool.root"]
ESD = [d + "/RecExRecoTest/mc16_13TeV.361022.Pythia8EvtGen_A14NNPDF23LO_jetjet_JZ2W.recon.ESD.e3668_s3170_r10572_homeMade.pool.root"]
AOD = [d + "/CommonInputs/data16_13TeV.00311321.physics_Main.recon.AOD.r9264/AOD.11038520._000001.pool.root.1"]
AOD_MC = [d + "/CommonInputs/mc16_13TeV.410501.PowhegPythia8EvtGen_A14_ttbar_hdamp258p75_nonallhad.merge.AOD.e5458_s3126_r9364_r9315/AOD.11182705._000001.pool.root.1"]
HITS_DATA_OVERLAY = [f"{d}/OverlayMonitoringRTT/mc16_13TeV.361107.PowhegPythia8EvtGen_AZNLOCTEQ6L1_Zmumu.OverlaySim/HITS.pool.root"]
RAW = [f"{d}/TrigP1Test/data17_13TeV.00327265.physics_EnhancedBias.merge.RAW._lb0100._SFO-1._0001.1"]
RAW_BKG = [f"{d}/OverlayMonitoringRTT/mc15_valid.00200010.overlay_streamsAll_2016_pp_1.skim.DRAW.r8381/DRAW.09331084._000146.pool.root.1"]
RDO_RUN2 = [f"{d}/WorkflowReferences/master/q443/v1/myRDO.pool.root"]
RDO_BKG_RUN2 = [f"{d}/OverlayTests/PresampledPileUp/22.0/Run2/large/mc20_13TeV.900149.PG_single_nu_Pt50.digit.RDO.e8307_s3482_s3136_d1715/RDO.26811908._031801.pool.root.1"]
ESD = [f"{d}/RecExRecoTest/mc16_13TeV.361022.Pythia8EvtGen_A14NNPDF23LO_jetjet_JZ2W.recon.ESD.e3668_s3170_r10572_homeMade.pool.root"]
AOD = [f"{d}/CommonInputs/data16_13TeV.00311321.physics_Main.recon.AOD.r9264/AOD.11038520._000001.pool.root.1"]
AOD_MC = [f"{d}/CommonInputs/mc16_13TeV.410501.PowhegPythia8EvtGen_A14_ttbar_hdamp258p75_nonallhad.merge.AOD.e5458_s3126_r9364_r9315/AOD.11182705._000001.pool.root.1"]
#!/usr/bin/env python
# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
ConfigFlags.Input.Files = defaultTestFiles.HITS
ConfigFlags.Input.Files = defaultTestFiles.HITS_RUN2
ConfigFlags._loadDynaFlags("Detector")
# Don't fail just because G4AtlasApps isn't present in this build.
......
#!/usr/bin/env python
# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
ConfigFlags.Input.Files = defaultTestFiles.RDO
ConfigFlags.Input.Files = defaultTestFiles.RDO_RUN2
ConfigFlags._loadDynaFlags("Detector")
# Don't fail just because G4AtlasApps isn't present in this build.
......
# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from AthenaConfiguration.ComponentFactory import CompFactory
......@@ -42,9 +42,8 @@ def GeoModelCfg(configFlags):
if __name__ == "__main__":
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
ConfigFlags.Input.Files = defaultTestFiles.RAW
ConfigFlags.Input.Files = []
Configurable.configurableRun3Behavior=1
acc = GeoModelCfg( ConfigFlags )
......
#!/usr/bin/env python
"""Run a test on Atlas Geometry configuration using a HITS file as input
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
"""
if __name__ == "__main__":
from AthenaCommon.Logging import log
......@@ -16,9 +16,9 @@ if __name__ == "__main__":
Configurable.configurableRun3Behavior = True
from AthenaConfiguration.TestDefaults import defaultTestFiles
# Provide MC input
ConfigFlags.Input.Files = defaultTestFiles.HITS
ConfigFlags.Input.Files = defaultTestFiles.HITS_RUN2
ConfigFlags.IOVDb.GlobalTag = "OFLCOND-MC16-SDR-16"
ConfigFlags.GeoModel.Align.Dynamic = False
ConfigFlags.GeoModel.Align.Dynamic = False
ConfigFlags.lock()
# Construct ComponentAccumulator
......
# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from AthenaConfiguration.ComponentFactory import CompFactory
......@@ -45,7 +45,6 @@ if __name__ == "__main__":
from AthenaCommon.Logging import log
# from AthenaCommon.Constants import DEBUG
from AthenaConfiguration.AllConfigFlags import ConfigFlags
# from AthenaConfiguration.TestDefaults import defaultTestFiles
from AthenaConfiguration.MainServicesConfig import MainServicesCfg
from AthenaPoolCnvSvc.PoolReadConfig import PoolReadCfg
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment