ATLAS Offline Software
TrigmuCombConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 # This file configs the muComb reco alg with the newJO
4 
5 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
6 from AthenaConfiguration.ComponentFactory import CompFactory
7 
8 muFastInfo="HLT_MuonL2SAInfo"
9 muCombInfo="HLT_MuonL2CBInfo"
10 
11 def muCombCfg(flags, postFix="", useBackExtrp=True, L2StandAloneMuonContainerName = "", L2CombinedMuonContainerName="", TrackParticleContainerName=""):
12 
13  acc = ComponentAccumulator()
14 
15  # matching windows parameters tuned in 2016 and 2015 data (T&P Z and J/psi samples)
16  winEtaSigma = 7.0
17  winPhiSigma = 7.0
18  chi2Weight = 2.0
19 
20  # pt resolution parameters for ID-SAmuon match from SAmuon developers (2016 data)
21  if flags.Detector.EnableCSC:
22  idScanBarrelRes = [0.02169,0.0004186]
23  idScanEndcap1Res = [0.03054,0.000325]
24  idScanEndcap2Res = [0.03557,0.0005383]
25  idScanEndcap3Res = [0.04755,0.0007718]
26  idScanEndcap4Res = [0.06035,0.0001145]
27  else:
28  idScanBarrelRes = [0.017, 0.000000418]
29  idScanEndcap1Res = [0.025, 0.0000002]
30  idScanEndcap2Res = [0.030, 0.0000002]
31  idScanEndcap3Res = [0.036, 0.0000004]
32  idScanEndcap4Res = [0.046, 0.0000002]
33  from TrigmuComb.TrigmuCombMonitoring import TrigMuCombMonitoring
34  from TrkConfig.AtlasExtrapolatorConfig import AtlasExtrapolatorCfg
35  muCombAlg = CompFactory.muComb(
36  name = "MuComb"+postFix,
37  MuCombStrategy = 0,
38  UseBackExtrapolatorG4 = useBackExtrp,
39  MinPtTRK = 0.,
40  WinEtaSigma_g4 = winEtaSigma,
41  WinPhiSigma_g4 = winPhiSigma,
42  Chi2Weight_g4 = chi2Weight,
43  IDSCANBarrelRes = idScanBarrelRes,
44  IDSCANEndcap1Res = idScanEndcap1Res,
45  IDSCANEndcap2Res = idScanEndcap2Res,
46  IDSCANEndcap3Res = idScanEndcap3Res,
47  IDSCANEndcap4Res = idScanEndcap4Res,
48  IDalgo = "InDetTrigTrackingxAODCnv_Muon_FTF",
49  L2StandAloneMuonContainerName = L2StandAloneMuonContainerName,
50  L2CombinedMuonContainerName = L2CombinedMuonContainerName,
51  TrackParticlesContainerName = TrackParticleContainerName,
52  AtlasExtrapolator = acc.popToolsAndMerge(AtlasExtrapolatorCfg(flags)),
53  MonTool = TrigMuCombMonitoring(flags))
54 
55  acc.addEventAlgo(muCombAlg)
56 
57  return acc
58 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
TrigmuCombConfig.muCombCfg
def muCombCfg(flags, postFix="", useBackExtrp=True, L2StandAloneMuonContainerName="", L2CombinedMuonContainerName="", TrackParticleContainerName="")
Definition: TrigmuCombConfig.py:11
python.AtlasExtrapolatorConfig.AtlasExtrapolatorCfg
def AtlasExtrapolatorCfg(flags, name='AtlasExtrapolator')
Definition: AtlasExtrapolatorConfig.py:63
TrigmuCombMonitoring.TrigMuCombMonitoring
def TrigMuCombMonitoring(flags, name="TrigMuCombMonitoring")
Definition: TrigmuCombMonitoring.py:5