Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
HIGG9D1.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2 #========================================================================
3 # HIGG9D1.py for J/psi+bbbar, J/psi+tautau and J/psi+diphoton
4 # This requires the flag "HIGG9D1" in Derivation_tf.py
5 #========================================================================
6 
7 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
8 from AthenaConfiguration.ComponentFactory import CompFactory
9 from AthenaConfiguration.Enums import MetadataCategory
10 from AthenaCommon.Logging import logging
11 log_HIGG9D1 = logging.getLogger('HIGG9D1')
12 
13 streamName = "StreamDAOD_HIGG9D1"
14 
15 def HIGG9D1KernelCfg(flags, name='HIGG9D1Kernel', **kwargs):
16  """Configure the derivation framework driving algorithm (kernel) for HIGG9D1"""
17  acc = ComponentAccumulator()
18 
19  doLRT = flags.Tracking.doLargeD0
20  if doLRT:
21  log_HIGG9D1.info("flags.Tracking.doLargeD0 is True")
22  else:
23  log_HIGG9D1.info("flags.Tracking.doLargeD0 is False")
24 
25  # Adds primary vertex counts and track counts to EventInfo before they are thinned
26  HIGG9D1_AugOriginalCounts = CompFactory.DerivationFramework.AugOriginalCounts(
27  name = "HIGG9D1_AugOriginalCounts",
28  VertexContainer = "PrimaryVertices",
29  TrackContainer = "InDetTrackParticles",
30  TrackLRTContainer = "InDetLargeD0TrackParticles" if doLRT else "" )
31  acc.addPublicTool(HIGG9D1_AugOriginalCounts)
32 
33  mainMuonInput = "StdWithLRTMuons" if doLRT else "Muons"
34  mainIDInput = "InDetWithLRTTrackParticles" if doLRT else "InDetTrackParticles"
35  if doLRT:
36  from DerivationFrameworkLLP.LLPToolsConfig import LRTMuonMergerAlg
37  from AthenaConfiguration.Enums import LHCPeriod
38  acc.merge(LRTMuonMergerAlg( flags,
39  PromptMuonLocation = "Muons",
40  LRTMuonLocation = "MuonsLRT",
41  OutputMuonLocation = mainMuonInput,
42  CreateViewCollection = True,
43  UseRun3WP = flags.GeoModel.Run is LHCPeriod.Run3 ))
44  from DerivationFrameworkInDet.InDetToolsConfig import InDetLRTMergeCfg
45  acc.merge(InDetLRTMergeCfg( flags, OutputTrackParticleLocation = mainIDInput ))
46 
47  MuonToRelink = [ "Muons", "MuonsLRT" ] if doLRT else []
48  TrkToRelink = ["InDetTrackParticles", "InDetLargeD0TrackParticles"] if doLRT else []
49 
50  from DerivationFrameworkBPhys.commonBPHYMethodsCfg import (BPHY_V0ToolCfg, BPHY_InDetDetailedTrackSelectorToolCfg, BPHY_VertexPointEstimatorCfg, BPHY_TrkVKalVrtFitterCfg)
51  V0Tools = acc.popToolsAndMerge(BPHY_V0ToolCfg(flags, "HIGG9D1"))
52  vkalvrt = acc.popToolsAndMerge(BPHY_TrkVKalVrtFitterCfg(flags, "HIGG9D1"))
53  acc.addPublicTool(vkalvrt)
54  acc.addPublicTool(V0Tools)
55  TrackSelector = acc.popToolsAndMerge(BPHY_InDetDetailedTrackSelectorToolCfg(flags, "HIGG9D1"))
56  acc.addPublicTool(TrackSelector)
57  vpest = acc.popToolsAndMerge(BPHY_VertexPointEstimatorCfg(flags, "HIGG9D1"))
58  acc.addPublicTool(vpest)
59 
60  from JpsiUpsilonTools.JpsiUpsilonToolsConfig import PrimaryVertexRefittingToolCfg
61  pvRefitter = acc.popToolsAndMerge(PrimaryVertexRefittingToolCfg(flags))
62  acc.addPublicTool(pvRefitter)
63 
64  HIGG9D1JpsiFinder = CompFactory.Analysis.JpsiFinder(
65  name = "HIGG9D1JpsiFinder",
66  muAndMu = True,
67  muAndTrack = False,
68  TrackAndTrack = False,
69  assumeDiMuons = True, # If true, will assume dimu hypothesis and use PDG value for mu mass
70  trackThresholdPt = 2400.,
71  invMassLower = 2600.0,
72  invMassUpper = 3500.0,
73  Chi2Cut = 20.,
74  oppChargesOnly = True,
75  atLeastOneComb = True,
76  useCombinedMeasurement = False, # Only takes effect if combOnly=True
77  muonCollectionKey = mainMuonInput,
78  TrackParticleCollection = mainIDInput,
79  V0VertexFitterTool = None, # V0 vertex fitter
80  useV0Fitter = False, # if False a TrkVertexFitterTool will be used
81  TrkVertexFitterTool = vkalvrt, # VKalVrt vertex fitter
82  TrackSelectorTool = TrackSelector,
83  VertexPointEstimator = vpest,
84  useMCPCuts = False )
85  acc.addPublicTool(HIGG9D1JpsiFinder)
86 
87  HIGG9D1UpsiFinder = CompFactory.Analysis.JpsiFinder(
88  name = "HIGG9D1UpsiFinder",
89  muAndMu = True,
90  muAndTrack = False,
91  TrackAndTrack = False,
92  assumeDiMuons = True, # If true, will assume dimu hypothesis and use PDG value for mu mass
93  trackThresholdPt = 2400.,
94  invMassLower = 8900.0,
95  invMassUpper = 9900.0,
96  Chi2Cut = 20.,
97  oppChargesOnly = True,
98  atLeastOneComb = True,
99  useCombinedMeasurement = False, # Only takes effect if combOnly=True
100  muonCollectionKey = mainMuonInput,
101  TrackParticleCollection = mainIDInput,
102  V0VertexFitterTool = None, # V0 vertex fitter
103  useV0Fitter = False, # if False a TrkVertexFitterTool will be used
104  TrkVertexFitterTool = vkalvrt, # VKalVrt vertex fitter
105  TrackSelectorTool = TrackSelector,
106  VertexPointEstimator = vpest,
107  useMCPCuts = False )
108  acc.addPublicTool(HIGG9D1UpsiFinder)
109 
110  HIGG9D1_Jpsi = CompFactory.DerivationFramework.Reco_Vertex(
111  name = "HIGG9D1_Jpsi",
112  VertexSearchTool = HIGG9D1JpsiFinder,
113  OutputVtxContainerName = "HIGG9D1_JpsiCandidates",
114  PVContainerName = "PrimaryVertices",
115  RefPVContainerName = "HIGG9D1_JpsiRefittedPrimaryVertices",
116  RefitPV = True,
117  MaxPVrefit = 100,
118  V0Tools = V0Tools,
119  RelinkTracks = TrkToRelink,
120  RelinkMuons = MuonToRelink,
121  PVRefitter = pvRefitter,
122  DoVertexType = 7)
123  acc.addPublicTool(HIGG9D1_Jpsi)
124 
125  HIGG9D1_Upsi = CompFactory.DerivationFramework.Reco_Vertex(
126  name = "HIGG9D1_Upsi",
127  VertexSearchTool = HIGG9D1UpsiFinder,
128  OutputVtxContainerName = "HIGG9D1_UpsiCandidates",
129  PVContainerName = "PrimaryVertices",
130  RefPVContainerName = "HIGG9D1_UpsiRefittedPrimaryVertices",
131  RefitPV = True,
132  MaxPVrefit = 100,
133  V0Tools = V0Tools,
134  RelinkTracks = TrkToRelink,
135  RelinkMuons = MuonToRelink,
136  PVRefitter = pvRefitter,
137  DoVertexType = 7)
138  acc.addPublicTool(HIGG9D1_Upsi)
139 
140  from InDetConfig.InDetTrackSelectionToolConfig import InDetTrackSelectionTool_Loose_Cfg
141  HIGG9D1_isoTrackSelTool = acc.popToolsAndMerge(InDetTrackSelectionTool_Loose_Cfg(
142  flags,
143  name = "HIGG9D1_isoTrackSelTool",
144  maxZ0SinTheta = 3.0,
145  minPt = 500.))
146 
147  from IsolationAlgs.IsoToolsConfig import TrackIsolationToolCfg
148  HIGG9D1_TrackIsoTool = acc.popToolsAndMerge(TrackIsolationToolCfg(
149  flags,
150  name = "HIGG9D1_TrackIsoTool",
151  TrackSelectionTool = HIGG9D1_isoTrackSelTool))
152  acc.addPublicTool(HIGG9D1_TrackIsoTool)
153 
154  HIGG9D1_JpsiVtxTrkIsoDecor = CompFactory.DerivationFramework.VertexTrackIsolation(
155  name = "HIGG9D1_JpsiVtxTrkIsoDecor",
156  TrackIsoTool = HIGG9D1_TrackIsoTool,
157  TrackContainer = "InDetTrackParticles",
158  InputVertexContainer = "HIGG9D1_JpsiCandidates",
159  FixElecExclusion = False,
160  IncludeV0 = False)
161  acc.addPublicTool(HIGG9D1_JpsiVtxTrkIsoDecor)
162 
163  HIGG9D1_UpsiVtxTrkIsoDecor = CompFactory.DerivationFramework.VertexTrackIsolation(
164  name = "HIGG9D1_UpsiVtxTrkIsoDecor",
165  TrackIsoTool = HIGG9D1_TrackIsoTool,
166  TrackContainer = "InDetTrackParticles",
167  InputVertexContainer = "HIGG9D1_UpsiCandidates",
168  FixElecExclusion = False,
169  IncludeV0 = False)
170  acc.addPublicTool(HIGG9D1_UpsiVtxTrkIsoDecor)
171 
172  # New subsequence
173  from AthenaCommon.CFElements import seqAND
174  acc.addSequence( seqAND("HIGG9D1Sequence") )
175 
176  # Common augmentations
177  from DerivationFrameworkPhys.PhysCommonConfig import PhysCommonAugmentationsCfg
178  acc.merge(PhysCommonAugmentationsCfg(flags, TriggerListsHelper = kwargs['TriggerListsHelper']), sequenceName="HIGG9D1Sequence")
179 
180 
183  HIGG9D1_onia_skim = CompFactory.DerivationFramework.AnyVertexSkimmingTool(name = "HIGG9D1_onia_skim", VertexContainerNames = ["HIGG9D1_JpsiCandidates", "HIGG9D1_UpsiCandidates"])
184  acc.addPublicTool(HIGG9D1_onia_skim)
185 
186  HIGG9D1_onia_skimKernel = CompFactory.DerivationFramework.DerivationKernel(
187  "HIGG9D1_onia_skimKernel",
188  AugmentationTools = [ HIGG9D1_AugOriginalCounts, HIGG9D1_Jpsi, HIGG9D1_Upsi, HIGG9D1_JpsiVtxTrkIsoDecor, HIGG9D1_UpsiVtxTrkIsoDecor ],
189  SkimmingTools = [ HIGG9D1_onia_skim ])
190  # Add skimming tool to subsequence
191  acc.addEventAlgo(HIGG9D1_onia_skimKernel, sequenceName="HIGG9D1Sequence")
192 
193 
194  from DerivationFrameworkFlavourTag.FtagDerivationConfig import JetCollectionsBTaggingCfg
195  acc.merge(JetCollectionsBTaggingCfg(flags, ["AntiKt4EMPFlowJets"]), sequenceName="HIGG9D1Sequence")
196 
197 
200 
201 
203  HIGG9D1_smallR_EMPFlow_2j_sel = "count(AntiKt4EMPFlowJets.pt > 18*GeV && abs(AntiKt4EMPFlowJets.eta) < 2.8) >= 2"
204  HIGG9D1_smallR_EMPFlow_1j_sel = "count(AntiKt4EMPFlowJets.pt > 33*GeV && abs(AntiKt4EMPFlowJets.eta) < 2.8) >= 1"
205  # https://gitlab.cern.ch/atlas/athena/-/blob/main/PhysicsAnalysis/JetTagging/JetTagPerformanceCalibration/xAODBTaggingEfficiency/Root/BTaggingSelectionTool.cxx
206  # fraction_c (0.2), fraction_tau (0.01) and cutvalue (0.844) from TDirectory "GN2v01/AntiKt4EMPFlowJets/FixedCutBEff_77" of
207  # /cvmfs/atlas.cern.ch/repo/sw/database/GroupData/xAODBTaggingEfficiency/13TeV/MC20_2024-10-17_GN2v01_v1.root (run-2) and
208  # /cvmfs/atlas.cern.ch/repo/sw/database/GroupData/xAODBTaggingEfficiency/13p6TeV/MC23_2024-10-17_GN2v01_v1.root (run-3)
209  HIGG9D1_smallR_EMPFlow_1b_sel = "count(AntiKt4EMPFlowJets.pt > 18*GeV && abs(AntiKt4EMPFlowJets.eta) < 2.8 && log(BTagging_AntiKt4EMPFlow.GN2v01_pb/(0.2*BTagging_AntiKt4EMPFlow.GN2v01_pc + (1.-0.2-0.01)*BTagging_AntiKt4EMPFlow.GN2v01_pu + 0.01*BTagging_AntiKt4EMPFlow.GN2v01_ptau))>=0.844) >= 1"
210 
211  HIGG9D1_bjet_sel = "%s && %s && %s" % (HIGG9D1_smallR_EMPFlow_2j_sel, HIGG9D1_smallR_EMPFlow_1j_sel, HIGG9D1_smallR_EMPFlow_1b_sel)
212  HIGG9D1_bb_skim = CompFactory.DerivationFramework.xAODStringSkimmingTool(name = "HIGG9D1_bb_skim", expression = HIGG9D1_bjet_sel)
213  acc.addPublicTool(HIGG9D1_bb_skim)
214 
215 
216  HIGG9D1_tauTrks = '(TauJets.nTracks + TauJets.nTracksIsolation >= 1 && TauJets.nTracks + TauJets.nTracksIsolation <= 8)'
217  HIGG9D1_tauLead = '(TauJets.pt > 23.0*GeV || TauJets.ptFinalCalib > 23.0*GeV)'
218  HIGG9D1_tauSubl = '(TauJets.pt > 18.0*GeV || TauJets.ptFinalCalib > 18.0*GeV)'
219  HIGG9D1_tauId = 'TauJets.DFTauRNNLoose'
220  HIGG9D1_tauReq0 = 'count( '+HIGG9D1_tauSubl+' && '+HIGG9D1_tauTrks+' ) >= 2'
221  HIGG9D1_tauReq1 = 'count( '+HIGG9D1_tauSubl+' && '+HIGG9D1_tauTrks+' && '+HIGG9D1_tauId+' ) >= 1'
222  HIGG9D1_tauReq2 = 'count( '+HIGG9D1_tauLead+' && '+HIGG9D1_tauTrks+' ) >= 1'
223  HIGG9D1_tau_sel = "%s && %s && %s" % (HIGG9D1_tauReq0, HIGG9D1_tauReq1, HIGG9D1_tauReq2)
224 
225  HIGG9D1_tautau_skim = CompFactory.DerivationFramework.xAODStringSkimmingTool(name = "HIGG9D1_tautau_skim", expression = HIGG9D1_tau_sel)
226  acc.addPublicTool(HIGG9D1_tautau_skim)
227 
228 
229  from DerivationFrameworkHiggs.SkimmingToolHIGG1Config import SkimmingToolHIGG1Cfg
230  HIGG9D1_yy_skim = acc.popToolsAndMerge(SkimmingToolHIGG1Cfg(
231  flags,
232  name = "HIGG9D1_yy_skim",
233  RequireGRL = False,
234  ReqireLArError = True,
235  RequireTrigger = False,
236  RequirePreselection = True,
237  RequireKinematic = False,
238  RequireQuality = False, # True: "Tight" ID; False: DFCommonPhotonsIsEMLoose
239  RequireIsolation = False, # dummy
240  RequireInvariantMass = False,
241  IncludeSingleMergedElectronPreselection = False,
242  IncludeSingleElectronPreselection = False,
243  IncludeDoubleElectronPreselection = False,
244  IncludeSingleMuonPreselection = False,
245  IncludeDoubleMuonPreselection = False,
246  IncludePhotonDoubleElectronPreselection = False,
247  IncludePhotonMergedElectronPreselection = False,
248  IncludeHighPtPhotonElectronPreselection = False,
249  IncludeDoublePhotonPreselection = True, # di-photon requirement
250  MinimumPhotonPt = 4800.0,
251  RemoveCrack = True,
252  MaxEta = 2.47))
253  acc.addPublicTool(HIGG9D1_yy_skim)
254 
255  # Combine skims with OR
256  HIGG9D1_bb_tautau_yy_skim = CompFactory.DerivationFramework.FilterCombinationOR(
257  name = "HIGG9D1_bb_tautau_yy_skim",
258  FilterList = [HIGG9D1_bb_skim, HIGG9D1_tautau_skim, HIGG9D1_yy_skim])
259  acc.addPublicTool(HIGG9D1_bb_tautau_yy_skim)
260 
261  # Common calo decoration tools
262  from DerivationFrameworkCalo.DerivationFrameworkCaloConfig import (CaloDecoratorKernelCfg, ClusterEnergyPerLayerDecoratorCfg)
263  acc.merge(CaloDecoratorKernelCfg(flags), sequenceName="HIGG9D1Sequence")
264 
265  # Adding missing cluster energy decorators
266  augmentationTools = []
267  cluster_sizes = (3,5), (5,7), (7,7)
268  for neta, nphi in cluster_sizes:
269  cename = "ClusterEnergyPerLayerDecorator_%sx%s" % (neta, nphi)
270  ClusterEnergyPerLayerDecorator = acc.popToolsAndMerge( ClusterEnergyPerLayerDecoratorCfg(flags, neta = neta, nphi=nphi, name=cename ))
271  acc.addPublicTool(ClusterEnergyPerLayerDecorator)
272  augmentationTools.append(ClusterEnergyPerLayerDecorator)
273 
274  HIGG9D1_bb_tautau_yy_skimKernel = CompFactory.DerivationFramework.DerivationKernel(
275  "HIGG9D1_bb_tautau_yy_skimKernel",
276  AugmentationTools = augmentationTools,
277  SkimmingTools = [ HIGG9D1_bb_tautau_yy_skim ])
278  # Add skimming tool to subsequence
279  acc.addEventAlgo(HIGG9D1_bb_tautau_yy_skimKernel, sequenceName="HIGG9D1Sequence")
280 
281  from IsolationAlgs.DerivationTrackIsoConfig import DerivationTrackIsoCfg
282  acc.merge(DerivationTrackIsoCfg(flags, object_types=("Electrons", "Photons", "Muons"), sequenceName="HIGG9D1Sequence"))
283 
284  # IFF augmentation - Adding Lepton Taggers
285  from LeptonTaggers.LeptonTaggersConfig import DecoratePLITAlgsCfg
286  acc.merge(DecoratePLITAlgsCfg(flags), sequenceName="HIGG9D1Sequence")
287 
288  from IsolationSelection.IsolationSelectionConfig import IsoCloseByAlgsCfg
289  contNames = [ "Muons", "Electrons", "Photons" ]
290  acc.merge(IsoCloseByAlgsCfg(flags, isPhysLite = False, containerNames = contNames, useSelTools = True, stream_name = kwargs['StreamName']), sequenceName="HIGG9D1Sequence")
291 
292  # diphoton vertex augmentation
293  from DerivationFrameworkEGamma.EGammaToolsConfig import PhotonVertexSelectionWrapperKernelCfg
294  acc.merge(PhotonVertexSelectionWrapperKernelCfg(flags), sequenceName="HIGG9D1Sequence")
295  from DerivationFrameworkHiggs.HIGG1D1CustomVertexConfig import DiphotonVertexDecoratorCfg
296  DiphotonVertexDecorator = acc.popToolsAndMerge(DiphotonVertexDecoratorCfg(
297  flags,
298  MinimumPhotonPt = 4800.0,
299  DiphotonVertexName = "HIGG9D1_DiphotonPrimaryVertices"))
300  acc.addPublicTool(DiphotonVertexDecorator)
301  acc.addEventAlgo(CompFactory.DerivationFramework.CommonAugmentation(name = "DiphotonVertexAugmentation", AugmentationTools = [DiphotonVertexDecorator]), sequenceName="HIGG9D1Sequence")
302 
303  #================
304  # Thinning tools
305  #================
306  # Include inner detector tracks associated with muons
307  HIGG9D1MuonTPThinningTool = CompFactory.DerivationFramework.MuonTrackParticleThinning(
308  name = "HIGG9D1MuonTPThinningTool",
309  StreamName = kwargs['StreamName'],
310  MuonKey = "Muons",
311  InDetTrackParticlesKey = "InDetTrackParticles")
312  acc.addPublicTool(HIGG9D1MuonTPThinningTool)
313 
314  # Include inner detector tracks associated with electonrs
315  HIGG9D1ElectronTPThinningTool = CompFactory.DerivationFramework.EgammaTrackParticleThinning(
316  name = "HIGG9D1ElectronTPThinningTool",
317  SGKey = "Electrons",
318  StreamName = kwargs['StreamName'],
319  GSFTrackParticlesKey = "GSFTrackParticles",
320  InDetTrackParticlesKey = "InDetTrackParticles")
321  acc.addPublicTool(HIGG9D1ElectronTPThinningTool)
322 
323  # Include inner detector tracks associated with photons
324  HIGG9D1PhotonTPThinningTool = CompFactory.DerivationFramework.EgammaTrackParticleThinning(
325  name = "HIGG9D1PhotonTPThinningTool",
326  SGKey = "Photons",
327  StreamName = kwargs['StreamName'],
328  GSFTrackParticlesKey = "GSFTrackParticles",
329  GSFConversionVerticesKey = "GSFConversionVertices",
330  InDetTrackParticlesKey = "InDetTrackParticles")
331  acc.addPublicTool(HIGG9D1PhotonTPThinningTool)
332 
333  # Include inner detector tracks associated with taus
334  HIGG9D1TauTPThinningTool = CompFactory.DerivationFramework.TauTrackParticleThinning(
335  name = "HIGG9D1TauTPThinningTool",
336  StreamName = kwargs['StreamName'],
337  TauKey = "TauJets",
338  InDetTrackParticlesKey = "InDetTrackParticles",
339  DoTauTracksThinning = True,
340  TauTracksKey = "TauTracks")
341  acc.addPublicTool(HIGG9D1TauTPThinningTool)
342 
343  # ID tracks associated to vertices
344  HIGG9D1_ThinVtxTracks = CompFactory.DerivationFramework.Thin_vtxTrk(
345  name = "HIGG9D1_ThinVtxTracks",
346  StreamName = kwargs['StreamName'],
347  TrackParticleContainerName = "InDetTrackParticles",
348  VertexContainerNames = [ HIGG9D1_Jpsi.OutputVtxContainerName, HIGG9D1_Upsi.OutputVtxContainerName ],
349  IgnoreFlags = True )
350  acc.addPublicTool(HIGG9D1_ThinVtxTracks)
351 
352  thinningTools = [HIGG9D1MuonTPThinningTool,
353  HIGG9D1ElectronTPThinningTool,
354  HIGG9D1PhotonTPThinningTool,
355  HIGG9D1TauTPThinningTool,
356  HIGG9D1_ThinVtxTracks]
357 
358 
359  if flags.Input.isMC:
360  from DerivationFrameworkMCTruth.TruthDerivationToolsConfig import MenuTruthThinningCfg
361  HIGG9D1TruthTool = acc.getPrimaryAndMerge(MenuTruthThinningCfg(
362  flags = flags,
363  name = "HIGG9D1TruthTool",
364  StreamName = kwargs['StreamName'],
365  ParticlesKey = "TruthParticles",
366  VerticesKey = "TruthVertices",
367  EventsKey = "TruthEvents",
368  WritePartons = False,
369  WriteHadrons = True,
370  WriteBHadrons = True,
371  WriteCHadrons = True,
372  WriteGeant = False,
373  WriteTauHad = True,
374  WriteBSM = True,
375  WriteBosons = True,
376  WriteBSMProducts = True,
377  WriteBosonProducts = False,
378  WriteTopAndDecays = True,
379  WriteEverything = False,
380  WriteAllLeptons = True,
381  WriteNotPhysical = False,
382  PreserveDescendants = False,
383  PreserveGeneratorDescendants = True,
384  PreserveAncestors = True))
385  acc.addPublicTool(HIGG9D1TruthTool)
386  thinningTools.append(HIGG9D1TruthTool)
387 
388  #===================================================
389  # HEAVY FLAVOR CLASSIFICATION FOR ttbar+jets EVENTS
390  #===================================================
391  from DerivationFrameworkMCTruth.HFClassificationCommonConfig import HFClassificationCommonCfg
392  acc.merge(HFClassificationCommonCfg(flags), sequenceName="HIGG9D1Sequence")
393 
394  # Apply thinning
395  acc.addEventAlgo(CompFactory.DerivationFramework.DerivationKernel(name, ThinningTools = thinningTools), sequenceName="HIGG9D1Sequence")
396 
397  return acc
398 
399 def HIGG9D1Cfg(flags):
400  log_HIGG9D1.info('****************** STARTING HIGG9D1 ******************')
401 
402  acc = ComponentAccumulator()
403 
404  # Get the lists of triggers needed for trigger matching.
405  # This is needed at this scope (for the slimming) and further down in the config chain
406  # for actually configuring the matching, so we create it here and pass it down
407  # TODO: this should ideally be called higher up to avoid it being run multiple times in a train
408  from DerivationFrameworkPhys.TriggerListsHelper import TriggerListsHelper
409  HIGG9D1TriggerListsHelper = TriggerListsHelper(flags)
410 
411  # dedicated augmentations
412  acc.merge(HIGG9D1KernelCfg(flags, name="HIGG9D1Kernel", StreamName = streamName, TriggerListsHelper = HIGG9D1TriggerListsHelper))
413 
414  # =============================
415  # Define contents of the format
416  # =============================
417  from OutputStreamAthenaPool.OutputStreamConfig import OutputStreamCfg
418  from xAODMetaDataCnv.InfileMetaDataConfig import SetupMetaDataForStreamCfg
419  from DerivationFrameworkCore.SlimmingHelper import SlimmingHelper
420 
421  HIGG9D1SlimmingHelper = SlimmingHelper("HIGG9D1SlimmingHelper", NamesAndTypes = flags.Input.TypedCollections, flags = flags)
422  HIGG9D1SlimmingHelper.SmartCollections = [
423  "EventInfo",
424  "Electrons",
425  "Photons",
426  "Muons",
427  "PrimaryVertices",
428  "InDetTrackParticles",
429  "AntiKt4EMTopoJets",
430  "AntiKt4EMPFlowJets",
431  "BTagging_AntiKt4EMPFlow",
432  "AntiKt4EMPFlowJets_FTAG",
433  "MET_Baseline_AntiKt4EMTopo",
434  "MET_Baseline_AntiKt4EMPFlow",
435  "TauJets",
436  "TauJets_MuonRM",
437  "DiTauJets",
438  "DiTauJetsLowPt",
439  "AntiKt10LCTopoTrimmedPtFrac5SmallR20Jets",
440  "AntiKt10UFOCSSKSoftDropBeta100Zcut10Jets",
441  "AntiKtVR30Rmax4Rmin02PV0TrackJets"]
442 
443  if flags.Tau.TauEleRM_isAvailable:
444  HIGG9D1SlimmingHelper.SmartCollections.append("TauJets_EleRM")
445 
446  from DerivationFrameworkBPhys.commonBPHYMethodsCfg import getDefaultAllVariables
447  AllVariables = getDefaultAllVariables()
448  AllVariables += ["PrimaryVertices"]
449  AllVariables += ["CombinedMuonTrackParticles"]
450 
451  doLRT = flags.Tracking.doLargeD0
452  AllVariables += ["InDetTrackParticles", "InDetLargeD0TrackParticles"] if doLRT else ["InDetTrackParticles"]
453  AllVariables += ["Muons", "MuonsLRT"] if doLRT else ["Muons"]
454  AllVariables += ["MuonSegments"]
455 
456  # Additional content (shallow copy of PrimaryVertices)
457  HIGG9D1SlimmingHelper.AppendToDictionary.update({
458  "HIGG9D1_DiphotonPrimaryVertices" : "xAOD::VertexContainer",
459  "HIGG9D1_DiphotonPrimaryVerticesAux" : "xAOD::ShallowAuxContainer"
460  })
461  AllVariables += ["HIGG9D1_DiphotonPrimaryVertices"]
462 
463  HIGG9D1_Jpsi = acc.getPublicTool("HIGG9D1_Jpsi")
464  HIGG9D1_Upsi = acc.getPublicTool("HIGG9D1_Upsi")
465 
466  StaticContent = []
467  if HIGG9D1_Jpsi.RefitPV:
468  StaticContent += [ "xAOD::VertexContainer#%s" % HIGG9D1_Jpsi.RefPVContainerName ]
469  StaticContent += [ "xAOD::VertexAuxContainer#%sAux.-vxTrackAtVertex" % HIGG9D1_Jpsi.RefPVContainerName ]
470  if HIGG9D1_Upsi.RefitPV:
471  StaticContent += [ "xAOD::VertexContainer#%s" % HIGG9D1_Upsi.RefPVContainerName ]
472  StaticContent += [ "xAOD::VertexAuxContainer#%sAux.-vxTrackAtVertex" % HIGG9D1_Upsi.RefPVContainerName ]
473  StaticContent += [ "xAOD::VertexContainer#%s" % HIGG9D1_Jpsi.OutputVtxContainerName ]
474  StaticContent += [ "xAOD::VertexAuxContainer#%sAux.-vxTrackAtVertex" % HIGG9D1_Jpsi.OutputVtxContainerName ]
475  StaticContent += [ "xAOD::VertexContainer#%s" % HIGG9D1_Upsi.OutputVtxContainerName ]
476  StaticContent += [ "xAOD::VertexAuxContainer#%sAux.-vxTrackAtVertex" % HIGG9D1_Upsi.OutputVtxContainerName ]
477 
478  excludedVertexAuxData = "-vxTrackAtVertex.-MvfFitInfo.-isInitialized.-VTAV"
479  StaticContent += ["xAOD::VertexContainer#SoftBVrtClusterTool_Tight_Vertices"]
480  StaticContent += ["xAOD::VertexAuxContainer#SoftBVrtClusterTool_Tight_VerticesAux." + excludedVertexAuxData]
481  StaticContent += ["xAOD::VertexContainer#SoftBVrtClusterTool_Medium_Vertices"]
482  StaticContent += ["xAOD::VertexAuxContainer#SoftBVrtClusterTool_Medium_VerticesAux." + excludedVertexAuxData]
483  StaticContent += ["xAOD::VertexContainer#SoftBVrtClusterTool_Loose_Vertices"]
484  StaticContent += ["xAOD::VertexAuxContainer#SoftBVrtClusterTool_Loose_VerticesAux." + excludedVertexAuxData]
485 
486  # Extra CP content
487  from DerivationFrameworkEGamma.PhotonsCPDetailedContent import PhotonsCPDetailedContent
488  HIGG9D1SlimmingHelper.ExtraVariables += PhotonsCPDetailedContent
489 
490  from DerivationFrameworkEGamma.ElectronsCPDetailedContent import (ElectronsCPDetailedContent, GSFTracksCPDetailedContent, ElectronsAddAmbiguityContent)
491  HIGG9D1SlimmingHelper.ExtraVariables += ElectronsCPDetailedContent
492  HIGG9D1SlimmingHelper.ExtraVariables += GSFTracksCPDetailedContent
493  HIGG9D1SlimmingHelper.ExtraVariables += ElectronsAddAmbiguityContent
494 
495  from DerivationFrameworkTau.TauJetsCPContent import TauJetsCPContent
496  HIGG9D1SlimmingHelper.ExtraVariables += TauJetsCPContent
497 
498  from DerivationFrameworkTau.TauJets_LepRMCPContent import (TauJets_EleRMCPContent, TauJets_MuonRMCPContent)
499  HIGG9D1SlimmingHelper.ExtraVariables += TauJets_EleRMCPContent
500  HIGG9D1SlimmingHelper.ExtraVariables += TauJets_MuonRMCPContent
501 
502  StaticContent += ["xAOD::TauJetContainer#TauJets_MuonRM"]
503  StaticContent += ["xAOD::TauJetAuxContainer#TauJets_MuonRMAux.-VertexedClusters"]
504  StaticContent += ["xAOD::VertexContainer#TauSecondaryVertices_MuonRM"]
505  StaticContent += ["xAOD::VertexAuxContainer#TauSecondaryVertices_MuonRMAux.-vxTrackAtVertex"]
506 
507  HIGG9D1SlimmingHelper.StaticContent = StaticContent
508 
509  HIGG9D1SlimmingHelper.ExtraVariables += [
510  "AntiKt4EMTopoJets.DFCommonJets_QGTagger_truthjet_nCharged.DFCommonJets_QGTagger_truthjet_pt.DFCommonJets_QGTagger_truthjet_eta.DFCommonJets_QGTagger_NTracks.DFCommonJets_QGTagger_TracksWidth.DFCommonJets_QGTagger_TracksC1.ConeExclBHadronsFinal.ConeExclCHadronsFinal.GhostBHadronsFinal.GhostCHadronsFinal.GhostBHadronsFinalCount.GhostBHadronsFinalPt.GhostCHadronsFinalCount.GhostCHadronsFinalPt.IsoFixedCone5PtPUsub",
511  "AntiKt4EMPFlowJets.DFCommonJets_QGTagger_truthjet_nCharged.DFCommonJets_QGTagger_truthjet_pt.DFCommonJets_QGTagger_truthjet_eta.DFCommonJets_QGTagger_NTracks.DFCommonJets_QGTagger_TracksWidth.DFCommonJets_QGTagger_TracksC1.ConeExclBHadronsFinal.ConeExclCHadronsFinal.GhostBHadronsFinal.GhostCHadronsFinal.GhostBHadronsFinalCount.GhostBHadronsFinalPt.GhostCHadronsFinalCount.GhostCHadronsFinalPt.GhostPartons.isJvtHS.isJvtPU.IsoFixedCone5PtPUsub",
512  "InDetTrackParticles.TTVA_AMVFVertices.TTVA_AMVFWeights.eProbabilityHT.numberOfTRTHits.numberOfTRTOutliers",
513  "EventInfo.GenFiltHT.GenFiltMET.GenFiltHTinclNu.GenFiltPTZ.GenFiltFatJ.HF_Classification.HF_SimpleClassification",
514  "HLT_xAOD__TrigMissingETContainer_TrigEFMissingET.ex.ey",
515  "HLT_xAOD__TrigMissingETContainer_TrigEFMissingET_mht.ex.ey"]
516 
517  # FTAG Xbb extra content
518  extraList = []
519  for tagger in ["GN2Xv01", "GN2Xv02"]:
520  for score in ["phbb", "phcc", "ptop", "pqcd"]:
521  extraList.append(f"{tagger}_{score}")
522  HIGG9D1SlimmingHelper.ExtraVariables += ["AntiKt10UFOCSSKSoftDropBeta100Zcut10Jets." + ".".join(extraList)]
523 
524  # Large-Radius jet regression extra content
525  extraListReg = []
526  modelName = "bJR10v00"
527  for score in ["mass", "pt"]:
528  extraListReg.append(f"{modelName}_{score}")
529  HIGG9D1SlimmingHelper.ExtraVariables += ["AntiKt10UFOCSSKSoftDropBeta100Zcut10Jets." + ".".join(extraListReg)]
530 
531  # Truth content
532  if flags.Input.isMC:
533  from DerivationFrameworkMCTruth.MCTruthCommonConfig import addTruth3ContentToSlimmerTool
534  addTruth3ContentToSlimmerTool(HIGG9D1SlimmingHelper)
535  HIGG9D1SlimmingHelper.ExtraVariables += ["Electrons.TruthLink","Muons.TruthLink","Photons.TruthLink","AntiKt4TruthDressedWZJets.IsoFixedCone5Pt"]
536 
537  AllVariables += ["TruthLHEParticles","TruthHFWithDecayParticles","TruthHFWithDecayVertices","TruthCharm","TruthPileupParticles","InTimeAntiKt4TruthJets","OutOfTimeAntiKt4TruthJets",
538  "TruthPrimaryVertices","TruthEvents","TruthParticles","TruthVertices","TruthElectrons","TruthMuons","TruthTaus"]
539 
540  from DerivationFrameworkMCTruth.MCTruthCommonConfig import AddTauAndDownstreamParticlesCfg
541  acc.merge(AddTauAndDownstreamParticlesCfg(flags))
542  AllVariables += ["TruthTausWithDecayParticles","TruthTausWithDecayVertices"]
543 
544  HIGG9D1SlimmingHelper.SmartCollections += [
545  "AntiKt4TruthDressedWZJets",
546  "AntiKt4TruthWZJets",
547  "AntiKt4TruthJets"
548  ]
549 
550  # Extra isolation content
551  EgammaExtraContent= [
552  "ptcone20","ptcone30","ptcone40", "ptvarcone20", "ptvarcone30", "ptvarcone40", "topoetcone20", "topoetcone30",
553  "neflowisol20", "neflowisol30", "neflowisol40",
554  "ptvarcone20_Nonprompt_All_MaxWeightTTVA_pt500" ,"ptvarcone20_Nonprompt_All_MaxWeightTTVA_pt1000",
555  "ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt500","ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt1000",
556  "ptvarcone40_Nonprompt_All_MaxWeightTTVA_pt500","ptvarcone40_Nonprompt_All_MaxWeightTTVA_pt1000",
557  "ptcone20_Nonprompt_All_MaxWeightTTVA_pt500", "ptcone20_Nonprompt_All_MaxWeightTTVA_pt1000",
558  "ptcone30_Nonprompt_All_MaxWeightTTVA_pt500", "ptcone30_Nonprompt_All_MaxWeightTTVA_pt1000",
559  "ptcone40_Nonprompt_All_MaxWeightTTVA_pt500", "ptcone40_Nonprompt_All_MaxWeightTTVA_pt1000",
560  "topoetconecoreConeEnergyCorrection", "isoSelIsOK", "topoetcone20_CloseByCorr"
561  ]
562 
563  ElectronsExtraContent = [ ".".join( ["Electrons", "deltaPhiRescaled2", "deltaPhiFromLastMeasurement", "originalTrackParticle", "ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000", "ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000", "ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000_CloseByCorr", "ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000_CloseByCorr"] + EgammaExtraContent ) ]
564 
565  PhotonsExtraContent = [ ".".join(["Photons", "topoetcone40", "topoetcone40_CloseByCorr", "ptcone20_CloseByCorr"] + EgammaExtraContent ) ]
566 
567  MuonsExtraContent = [ ".".join( [
568  "Muons",
569  "MeasEnergyLoss.MeasEnergyLossSigma.EnergyLossSigma.ParamEnergyLoss",
570  "ParamEnergyLossSigmaMinus.ParamEnergyLossSigmaPlus.clusterLink.scatteringCurvatureSignificance",
571  "deltaPhiRescaled2.deltaPhiFromLastMeasurement.scatteringNeighbourSignificance",
572  "ptcone20.ptcone30.ptcone40.ptvarcone20.ptvarcone30.ptvarcone40.topoetcone30",
573  "neflowisol20.neflowisol30.neflowisol40.ptvarcone20_Nonprompt_All_MaxWeightTTVA_pt500",
574  "ptvarcone20_Nonprompt_All_MaxWeightTTVA_pt1000.ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt500",
575  "ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt1000.ptvarcone40_Nonprompt_All_MaxWeightTTVA_pt500",
576  "ptvarcone40_Nonprompt_All_MaxWeightTTVA_pt1000.ptcone20_Nonprompt_All_MaxWeightTTVA_pt500",
577  "ptcone20_Nonprompt_All_MaxWeightTTVA_pt1000.ptcone30_Nonprompt_All_MaxWeightTTVA_pt500",
578  "ptcone30_Nonprompt_All_MaxWeightTTVA_pt1000.ptcone40_Nonprompt_All_MaxWeightTTVA_pt500",
579  "ptcone40_Nonprompt_All_MaxWeightTTVA_pt1000",
580  "msInnerMatchChi2", "isoSelIsOK", "ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt500_CloseByCorr",
581  "ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt1000_CloseByCorr", "neflowisol20_CloseByCorr", "topoetcone20_CloseByCorr"
582  ] ) ]
583 
584  HIGG9D1SlimmingHelper.ExtraVariables += ElectronsExtraContent
585  HIGG9D1SlimmingHelper.ExtraVariables += PhotonsExtraContent
586  HIGG9D1SlimmingHelper.ExtraVariables += MuonsExtraContent
587 
588  from IsolationSelection.IsolationSelectionConfig import setupIsoCloseBySlimmingVariables
589  setupIsoCloseBySlimmingVariables(HIGG9D1SlimmingHelper)
590 
591  from LeptonTaggers.LeptonTaggersConfig import GetExtraPLITVariablesForDxAOD
592  HIGG9D1SlimmingHelper.ExtraVariables += GetExtraPLITVariablesForDxAOD()
593 
594  HIGG9D1SlimmingHelper.AllVariables = AllVariables
595 
596  # Trigger content
597  HIGG9D1SlimmingHelper.IncludeTriggerNavigation = False
598  HIGG9D1SlimmingHelper.IncludeJetTriggerContent = False
599  HIGG9D1SlimmingHelper.IncludeMuonTriggerContent = False
600  HIGG9D1SlimmingHelper.IncludeEGammaTriggerContent = False
601  HIGG9D1SlimmingHelper.IncludeTauTriggerContent = False
602  HIGG9D1SlimmingHelper.IncludeEtMissTriggerContent = False
603  HIGG9D1SlimmingHelper.IncludeBJetTriggerContent = False
604  HIGG9D1SlimmingHelper.IncludeBPhysTriggerContent = False
605  HIGG9D1SlimmingHelper.IncludeMinBiasTriggerContent = False
606  # Compact b-jet trigger matching info
607  HIGG9D1SlimmingHelper.IncludeBJetTriggerByYearContent = True
608 
609  # Trigger matching
610  # Run 2
611  if flags.Trigger.EDMVersion == 2:
612  from DerivationFrameworkPhys.TriggerMatchingCommonConfig import AddRun2TriggerMatchingToSlimmingHelper
613  AddRun2TriggerMatchingToSlimmingHelper(SlimmingHelper = HIGG9D1SlimmingHelper,
614  OutputContainerPrefix = "TrigMatch_",
615  TriggerList = HIGG9D1TriggerListsHelper.Run2TriggerNamesTau)
616  AddRun2TriggerMatchingToSlimmingHelper(SlimmingHelper = HIGG9D1SlimmingHelper,
617  OutputContainerPrefix = "TrigMatch_",
618  TriggerList = HIGG9D1TriggerListsHelper.Run2TriggerNamesNoTau)
619  # Run 3, or Run 2 with navigation conversion
620  if flags.Trigger.EDMVersion == 3 or (flags.Trigger.EDMVersion == 2 and flags.Trigger.doEDMVersionConversion):
621  from TrigNavSlimmingMT.TrigNavSlimmingMTConfig import AddRun3TrigNavSlimmingCollectionsToSlimmingHelper
623 
624  # L1 trigger objects
625  from DerivationFrameworkPhys.TriggerMatchingCommonConfig import getDataYear
626  if getDataYear(flags) >= 2024:
627  # Run 3 with Phase I jet RoIs.
628  from DerivationFrameworkPhys.TriggerMatchingCommonConfig import AddjFexRoIsToSlimmingHelper
629  AddjFexRoIsToSlimmingHelper(SlimmingHelper = HIGG9D1SlimmingHelper)
630  elif getDataYear(flags) >= 2015:
631  # Run 2 and early Run 3, legacy L1 RoIs
632  from DerivationFrameworkPhys.TriggerMatchingCommonConfig import AddLegacyL1JetRoIsToSlimmingHelper
633  AddLegacyL1JetRoIsToSlimmingHelper(SlimmingHelper = HIGG9D1SlimmingHelper)
634 
635  # Output stream
636  HIGG9D1ItemList = HIGG9D1SlimmingHelper.GetItemList()
637  acc.merge(OutputStreamCfg(flags, "DAOD_HIGG9D1", ItemList=HIGG9D1ItemList, AcceptAlgs=["HIGG9D1Kernel"]))
638  acc.merge(SetupMetaDataForStreamCfg(flags, "DAOD_HIGG9D1", AcceptAlgs=["HIGG9D1Kernel"], createMetadata=[MetadataCategory.CutFlowMetaData, MetadataCategory.TruthMetaData]))
639  acc.printConfig(withDetails=True, summariseProps=True, onlyComponents = [], printDefaults=True)
640  return acc
python.HIGG1D1CustomVertexConfig.PrimaryVertexRefittingToolCfg
def PrimaryVertexRefittingToolCfg(flags, **kwargs)
Definition: HIGG1D1CustomVertexConfig.py:7
TrigNavSlimmingMTConfig.AddRun3TrigNavSlimmingCollectionsToSlimmingHelper
def AddRun3TrigNavSlimmingCollectionsToSlimmingHelper(slimmingHelper)
Definition: TrigNavSlimmingMTConfig.py:98
python.LLPToolsConfig.LRTMuonMergerAlg
def LRTMuonMergerAlg(flags, name="LLP1_MuonLRTMergingAlg", **kwargs)
Definition: LLPToolsConfig.py:181
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.SkimmingToolHIGG1Config.SkimmingToolHIGG1Cfg
def SkimmingToolHIGG1Cfg(ConfigFlags, **kwargs)
Definition: SkimmingToolHIGG1Config.py:7
commonBPHYMethodsCfg.BPHY_TrkVKalVrtFitterCfg
def BPHY_TrkVKalVrtFitterCfg(flags, BPHYDerivationName, **kwargs)
Definition: commonBPHYMethodsCfg.py:6
python.FtagDerivationConfig.JetCollectionsBTaggingCfg
def JetCollectionsBTaggingCfg(cfgFlags, jet_cols, pv_cols=None, trackAugmenterPrefix=None)
Definition: FtagDerivationConfig.py:17
python.TriggerMatchingCommonConfig.AddjFexRoIsToSlimmingHelper
def AddjFexRoIsToSlimmingHelper(**kwargs)
Definition: TriggerMatchingCommonConfig.py:80
IsolationSelectionConfig.setupIsoCloseBySlimmingVariables
def setupIsoCloseBySlimmingVariables(slimmingHelper, isLLP1=False)
Definition: IsolationSelectionConfig.py:176
python.MCTruthCommonConfig.AddTauAndDownstreamParticlesCfg
def AddTauAndDownstreamParticlesCfg(flags, generations=-1, rejectHadronChildren=False)
Definition: MCTruthCommonConfig.py:267
python.HIGG9D1.HIGG9D1Cfg
def HIGG9D1Cfg(flags)
Definition: HIGG9D1.py:399
python.OutputStreamConfig.OutputStreamCfg
def OutputStreamCfg(flags, streamName, ItemList=[], MetadataItemList=[], disableEventTag=False, trigNavThinningSvc=None, takeItemsFromInput=False, extendProvenanceRecord=True, keepProvenanceTagsRegEx=None, AcceptAlgs=[], HelperTools=[])
Definition: OutputStreamConfig.py:16
python.TruthDerivationToolsConfig.MenuTruthThinningCfg
def MenuTruthThinningCfg(flags, name, **kwargs)
Definition: TruthDerivationToolsConfig.py:362
python.TriggerMatchingCommonConfig.getDataYear
def getDataYear(flags)
Definition: TriggerMatchingCommonConfig.py:30
python.InDetTrackSelectionToolConfig.InDetTrackSelectionTool_Loose_Cfg
def InDetTrackSelectionTool_Loose_Cfg(flags, name="InDetTrackSelectionTool_Loose", **kwargs)
Configs based on CutLevel Loose #####.
Definition: InDetTrackSelectionToolConfig.py:36
python.TriggerMatchingCommonConfig.AddRun2TriggerMatchingToSlimmingHelper
def AddRun2TriggerMatchingToSlimmingHelper(**kwargs)
Definition: TriggerMatchingCommonConfig.py:49
LeptonTaggersConfig.GetExtraPLITVariablesForDxAOD
def GetExtraPLITVariablesForDxAOD(name='')
Definition: LeptonTaggersConfig.py:586
python.HIGG1D1CustomVertexConfig.DiphotonVertexDecoratorCfg
def DiphotonVertexDecoratorCfg(flags, **kwargs)
Definition: HIGG1D1CustomVertexConfig.py:56
python.CFElements.seqAND
def seqAND(name, subs=[])
Definition: CFElements.py:25
DerivationFrameworkCaloConfig.ClusterEnergyPerLayerDecoratorCfg
def ClusterEnergyPerLayerDecoratorCfg(flags, **kwargs)
Definition: DerivationFrameworkCaloConfig.py:49
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10
commonBPHYMethodsCfg.BPHY_V0ToolCfg
def BPHY_V0ToolCfg(flags, BPHYDerivationName)
Definition: commonBPHYMethodsCfg.py:11
python.TrackIsolationDecoratorConfig.TrackIsolationToolCfg
def TrackIsolationToolCfg(ConfigFlags, name="TrackIsolationTool", **kwargs)
Definition: TrackIsolationDecoratorConfig.py:12
python.MCTruthCommonConfig.addTruth3ContentToSlimmerTool
def addTruth3ContentToSlimmerTool(slimmer)
Definition: MCTruthCommonConfig.py:466
python.InDetConversionFinderToolsConfig.BPHY_VertexPointEstimatorCfg
def BPHY_VertexPointEstimatorCfg(flags, name="BPHY_VertexPointEstimator", **kwargs)
Definition: InDetConversionFinderToolsConfig.py:69
commonBPHYMethodsCfg.getDefaultAllVariables
def getDefaultAllVariables()
Definition: commonBPHYMethodsCfg.py:32
LeptonTaggersConfig.DecoratePLITAlgsCfg
ComponentAccumulator DecoratePLITAlgsCfg(ConfigFlags, name="DecoratePLITAlgsCfg", lepton_type="", **kwargs)
Definition: LeptonTaggersConfig.py:456
DerivationFrameworkCaloConfig.CaloDecoratorKernelCfg
def CaloDecoratorKernelCfg(flags, name="CaloDecoratorKernel", **kwargs)
Definition: DerivationFrameworkCaloConfig.py:82
python.TriggerMatchingCommonConfig.AddLegacyL1JetRoIsToSlimmingHelper
def AddLegacyL1JetRoIsToSlimmingHelper(**kwargs)
Definition: TriggerMatchingCommonConfig.py:70
python.InDetToolsConfig.InDetLRTMergeCfg
def InDetLRTMergeCfg(flags, name="InDetLRTMerge", **kwargs)
Definition: InDetToolsConfig.py:14
IsolationSelectionConfig.IsoCloseByAlgsCfg
def IsoCloseByAlgsCfg(flags, suff="", isPhysLite=False, containerNames=["Muons", "Electrons", "Photons"], stream_name="", ttva_wp="Nonprompt_All_MaxWeight", useSelTools=False, isoDecSuffix="CloseByCorr", caloDecSuffix="", hasLRT=False)
Definition: IsolationSelectionConfig.py:146
python.PhysCommonConfig.PhysCommonAugmentationsCfg
def PhysCommonAugmentationsCfg(flags, **kwargs)
Definition: PhysCommonConfig.py:14
DerivationTrackIsoConfig.DerivationTrackIsoCfg
def DerivationTrackIsoCfg(flags, **jwarg)
Definition: DerivationTrackIsoConfig.py:11
python.InDetTrackSelectorToolConfig.BPHY_InDetDetailedTrackSelectorToolCfg
def BPHY_InDetDetailedTrackSelectorToolCfg(flags, name='BPHY_InDetDetailedTrackSelectorTool', **kwargs)
Definition: InDetTrackSelectorToolConfig.py:213
python.HFClassificationCommonConfig.HFClassificationCommonCfg
def HFClassificationCommonCfg(flags)
Definition: HFClassificationCommonConfig.py:114
InfileMetaDataConfig.SetupMetaDataForStreamCfg
def SetupMetaDataForStreamCfg(flags, streamName="", AcceptAlgs=None, createMetadata=None, propagateMetadataFromInput=True, *args, **kwargs)
Definition: InfileMetaDataConfig.py:222
SlimmingHelper
Definition: SlimmingHelper.py:1
python.HIGG9D1.HIGG9D1KernelCfg
def HIGG9D1KernelCfg(flags, name='HIGG9D1Kernel', **kwargs)
Definition: HIGG9D1.py:15
python.EGammaToolsConfig.PhotonVertexSelectionWrapperKernelCfg
def PhotonVertexSelectionWrapperKernelCfg(flags, name="PhotonVertexSelectionWrapperKernel", **kwargs)
Definition: EGammaToolsConfig.py:95