ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigValidation
TrigInDetValidation
python
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
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.TIDV_cond_fix.TIDV_singlebeamspot
TIDV_singlebeamspot(flags)
Definition
TIDV_cond_fix.py:19
Generated on
for ATLAS Offline Software by
1.17.0