ATLAS Offline Software
TIDV_cond_fix.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 def TIDV_cond_fix(flags):
4  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
5  from IOVDbSvc.IOVDbSvcConfig import addOverride
6  from AthenaCommon.Logging import logging
7  log = logging.getLogger('TIDV_cond_fix')
8  log.info('Overriding conditions for old MC inputs')
9 
10  f2 = flags.clone()
11  f2.lock()
12 
13  cfg = ComponentAccumulator()
14  cfg.merge(addOverride(f2, '/PIXEL/PixelModuleFeMask', 'PixelModuleFeMask-SIM-MC16-000-03'))
15  cfg.merge(addOverride(f2, '/TRT/Calib/PID_NN', 'TRTCalibPID_NN_v1'))
16  cfg.merge(addOverride(f2, '/PIXEL/PixelClustering/PixelNNCalibJSON', 'PixelNNCalibJSON-SIM-RUN2-000-02'))
17  return cfg
18 
20  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
21  from IOVDbSvc.IOVDbSvcConfig import addOverride
22  from AthenaCommon.Logging import logging
23  log = logging.getLogger('TIDV_singlebeamspot')
24  log.info('Overriding conditions for single beamspot')
25 
26  f2 = flags.clone()
27  f2.lock()
28 
29  cfg = ComponentAccumulator()
30  cfg.merge(addOverride(f2, '/Indet/Beampos', 'IndetBeampos-RunDep-MC21-BestKnowledge-002'))
31  return cfg
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TIDV_cond_fix.TIDV_cond_fix
def TIDV_cond_fix(flags)
Definition: TIDV_cond_fix.py:3
python.TIDV_cond_fix.TIDV_singlebeamspot
def TIDV_singlebeamspot(flags)
Definition: TIDV_cond_fix.py:19
python.IOVDbSvcConfig.addOverride
def addOverride(flags, folder, tag, db=None)
Definition: IOVDbSvcConfig.py:224