ATLAS Offline Software
Loading...
Searching...
No Matches
python.TIDV_cond_fix Namespace Reference

Functions

 TIDV_cond_fix (flags)
 TIDV_singlebeamspot (flags)

Function Documentation

◆ TIDV_cond_fix()

python.TIDV_cond_fix.TIDV_cond_fix ( flags)

Definition at line 3 of file TIDV_cond_fix.py.

3def 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

◆ TIDV_singlebeamspot()

python.TIDV_cond_fix.TIDV_singlebeamspot ( flags)

Definition at line 19 of file TIDV_cond_fix.py.

19def TIDV_singlebeamspot(flags):
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