ATLAS Offline Software
Functions
python.TIDV_cond_fix Namespace Reference

Functions

def TIDV_cond_fix (flags)
 
def TIDV_singlebeamspot (flags)
 

Function Documentation

◆ TIDV_cond_fix()

def python.TIDV_cond_fix.TIDV_cond_fix (   flags)

Definition at line 3 of file TIDV_cond_fix.py.

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 

◆ TIDV_singlebeamspot()

def python.TIDV_cond_fix.TIDV_singlebeamspot (   flags)

Definition at line 19 of file TIDV_cond_fix.py.

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