ATLAS Offline Software
BeamSpotRecoConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 from AthenaConfiguration.Enums import HIMode
3 from TrkConfig.TrkConfigFlags import PrimaryPassConfig
4 
5 
6 def beamSpotRecoPreInc(flags):
7  """beamSpotReco pre exec flags for Reco_tf with CA"""
8  flags.Detector.EnableAFP = False
9  flags.Detector.EnableLucid = False
10  flags.Detector.EnableCalo = False
11  flags.Detector.EnableL1Calo = False
12  flags.Detector.EnableMuon = False
13  flags.Detector.EnableTRT = False
14  flags.Detector.EnableZDC = False
15 
16  flags.Common.doExpressProcessing = True
17  flags.Reco.EnableTrigger = False
18  flags.Reco.EnableCombinedMuon = False
19  flags.Reco.EnableEgamma = False
20  flags.Reco.EnableTau = False
21  flags.Reco.EnableJet = False
22  flags.Reco.EnableMet = False
23  flags.Reco.EnableBTagging = False
24  flags.Reco.EnableHI = False
25  flags.Reco.EnableZDC = False
26  flags.Reco.HIMode = HIMode.pp
27  flags.Reco.EnableCaloRinger = False
28  flags.Reco.EnableTrackCellAssociation = False
29  flags.Reco.PostProcessing.InDetForwardTrackParticleThinning = False
30 
31  flags.Tracking.PrimaryPassConfig = PrimaryPassConfig.VtxBeamSpot
32  flags.Tracking.doTrackSegmentsDisappearing = False
33 
34  flags.GeoModel.Align.Dynamic = True
35  flags.DQ.enableLumiAccess = False
36 
37 
38 def beamSpotRecoPostInc(flags, cfg):
39  from IOVDbSvc.IOVDbSvcConfig import addOverride
40 
41  cfg.merge(addOverride(flags, "/Indet/AlignL1/ID", "InDetAlignL1-RUN3-BLK-UPD4-01"))
42  cfg.merge(
43  addOverride(flags, "/Indet/AlignL2/PIX", "InDetAlignL2PIX-RUN3-BLK-UPD4-01")
44  )
45  cfg.merge(
46  addOverride(flags, "/Indet/AlignL2/SCT", "InDetAlignL2SCT-RUN3-BLK-UPD4-01")
47  )
48  cfg.merge(addOverride(flags, "/TRT/AlignL1/TRT", "TRTAlignL1-RUN3-BLK-UPD4-01"))
49  cfg.merge(addOverride(flags, "/Indet/AlignL3", "IndetAlignL3-RUN3-BLK-UPD4-04"))
50  cfg.merge(
51  addOverride(flags, "/Indet/IBLDist", "InDetAlignIBLDIST-RUN3-BLK-UPD4-01")
52  )
53  cfg.merge(addOverride(flags, "/TRT/AlignL2", "TRTAlignL2-RUN3-BLK-UPD4-04"))
54 
55 
57  from OutputStreamAthenaPool.OutputStreamConfig import OutputStreamCfg
58  return OutputStreamCfg(flags, "AOD",["EventInfo#*"])
python.OutputStreamConfig.OutputStreamCfg
def OutputStreamCfg(flags, streamName, ItemList=[], MetadataItemList=[], disableEventTag=False, trigNavThinningSvc=None, takeItemsFromInput=False, extendProvenanceRecord=True, AcceptAlgs=[], HelperTools=[])
Definition: OutputStreamConfig.py:12
python.BeamSpotRecoConfig.beamSpotRecoPostExecCfg
def beamSpotRecoPostExecCfg(flags)
Definition: BeamSpotRecoConfig.py:56
python.IOVDbSvcConfig.addOverride
def addOverride(flags, folder, tag, db=None)
Definition: IOVDbSvcConfig.py:224
python.BeamSpotRecoConfig.beamSpotRecoPreInc
def beamSpotRecoPreInc(flags)
Definition: BeamSpotRecoConfig.py:6
python.BeamSpotRecoConfig.beamSpotRecoPostInc
def beamSpotRecoPostInc(flags, cfg)
Definition: BeamSpotRecoConfig.py:38