ATLAS Offline Software
DataOverlayConditions.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
3 from IOVDbSvc.IOVDbSvcConfig import addOverride
4 
5 
6 def PPTestCfg(flags):
7  """Conditions for p-p test."""
9 
10  # SCT
11  acc.merge(addOverride(flags, "/SCT/DAQ/Calibration/ChipNoise", "SctDaqCalibrationChipNoise-Apr10-01", db="COOLOFL_SCT/OFLP200"))
12  acc.merge(addOverride(flags, "/SCT/DAQ/Calibration/ChipGain", "SctDaqCalibrationChipGain-Apr10-01", db="COOLOFL_SCT/OFLP200"))
13 
14  # TRT
15  # TODO: TRTCondDigVers
16 
17  # LAr
18  acc.merge(addOverride(flags, "/LAR/BadChannels/MissingFEBs", tag="LArBadChannelsMissingFEBs-IOVDEP-04", db="COOLOFL_LAR/OFLP200"))
19  acc.merge(addOverride(flags, "/LAR/LArCellPositionShift", tag="LArCellPositionShift-ideal", db="COOLOFL_LAR/OFLP200"))
20  acc.merge(addOverride(flags, "/LAR/ElecCalibOfl/OFC/PhysWave/RTM/4samples1phase", tag="LARElecCalibOflOFCPhysWaveRTM4samples1phase-RUN2-UPD4-00"))
21  acc.merge(addOverride(flags, "/LAR/ElecCalibOfl/Shape/RTM/4samples1phase", tag="LARElecCalibOflShapeRTM4samples1phase-RUN2-UPD4-00"))
22  acc.merge(addOverride(flags, "/LAR/ElecCalibMC/fSampl", tag="LARElecCalibMCfSampl-G496-19213-FTFP_BERT_BIRK"))
23 
24  # Tile
25  # TODO: Tile sampling fraction
26 
27  # TGC
28  # TODO: /TGC/DIGIT/* folders are available only in OFLP200 (not in CONDBR2).
29  acc.merge(addOverride(flags, "/TGC/DIGIT/ASDPOS", tag="TgcDigitAsdPos-00-01", db="COOLOFL_TGC/OFLP200"))
30  acc.merge(addOverride(flags, "/TGC/DIGIT/TOFFSET", tag="TgcDigitTimeOffset-00-01", db="COOLOFL_TGC/OFLP200"))
31  acc.merge(addOverride(flags, "/TGC/DIGIT/XTALK", tag="TgcDigitXTalk-00-01", db="COOLOFL_TGC/OFLP200"))
32 
33  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.DataOverlayConditions.PPTestCfg
def PPTestCfg(flags)
Definition: DataOverlayConditions.py:6
python.IOVDbSvcConfig.addOverride
def addOverride(flags, folder, tag, db=None)
Definition: IOVDbSvcConfig.py:224