Skip to content
Snippets Groups Projects
Commit ec87b03e authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge remote-tracking branch 'upstream/22.0' into master-sweepfrom22_07_06

parents f41590de 4c7ea0bc
No related branches found
No related tags found
41 merge requests!59674InDetPerformanceMonitoring with LumiBlock selection,!59383cppcheck in trigger code: Prefer prefix ++/-- operators for non-primitive types.,!58990Draft:Fixing bug in FTF config when running with Reco_tf,!58835DataQualityConfigurations: Modify L1Calo config for web display,!58791DataQualityConfigurations: Modify L1Calo config for web display,!58373Modification of V2.3 processing to work well with all clients,!58289New NVSI calibration,!58286New NVSI calibration,!58106Update NVSI example algorithm,!57937Draft: New nighlty test for trigger with a Run 4 single muon RDO,!57841Edits to ZDC signal processing in preparation for analysis of data from LHCf run,!57590Fixing LAr DT dumper,!57584Draft: LAr DB fixes,!57316ATR-26311 and ATR-25754 moving one dimuon and few egamma chains from dev to phys or MC,!57090ATLASRECTS-7305: fixes for large cluster building,!56828Draft: [trigEGam] Integration beteween mongroups and TrigEgammaMonitoring,!56523Draft: Proposal for CA-Based AODFix,!56154tauRecTools: fix conditional decoration in TauIDVarCalculator,!55990MM offline DQ - plit PBC in 2 FEB in occupancy plots,!55989ATR-25904: fixed the RUN3_ROI_OVERFLOW_SHIFT and m_OverflowPerRoIMask to 12,!55609Add Athena TEvent-based file access,!55378Draft: Fix ToF channels,!55330Draft: PixelMonitoring: re-implementation of assessment of mva histograms in the online-post processing,!55327Fix memory leak in eFEX Tau algorithm (ATR-25988),!55308Fill offline MET histograms only if container is valid and non-empty,!55304Move fill of offline MET conditional on container being valid and non-empty,!55301Move fill of offline MET conditional on container being valid and non-empty,!55300Move fill of offline MET conditional on container being valid and non-empty,!55158Update JetInputs DQ web display config to add missing plots,!54932Draft: TrigBtagEmulationTool: Add BJet trigger emulation tool,!54737Draft: HLT_mu3vtx_L12MU8F Trigger Updates,!54628Draft: Added HLT_RoICluster_Composites container to EDM conifg.,!54441Draft: Add new scheme to use only half of rings as input,!54269One-line fix for e/g algorithm issue,!54263Draft: changing sTGC TDO tag,!54132Draft: Initial sTGC raw data monitoring,!54090r22 JetTagging: fix_tow_Run3,!54048Daily "22.0 to master" sweep: 07/06/22,!54037Add mu3 thresholds and HLT_2mu3 (ATR-23494),!52778Draft: Update the collisions HLT egamma han config for Run3,!52702Draft: update of muonSelectionTool for r22 and run3
Showing
with 527 additions and 2509 deletions
......@@ -452,7 +452,8 @@ def defineHistogram(varname, type='TH1F', path=None,
settings.update(_options(opt))
# some things need merging
if (settings['kAddBinsDynamically'] or settings['kRebinAxes'] or settings['kCanRebin']) and not _isOnline():
if ((settings['kAddBinsDynamically'] or settings['kRebinAxes'] or settings['kCanRebin'])
and (not _isOnline() and 'OFFLINE' in settings['convention'])):
if merge is None:
log.warning(f'Merge method for {alias} is not specified but needs to be "merge" due to histogram definition; overriding for your convenience')
merge = 'merge'
......
source diff could not be displayed: it is too large. Options to address this: view the blob.
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
import os
from AthenaCommon.Configurable import Configurable
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.ComponentFactory import CompFactory
from AthenaConfiguration.Enums import LHCPeriod
......@@ -9,8 +8,6 @@ from AthenaConfiguration.MainServicesConfig import MainServicesCfg
from AthenaPoolCnvSvc.PoolReadConfig import PoolReadCfg
from AthenaPoolUtilities.DumperConfig import Dumper, find_file
from IOVDbSvc.IOVDbSvcConfig import IOVDbSvcCfg
#from AtlasGeoModel.ForDetGeoModelConfig import ForDetGeometryCfg
Configurable.configurableRun3Behavior = True
def TPCnvTest(infile, keys, useGeoModelSvc=False, useIOVDbSvc=False, doPixel=False, doSCT=False, doTRT=False, doLAr=False, doTile=False, doMuon=False, doTracks=False, configOnly=False, adjustMessageSvc=True):
......
......@@ -76,7 +76,6 @@ PP="$PP"'|^ +[a-zA-Z0-9]+ : +(--|ON)'
PP="$PP"'|DeprecationWarning.* takes no parameters'
PP="$PP"'|^ *newobj = object.__new__'
PP="$PP"'|INFO MVFVxContainerCnv'
PP="$PP"'|Private AlgTool InDet::InDetTestBLayerTool/InDetTestBLayer'
PP="$PP"'|^ +BSOLREAD. reading file'
PP="$PP"'|^\|( \|)*-.* = '
PP="$PP"'|file found at'
......@@ -112,9 +111,6 @@ PP="$PP"'|/TrigSteering/TrigSteeringConfig.py'
PP="$PP"'|Unable to locate catalogue|^ PoolSvc.* WARNING'
# Remove this once InDetTestBLayer is fixed.
PP="$PP"'|could not get pixel module design|^ ToolSvc.InDetRecTestBLayerTool.*WARNING'
# These warnings went away as of InDetTruthAlgs-00-08-04.
PP="$PP"'|No valid proxy for object TrackTruthCollection|^ StoreGateSvc.* WARNING'
......
......@@ -4,8 +4,6 @@
# Created: Jun 2020, sss
# Purpose: Configure CondProxyProvider.
from __future__ import print_function
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from AthenaConfiguration.ComponentFactory import CompFactory
......@@ -28,8 +26,6 @@ def CondProxyProviderCfg (flags, poolFiles):
if __name__ == "__main__":
from AthenaCommon.Configurable import Configurable
Configurable.configurableRun3Behavior=1
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.Enums import LHCPeriod
ConfigFlags.Input.Files = []
......
# 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: CoolLumiUtilities/python/BunchGroupCondAlgConfig.py
# Created: May 2019, sss
......@@ -6,11 +6,8 @@
#
from __future__ import print_function
from AthenaConfiguration.ComponentFactory import CompFactory
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from AthenaConfiguration.ComponentFactory import CompFactory
from IOVDbSvc.IOVDbSvcConfig import addFolders
......@@ -36,8 +33,6 @@ def BunchGroupCondAlgCfg (configFlags):
if __name__ == "__main__":
from AthenaCommon.Configurable import Configurable
Configurable.configurableRun3Behavior=1
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
......
# 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: CoolLumiUtilities/python/BunchLumisCondAlgConfig.py
# Created: May 2019, sss
# Purpose: Configure BunchLumisCondAlg.
#
from __future__ import print_function
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from AthenaConfiguration.ComponentFactory import CompFactory
from AthenaConfiguration.Enums import ProductionStep
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from IOVDbSvc.IOVDbSvcConfig import addFolders
......@@ -47,8 +43,6 @@ def BunchLumisCondAlgCfg (configFlags):
if __name__ == "__main__":
from AthenaCommon.Configurable import Configurable
Configurable.configurableRun3Behavior=1
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
ConfigFlags.loadAllDynamicFlags()
......
# 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: CoolLumiUtilities/python/FillParamsCondAlgConfig.py
# Created: May 2019, sss
# Purpose: Configure FillParamsCondAlg.
#
from __future__ import print_function
from AthenaConfiguration.ComponentFactory import CompFactory
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from IOVDbSvc.IOVDbSvcConfig import addFolders
......@@ -36,8 +32,6 @@ def FillParamsCondAlgCfg (configFlags):
if __name__ == "__main__":
from AthenaCommon.Configurable import Configurable
Configurable.configurableRun3Behavior=1
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
......
# 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: CoolLumiUtilities/python/OnlineLumiCalibrationCondAlgConfig.py
# Created: May 2019, sss
# Purpose: Configure OnlineLumiCalibrationCondAlg.
#
from __future__ import print_function
from AthenaConfiguration.ComponentFactory import CompFactory
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from IOVDbSvc.IOVDbSvcConfig import addFolders
......@@ -36,8 +32,6 @@ def OnlineLumiCalibrationCondAlgCfg (configFlags):
if __name__ == "__main__":
from AthenaCommon.Configurable import Configurable
Configurable.configurableRun3Behavior=1
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
......
......@@ -263,8 +263,6 @@ def _extractFolder(folderstr):
if __name__ == "__main__":
from AthenaCommon.Configurable import Configurable
Configurable.configurableRun3Behavior=1
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
......
......@@ -3,7 +3,6 @@
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from AthenaConfiguration.ComponentFactory import CompFactory
from AthenaConfiguration.Enums import ProductionStep
from AthenaCommon.Configurable import Configurable
from AthenaCommon import Logging
def GeoModelCfg(configFlags):
......@@ -39,7 +38,6 @@ if __name__ == "__main__":
from AthenaConfiguration.AllConfigFlags import ConfigFlags
ConfigFlags.Input.Files = []
Configurable.configurableRun3Behavior=1
acc = GeoModelCfg( ConfigFlags )
acc.store( open( "test.pkl", "wb" ) )
......
#!/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
from AthenaCommon.Constants import DEBUG
from AthenaCommon.Configurable import Configurable
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.MainServicesConfig import MainServicesCfg
from AthenaPoolCnvSvc.PoolReadConfig import PoolReadCfg
from AtlasGeoModel.AtlasGeoModelConfig import AtlasGeometryCfg
# Set up logging and new style config
# Set up logging
log.setLevel(DEBUG)
Configurable.configurableRun3Behavior = True
from AthenaConfiguration.TestDefaults import defaultTestFiles
# Provide MC input
ConfigFlags.Input.Files = defaultTestFiles.AOD
......
#!/usr/bin/env python
"""Run a test on Atlas Geometry configuration using a EVNT file as input
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.Logging import log
from AthenaCommon.Constants import DEBUG
from AthenaCommon.Configurable import Configurable
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.Enums import ProductionStep
from AthenaConfiguration.MainServicesConfig import MainServicesCfg
from AthenaPoolCnvSvc.PoolReadConfig import PoolReadCfg
from AtlasGeoModel.AtlasGeoModelConfig import AtlasGeometryCfg
# Set up logging and new style config
# Set up logging
log.setLevel(DEBUG)
Configurable.configurableRun3Behavior = True
from AthenaConfiguration.TestDefaults import defaultTestFiles
# Provide MC input
ConfigFlags.Common.ProductionStep = ProductionStep.Simulation
......
......@@ -6,14 +6,12 @@ Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
if __name__ == "__main__":
from AthenaCommon.Logging import log
from AthenaCommon.Constants import DEBUG
from AthenaCommon.Configurable import Configurable
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.MainServicesConfig import MainServicesCfg
from AthenaPoolCnvSvc.PoolReadConfig import PoolReadCfg
from AtlasGeoModel.AtlasGeoModelConfig import AtlasGeometryCfg
# Set up logging and new style config
# Set up logging
log.setLevel(DEBUG)
Configurable.configurableRun3Behavior = True
from AthenaConfiguration.TestDefaults import defaultTestFiles
# Provide MC input
ConfigFlags.Input.Files = defaultTestFiles.HITS_RUN2
......
......@@ -41,16 +41,13 @@ if __name__ == "__main__":
print('Running DumpEventDataToJSON on {} and outputting to {}. Prepend calib event is {}'.format(
args.input, args.output, args.prependCalib))
from AthenaCommon.Configurable import Configurable
from AthenaCommon.Logging import log
# from AthenaCommon.Constants import DEBUG
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.MainServicesConfig import MainServicesCfg
from AthenaPoolCnvSvc.PoolReadConfig import PoolReadCfg
Configurable.configurableRun3Behavior = 1
# Uncomment for debugging
# from AthenaCommon.Constants import DEBUG
# log.setLevel(DEBUG)
# To run on MC do e.g.
......
#!/usr/bin/env python
"""Dump CutBookkeepers
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
"""
import sys
from argparse import ArgumentParser
from AthenaCommon.Configurable import Configurable
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.MainServicesConfig import MainServicesCfg
from AthenaConfiguration.TestDefaults import defaultTestFiles
......@@ -20,9 +19,6 @@ parser.add_argument('input', type=str, nargs='?',
help='Specify the input file')
args = parser.parse_args()
# Setup configuration
Configurable.configurableRun3Behavior = True
if args.input:
ConfigFlags.Input.Files = [args.input]
else:
......
#!/usr/bin/env python
"""Test CutFlowSvc
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
"""
import sys
from argparse import ArgumentParser
from AthenaCommon.Configurable import Configurable
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.ComponentFactory import CompFactory
from AthenaConfiguration.MainServicesConfig import MainServicesCfg
......@@ -24,8 +23,6 @@ parser.add_argument('-t', '--threads', default=2, type=int,
help='The number of concurrent threads to run. 0 uses serial Athena.')
args = parser.parse_args()
# Setup configuration
Configurable.configurableRun3Behavior = True
if args.input:
ConfigFlags.Input.Files = [args.input]
else:
......
......@@ -23,9 +23,6 @@ def TagInfoMgrCfg(configFlags,tagValuePairs={}):
if __name__ == "__main__":
from AthenaCommon.Configurable import Configurable
Configurable.configurableRun3Behavior=True
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.TestDefaults import defaultTestFiles
......
......@@ -8,7 +8,6 @@ import sys
from AthenaCommon.Logging import log
from AthenaCommon.Constants import DEBUG
from AthenaCommon.Debugging import DbgStage
from AthenaCommon.Configurable import Configurable
from AthenaConfiguration.AllConfigFlags import ConfigFlags
from AthenaConfiguration.MainServicesConfig import MainServicesCfg
from AthenaConfiguration.TestDefaults import defaultTestFiles
......@@ -16,9 +15,8 @@ from AthenaPoolCnvSvc.PoolReadConfig import PoolReadCfg
from OutputStreamAthenaPool.OutputStreamConfig import OutputStreamCfg
from xAODEventInfoCnv.xAODEventInfoCnvConfig import EventInfoCnvAlgCfg
# Set up logging and new style config
# Set up logging
log.setLevel(DEBUG)
Configurable.configurableRun3Behavior = True
# Argument parsing
from argparse import ArgumentParser
......
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