ATLAS Offline Software
IDTRKVALID.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 # ====================================================================
3 # IDTRKVALID.py
4 # Component accumulator version - replaces IDTRKVALID
5 # IMPORTANT: this is NOT an AOD based derived data type but one built
6 # during reconstruction from HITS or RAW. It consequently has to be
7 # run from Reco_tf
8 # ====================================================================
9 
10 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
11 from AthenaConfiguration.ComponentFactory import CompFactory
12 from AthenaConfiguration.Enums import MetadataCategory
13 from AthenaCommon.CFElements import seqAND
14 from AthenaCommon.Constants import INFO
15 
16 IDTRKVALID_AOD_EXCLUDED_AUXDATA = ['IDTRKVALID_'+var for var in [
17  'biased_PVz0Sigma',
18  'unbiased_PVz0Sigma',
19  'biased_PVd0Sigma',
20  'unbiased_PVd0Sigma',
21  'biased_d0Sigma',
22  'unbiased_z0',
23  'unbiased_d0Sigma',
24  'biased_PVz0SigmaSinTheta',
25  'biased_z0',
26  'unbiased_PVz0SigmaSinTheta',
27  'biased_z0Sigma',
28  'biased_z0SigmaSinTheta',
29  'unbiased_d0',
30  'unbiased_z0Sigma',
31  'unbiased_z0SigmaSinTheta',
32  'biased_d0',
33  'biased_z0SinTheta',
34  'unbiased_z0SinTheta' ] ]
35 
36 # Main algorithm config
37 
38 def IDTRKVALID_ANDToolCfg(flags, name='IDTRKVALID_ANDTool'):
39  acc = ComponentAccumulator()
40 
41  sel_muon1 = 'Muons.pt > 25*GeV && Muons.ptcone40/Muons.pt < 0.3 && Muons.passesIDCuts'
42  sel_muon2 = 'Muons.pt > 20*GeV && Muons.ptcone40/Muons.pt < 0.3 && Muons.passesIDCuts'
43  draw_zmumu = '( count ( DRZmumuMass > 70*GeV && DRZmumuMass < 110*GeV ) >= 1 )'
44  from DerivationFrameworkTools.DerivationFrameworkToolsConfig import (
45  InvariantMassToolCfg, xAODStringSkimmingToolCfg,
46  FilterCombinationANDCfg)
47  IDTRKVALID_ZmumuMass = acc.getPrimaryAndMerge(InvariantMassToolCfg(
48  flags, name="IDTRKVALID_ZmumuMass",
49  ContainerName = "Muon",
50  ObjectRequirements = sel_muon1,
51  SecondObjectRequirements = sel_muon2,
52  MassHypothesis = 105.66,
53  SecondMassHypothesis = 105.66,
54  StoreGateEntryName = "DRZmumuMass"))
55 
56  IDTRKVALID_SkimmingTool = acc.getPrimaryAndMerge(
57  xAODStringSkimmingToolCfg(flags, name="IDTRKVALID_SkimmingTool",
58  expression=draw_zmumu))
59 
60  IDTRKVALID_ANDTool = acc.getPrimaryAndMerge(
61  FilterCombinationANDCfg(flags, name,
62  FilterList=[IDTRKVALID_ZmumuMass,
63  IDTRKVALID_SkimmingTool]))
64 
65  acc.addPublicTool(IDTRKVALID_ANDTool, primary=True)
66  return acc
67 
68 
69 def IDTRKVALIDKernelCommonCfg(flags, name='IDTRKVALIDKernel'):
70  acc = ComponentAccumulator()
71 
72  # ====================================================================
73  # AUGMENTATION TOOLS
74  # ====================================================================
75  augmentationTools = []
76 
77  # Add unbiased track parameters to track particles
78  from DerivationFrameworkInDet.InDetToolsConfig import (
79  TrackToVertexWrapperCfg)
80  IDTRKVALIDTrackToVertexWrapper = acc.getPrimaryAndMerge(
82  flags, name="IDTRKVALIDTrackToVertexWrapper",
83  DecorationPrefix="IDTRKVALID"))
84  augmentationTools.append(IDTRKVALIDTrackToVertexWrapper)
85 
86  from DerivationFrameworkInDet.InDetToolsConfig import (
87  UsedInVertexFitTrackDecoratorCfg)
88  IDTRKVALIDUsedInFitDecorator = acc.getPrimaryAndMerge(
90  augmentationTools.append(IDTRKVALIDUsedInFitDecorator)
91 
92  # @TODO eventually computed for other extra outputs. Possible to come up with a solution to use a common Z0AtPV if there is more than one client ?
93  from DerivationFrameworkInDet.InDetToolsConfig import TrackParametersAtPVCfg
94  DFCommonZ0AtPV = acc.getPrimaryAndMerge(TrackParametersAtPVCfg(
95  flags, name="IDTRKVALID_DFCommonZ0AtPV",
96  Z0SGEntryName="IDTRKVALIDInDetTrackZ0AtPV"))
97  augmentationTools.append(DFCommonZ0AtPV)
98 
99  # ====================================================================
100  # SKIMMING TOOLS
101  # ====================================================================
102  skimmingTools = []
103  if flags.InDet.DRAWZSelection:
104  IDTRKVALID_ANDTool = acc.getPrimaryAndMerge(IDTRKVALID_ANDToolCfg(flags))
105  skimmingTools.append(IDTRKVALID_ANDTool)
106 
107  # ====================================================================
108  # CREATE THE DERIVATION KERNEL ALGORITHM AND PASS THE ABOVE TOOLS
109  # ====================================================================
110 
111  acc.addEventAlgo(CompFactory.DerivationFramework.DerivationKernel(
112  name,
113  AugmentationTools = augmentationTools,
114  SkimmingTools = skimmingTools,
115  ThinningTools = [],
116  RunSkimmingFirst = True))
117 
118  return acc
119 
121  flags, name='IDTRKVALID_PixelModuleStatus_Kernel'):
122 
123  acc = ComponentAccumulator()
124 
125  augmentationTools = []
126  from DerivationFrameworkInDet.PixelNtupleMakerConfig import (
127  EventInfoPixelModuleStatusMonitoringCfg)
128  DFEI = acc.getPrimaryAndMerge(EventInfoPixelModuleStatusMonitoringCfg(flags))
129  augmentationTools.append(DFEI)
130 
131  return acc
132 
134  flags, name='IDTRKVALID_ITkPixelModuleStatus_Kernel'):
135 
136  acc = ComponentAccumulator()
137 
138  augmentationTools = []
139  from DerivationFrameworkInDet.PixelNtupleMakerConfig import (
140  ITkEventInfoPixelModuleStatusMonitoringCfg)
141  DFEI = acc.getPrimaryAndMerge(
143  augmentationTools.append(DFEI)
144 
145  return acc
146 
148  flags, name="IDTRKVALIDThinningKernel", StreamName=""):
149  acc = ComponentAccumulator()
150 
151  # ====================================================================
152  # THINNING TOOLS
153  # ====================================================================
154  thinningTools = []
155 
156  # MC truth thinning
157  if flags.Input.isMC:
158  from DerivationFrameworkInDet.InDetToolsConfig import (
159  IDTRKVALIDTruthThinningToolCfg)
160  thinningTools.append(acc.getPrimaryAndMerge(
161  IDTRKVALIDTruthThinningToolCfg(flags, StreamName=StreamName)))
162 
163  acc.addEventAlgo(CompFactory.DerivationFramework.DerivationKernel(
164  name,
165  AugmentationTools=[],
166  ThinningTools=thinningTools,
167  OutputLevel=INFO))
168  return acc
169 
170 
171 def IDTRKVALIDKernelCfg(flags, StreamName=""):
172  """Configure the derivation framework driving algorithm (kernel) for IDTRKVALID"""
173  acc = ComponentAccumulator()
174 
175  IDTRKVALIDSequenceName='IDTRKVALIDSequence'
176  acc.addSequence(seqAND(IDTRKVALIDSequenceName))
177 
178  acc.merge(IDTRKVALIDKernelCommonCfg(flags),
179  sequenceName=IDTRKVALIDSequenceName)
180 
182  sequenceName=IDTRKVALIDSequenceName)
183 
184  from InDetConfig.InDetPrepRawDataToxAODConfig import InDetPrepDataToxAODCfg
185  acc.merge(InDetPrepDataToxAODCfg(flags),
186  sequenceName=IDTRKVALIDSequenceName)
187 
188  from DerivationFrameworkInDet.InDetToolsConfig import DFInDetTSOSKernelCfg
189  acc.merge(DFInDetTSOSKernelCfg(flags),
190  sequenceName=IDTRKVALIDSequenceName)
191 
192  acc.merge(IDTRKVALIDThinningKernelCfg(flags, StreamName=StreamName),
193  sequenceName=IDTRKVALIDSequenceName)
194 
195  return acc
196 
197 def ITkTRKVALIDKernelCfg(flags, StreamName=""):
198  """Configure the derivation framework driving algorithm (kernel) for IDTRKVALID"""
199  acc = ComponentAccumulator()
200 
201  IDTRKVALIDSequenceName='IDTRKVALIDSequence'
202  acc.addSequence(seqAND(IDTRKVALIDSequenceName))
203 
204  acc.merge(IDTRKVALIDKernelCommonCfg(flags),
205  sequenceName=IDTRKVALIDSequenceName)
206 
208  sequenceName=IDTRKVALIDSequenceName)
209 
210  from InDetConfig.InDetPrepRawDataToxAODConfig import ITkPrepDataToxAODCfg
211  acc.merge(ITkPrepDataToxAODCfg(flags),
212  sequenceName=IDTRKVALIDSequenceName)
213 
214  # if the flags.Tracking.writeExtendedSi_PRDInfo is enabled
215  # the TSOS_CommonKernelCfg( is scheduled, which would do the same
216  # augemntation as the (DFITkTSOSKernel
217  if not flags.Tracking.writeExtendedSi_PRDInfo:
218  from DerivationFrameworkInDet.InDetToolsConfig import DFITkTSOSKernelCfg
219  acc.merge(DFITkTSOSKernelCfg(flags),
220  sequenceName=IDTRKVALIDSequenceName)
221 
222  acc.merge(IDTRKVALIDThinningKernelCfg(flags, StreamName=StreamName),
223  sequenceName=IDTRKVALIDSequenceName)
224 
225  return acc
226 
227 # Main config
228 def IDTRKVALIDCfg(flags):
229  """Main config fragment for IDTRKVALID"""
230  acc = ComponentAccumulator()
231 
232  # Main algorithm (kernel)
233  if flags.Detector.GeometryID:
234  acc.merge(IDTRKVALIDKernelCfg(flags, StreamName = 'StreamDAOD_IDTRKVALID'))
235  if flags.Detector.GeometryITk:
236  acc.merge(ITkTRKVALIDKernelCfg(flags, StreamName = 'StreamDAOD_IDTRKVALID'))
237 
238  # =============================
239  # Define contents of the format
240  # =============================
241  from OutputStreamAthenaPool.OutputStreamConfig import OutputStreamCfg
242  from xAODMetaDataCnv.InfileMetaDataConfig import SetupMetaDataForStreamCfg
243  from DerivationFrameworkCore.SlimmingHelper import SlimmingHelper
244  IDTRKVALIDSlimmingHelper = SlimmingHelper(
245  "IDTRKVALIDSlimmingHelper",
246  NamesAndTypes = flags.Input.TypedCollections,
247  flags = flags)
248 
249  AllVariables = []
250  StaticContent = []
251  SmartCollections = []
252  ExtraVariables = []
253 
254  IDTRKVALIDSlimmingHelper.AppendToDictionary.update({
255  "EventInfo": "xAOD::EventInfo", "EventInfoAux": "xAOD::EventAuxInfo",
256  "Muons": "xAOD::MuonContainer", "MuonsAux": "xAOD::MuonAuxContainer",
257  "Electrons": "xAOD::ElectronContainer",
258  "ElectronsAux": "xAOD::ElectronAuxContainer",
259  "Photons": "xAOD::PhotonContainer",
260  "PhotonsAux": "xAOD::PhotonAuxContainer",
261  "JetETMissNeutralParticleFlowObjects": "xAOD::FlowElementContainer",
262  "JetETMissNeutralParticleFlowObjectsAux": "xAOD::FlowElementAuxContainer",
263  "JetETMissChargedParticleFlowObjects": "xAOD::FlowElementContainer",
264  "JetETMissChargedParticleFlowObjectsAux": "xAOD::FlowElementAuxContainer",
265  "TauJets": "xAOD::TauJetContainer",
266  "TauJetsAux": "xAOD::TauJetAuxContainer",
267  "InDetTrackParticles": "xAOD::TrackParticleContainer",
268  "InDetTrackParticlesAux": "xAOD::TrackParticleAuxContainer",
269  "InDetLargeD0TrackParticles": "xAOD::TrackParticleContainer",
270  "InDetLargeD0TrackParticlesAux": "xAOD::TrackParticleAuxContainer",
271  "Kt4EMTopoOriginEventShape": "xAOD::EventShape",
272  "Kt4EMTopoOriginEventShapeAux": "xAOD::EventShapeAuxInfo",
273  "Kt4LCTopoOriginEventShape": "xAOD::EventShape",
274  "Kt4LCTopoOriginEventShapeAux": "xAOD::EventShapeAuxInfo",
275  "NeutralParticleFlowIsoCentralEventShape": "xAOD::EventShape",
276  "NeutralParticleFlowIsoCentralEventShapeAux": "xAOD::EventShapeAuxInfo",
277  "NeutralParticleFlowIsoForwardEventShape": "xAOD::EventShape",
278  "NeutralParticleFlowIsoForwardEventShapeAux": "xAOD::EventShapeAuxInfo",
279  "TopoClusterIsoCentralEventShape": "xAOD::EventShape",
280  "TopoClusterIsoCentralEventShapeAux": "xAOD::EventShapeAuxInfo",
281  "TopoClusterIsoForwardEventShape": "xAOD::EventShape",
282  "TopoClusterIsoForwardEventShapeAux": "xAOD::EventShapeAuxInfo",
283  "MET_Calo": "xAOD::MissingETContainer",
284  "MET_CaloAux": "xAOD::MissingETAuxContainer",
285  "MET_Track": "xAOD::MissingETContainer",
286  "MET_TrackAux": "xAOD::MissingETAuxContainer",
287  "MET_LocHadTopo": "xAOD::MissingETContainer",
288  "MET_LocHadTopoRegions": "xAOD::MissingETContainer",
289  "MET_LocHadTopoAux": "xAOD::MissingETAuxContainer",
290  "MET_LocHadTopoRegionsAux": "xAOD::MissingETAuxContainer",
291  "MET_Core_AntiKt4LCTopo": "xAOD::MissingETContainer",
292  "MET_Reference_AntiKt4LCTopo": "xAOD::MissingETContainer",
293  "MET_Core_AntiKt4LCTopoAux": "xAOD::MissingETAuxContainer",
294  "MET_Reference_AntiKt4LCTopoAux": "xAOD::MissingETAuxContainer"})
295 
296  if flags.Detector.GeometryID:
297  if flags.InDet.DAODStorePixel:
298  IDTRKVALIDSlimmingHelper.AppendToDictionary.update({
299  "PixelClusters": "xAOD::TrackMeasurementValidationContainer",
300  "PixelClustersAux": "xAOD::TrackMeasurementValidationAuxContainer",
301  "PixelMSOSs": "xAOD::TrackStateValidationContainer",
302  "PixelMSOSsAux": "xAOD::TrackStateValidationAuxContainer"
303  })
304  if flags.InDet.DAODStoreSCT:
305  IDTRKVALIDSlimmingHelper.AppendToDictionary.update({
306  "SCT_Clusters": "xAOD::TrackMeasurementValidationContainer",
307  "SCT_ClustersAux": "xAOD::TrackMeasurementValidationAuxContainer",
308  "SCT_MSOSs": "xAOD::TrackStateValidationContainer",
309  "SCT_MSOSsAux": "xAOD::TrackStateValidationAuxContainer"
310  })
311 
312  if flags.Detector.GeometryITk:
313  if flags.ITk.DAODStorePixel:
314  IDTRKVALIDSlimmingHelper.AppendToDictionary.update({
315  "ITkPixelClusters": "xAOD::TrackMeasurementValidationContainer",
316  "ITkPixelClustersAux": "xAOD::TrackMeasurementValidationAuxContainer",
317  "ITkPixelMSOSs": "xAOD::TrackStateValidationContainer",
318  "ITkPixelMSOSsAux": "xAOD::TrackStateValidationAuxContainer"
319  })
320  if flags.ITk.DAODStoreStrip:
321  IDTRKVALIDSlimmingHelper.AppendToDictionary.update({
322  "ITkStripClusters": "xAOD::TrackMeasurementValidationContainer",
323  "ITkStripClustersAux": "xAOD::TrackMeasurementValidationAuxContainer",
324  "ITkStripMSOSs": "xAOD::TrackStateValidationContainer",
325  "ITkStripMSOSsAux": "xAOD::TrackStateValidationAuxContainer"
326  })
327 
328  SmartCollections += ["Muons", "Electrons", "Photons"]
329 
330  AllVariables += ["EventInfo",
331  "JetETMissNeutralParticleFlowObjects",
332  "JetETMissChargedParticleFlowObjects",
333  "InDetTrackParticles",
334  "InDetLargeD0TrackParticles",
335  "Kt4EMTopoOriginEventShape",
336  "Kt4LCTopoOriginEventShape",
337  "NeutralParticleFlowIsoCentralEventShape",
338  "NeutralParticleFlowIsoForwardEventShape",
339  "TopoClusterIsoCentralEventShape",
340  "TopoClusterIsoForwardEventShape"]
341 
342  if flags.Detector.GeometryID:
343  if flags.InDet.DAODStorePixel:
344  AllVariables += ["PixelClusters","PixelMSOSs"]
345  if flags.InDet.DAODStoreSCT:
346  AllVariables += ["SCT_Clusters","SCT_MSOSs"]
347  if flags.Detector.GeometryITk:
348  if flags.ITk.DAODStorePixel:
349  AllVariables += ["ITkPixelClusters","ITkPixelMSOSs"]
350  if flags.ITk.DAODStoreStrip:
351  AllVariables += ["ITkStripClusters","ITkStripMSOSs"]
352 
353  IDTRKVALIDSlimmingHelper.AppendToDictionary.update({
354  "TauJets": "xAOD::TauJetContainer",
355  "TauJetsAux": "xAOD::TauJetAuxContainer",
356  "Kt4EMPFlowEventShape": "xAOD::EventShape",
357  "Kt4EMPFlowEventShapeAux": "xAOD::EventShapeAuxInfo",
358  "PrimaryVertices": "xAOD::VertexContainer",
359  "PrimaryVerticesAux": "xAOD::VertexAuxContainer",
360  "AntiKt4EMTopoJets": "xAOD::JetContainer",
361  "AntiKt4EMTopoJetsAux": "xAOD::JetAuxContainer",
362  "AntiKt4EMPFlowJets": "xAOD::JetContainer",
363  "AntiKt4EMPFlowJetsAux": "xAOD::JetAuxContainer",
364  "BTagging_AntiKt4EMTopo": "xAOD::BTaggingContainer",
365  "BTagging_AntiKt4EMTopoAux": "xAOD::BTaggingAuxContainer",
366  "BTagging_AntiKt4EMPFlow": "xAOD::BTaggingContainer",
367  "BTagging_AntiKt4EMPFlowAux": "xAOD::BTaggingAuxContainer"})
368 
369  ExtraVariables += ["TauJets.ABS_ETA_LEAD_TRACK.ClusterTotalEnergy.ClustersMeanCenterLambda.ClustersMeanEMProbability.ClustersMeanFirstEngDens.ClustersMeanPresamplerFrac.ClustersMeanSecondLambda.EMFRACTIONATEMSCALE_MOVEE3.EMFracFixed.GhostMuonSegmentCount.LeadClusterFrac.NNDecayMode.NNDecayModeProb_1p0n.NNDecayModeProb_1p1n.NNDecayModeProb_1pXn.NNDecayModeProb_3p0n.NNDecayModeProb_3pXn.PFOEngRelDiff.PanTau_DecayModeExtended.TAU_ABSDELTAETA.TAU_ABSDELTAPHI.TAU_SEEDTRK_SECMAXSTRIPETOVERPT.UpsilonCluster.absipSigLeadTrk.chargedFELinks.etHotShotDR1.etHotShotDR1OverPtLeadTrk.etHotShotWin.etHotShotWinOverPtLeadTrk.etaCombined.hadLeakFracFixed.leadTrackProbHT.mCombined.mu.nConversionTracks.nFakeTracks.nModifiedIsolationTracks.nVtxPU.neutralFELinks.passThinning.phiCombined.ptCombined.ptIntermediateAxisEM.rho"]
370  ExtraVariables += ["PrimaryVertices.sumPt2.x.y.z"]
371 
372  AllVariables += ["Kt4EMPFlowEventShape",
373  "AntiKt4EMTopoJets", "AntiKt4EMPFlowJets",
374  "BTagging_AntiKt4EMTopo", "BTagging_AntiKt4EMPFlow"]
375 
376  if flags.Input.isMC:
377  IDTRKVALIDSlimmingHelper.AppendToDictionary.update({
378  "AntiKt4TruthJets": "xAOD::JetContainer",
379  "AntiKt4TruthJetsAux": "xAOD::JetAuxContainer",
380  "JetInputTruthParticles": "xAOD::TruthParticleContainer",
381  "JetInputTruthParticlesNoWZ": "xAOD::TruthParticleContainer",
382  "TruthEvents": "xAOD::TruthEventContainer",
383  "TruthEventsAux": "xAOD::TruthEventAuxContainer",
384  "TruthParticles": "xAOD::TruthParticleContainer",
385  "TruthParticlesAux": "xAOD::TruthParticleAuxContainer",
386  "egammaTruthParticles": "xAOD::TruthParticleContainer",
387  "egammaTruthParticlesAux": "xAOD::TruthParticleAuxContainer",
388  "MuonTruthParticles": "xAOD::TruthParticleContainer",
389  "MuonTruthParticlesAux": "xAOD::TruthParticleAuxContainer",
390  "LRTegammaTruthParticles": "xAOD::TruthParticleContainer",
391  "LRTegammaTruthParticlesAux": "xAOD::TruthParticleAuxContainer",
392  "TruthVertices": "xAOD::TruthVertexContainer",
393  "TruthVerticesAux": "xAOD::TruthVertexAuxContainer",
394  "MET_Truth": "xAOD::MissingETContainer",
395  "MET_TruthRegions": "xAOD::MissingETContainer",
396  "MET_TruthAux": "xAOD::MissingETAuxContainer",
397  "MET_TruthRegionsAux": "xAOD::MissingETAuxContainer"})
398 
399  AllVariables += ["AntiKt4TruthJets",
400  "JetInputTruthParticles",
401  "JetInputTruthParticlesNoWZ",
402  "TruthEvents",
403  "TruthParticles",
404  "egammaTruthParticles",
405  "MuonTruthParticles",
406  "LRTegammaTruthParticles",
407  "TruthVertices"]
408 
409  list_aux = ["BHadronsFinal", "BHadronsInitial", "BQuarksFinal",
410  "CHadronsFinal", "CHadronsInitial", "CQuarksFinal",
411  "HBosons", "Partons", "TQuarksFinal", "TausFinal",
412  "WBosons", "ZBosons"]
413  for item in list_aux:
414  label = "TruthLabel"+item
415  labelAux = label+"Aux"
416  IDTRKVALIDSlimmingHelper.AppendToDictionary.update(
417  {label: "xAOD::TruthParticleContainer",
418  labelAux: "xAOD::TruthParticleAuxContainer"})
419  AllVariables += [label]
420  # End of isMC block
421 
422  # Trigger info is actually stored only when running on data...
423  IDTRKVALIDSlimmingHelper.IncludeTriggerNavigation = True
424  IDTRKVALIDSlimmingHelper.IncludeAdditionalTriggerContent = True
425 
426  IDTRKVALIDSlimmingHelper.AllVariables = AllVariables
427  IDTRKVALIDSlimmingHelper.StaticContent = StaticContent
428  IDTRKVALIDSlimmingHelper.SmartCollections = SmartCollections
429  IDTRKVALIDSlimmingHelper.ExtraVariables = ExtraVariables
430 
431  # Output stream
432  IDTRKVALIDItemList = IDTRKVALIDSlimmingHelper.GetItemList()
433  acc.merge(OutputStreamCfg(flags, "DAOD_IDTRKVALID",
434  ItemList=IDTRKVALIDItemList, AcceptAlgs=["IDTRKVALIDKernel"]))
435 
436  acc.merge(SetupMetaDataForStreamCfg(
437  flags, "DAOD_IDTRKVALID", AcceptAlgs=["IDTRKVALIDKernel"],
438  createMetadata=[MetadataCategory.CutFlowMetaData]))
439 
440  return acc
python.IDTRKVALID.IDTRKVALID_ANDToolCfg
def IDTRKVALID_ANDToolCfg(flags, name='IDTRKVALID_ANDTool')
Definition: IDTRKVALID.py:38
python.InDetPrepRawDataToxAODConfig.InDetPrepDataToxAODCfg
def InDetPrepDataToxAODCfg(flags)
Definition: InDetPrepRawDataToxAODConfig.py:204
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.OutputStreamConfig.OutputStreamCfg
def OutputStreamCfg(flags, streamName, ItemList=[], MetadataItemList=[], disableEventTag=False, trigNavThinningSvc=None, takeItemsFromInput=False, extendProvenanceRecord=True, AcceptAlgs=[], HelperTools=[])
Definition: OutputStreamConfig.py:12
python.PixelNtupleMakerConfig.EventInfoPixelModuleStatusMonitoringCfg
def EventInfoPixelModuleStatusMonitoringCfg(flags, name="EventInfoPixelModuleStatusMonitoring", **kwargs)
Definition: PixelNtupleMakerConfig.py:23
python.DerivationFrameworkToolsConfig.FilterCombinationANDCfg
def FilterCombinationANDCfg(ConfigFlags, name, **kwargs)
Definition: DerivationFrameworkToolsConfig.py:59
python.InDetToolsConfig.TrackParametersAtPVCfg
def TrackParametersAtPVCfg(flags, name, **kwargs)
Definition: InDetToolsConfig.py:399
python.InDetToolsConfig.DFInDetTSOSKernelCfg
def DFInDetTSOSKernelCfg(flags, name='DFInDetTSOSKernel')
Definition: InDetToolsConfig.py:142
python.IDTRKVALID.ITkTRKVALIDKernelCfg
def ITkTRKVALIDKernelCfg(flags, StreamName="")
Definition: IDTRKVALID.py:197
python.DerivationFrameworkToolsConfig.InvariantMassToolCfg
def InvariantMassToolCfg(ConfigFlags, name, **kwargs)
Invariant mass tool config.
Definition: DerivationFrameworkToolsConfig.py:44
python.CFElements.seqAND
def seqAND(name, subs=[])
Definition: CFElements.py:25
python.InDetToolsConfig.TrackToVertexWrapperCfg
def TrackToVertexWrapperCfg(flags, name, **kwargs)
Definition: InDetToolsConfig.py:590
python.IDTRKVALID.IDTRKVALID_PixelModuleStatus_KernelCfg
def IDTRKVALID_PixelModuleStatus_KernelCfg(flags, name='IDTRKVALID_PixelModuleStatus_Kernel')
Definition: IDTRKVALID.py:120
Constants
some useful constants -------------------------------------------------—
python.DerivationFrameworkToolsConfig.xAODStringSkimmingToolCfg
def xAODStringSkimmingToolCfg(ConfigFlags, name, **kwargs)
Definition: DerivationFrameworkToolsConfig.py:29
python.InDetToolsConfig.IDTRKVALIDTruthThinningToolCfg
def IDTRKVALIDTruthThinningToolCfg(flags, name="IDTRKVALIDTruthThinningTool", **kwargs)
Definition: InDetToolsConfig.py:632
python.IDTRKVALID.IDTRKVALIDThinningKernelCfg
def IDTRKVALIDThinningKernelCfg(flags, name="IDTRKVALIDThinningKernel", StreamName="")
Definition: IDTRKVALID.py:147
python.PixelNtupleMakerConfig.ITkEventInfoPixelModuleStatusMonitoringCfg
def ITkEventInfoPixelModuleStatusMonitoringCfg(flags, name="ITkEventInfoPixelModuleStatusMonitoring", **kwargs)
Definition: PixelNtupleMakerConfig.py:46
python.InDetPrepRawDataToxAODConfig.ITkPrepDataToxAODCfg
def ITkPrepDataToxAODCfg(flags)
Definition: InDetPrepRawDataToxAODConfig.py:222
python.IDTRKVALID.IDTRKVALIDKernelCommonCfg
def IDTRKVALIDKernelCommonCfg(flags, name='IDTRKVALIDKernel')
Definition: IDTRKVALID.py:69
UsedInVertexFitTrackDecoratorConfig.UsedInVertexFitTrackDecoratorCfg
def UsedInVertexFitTrackDecoratorCfg(flags, trackCont='InDetTrackParticles', vtxCont='PrimaryVertices')
Definition: UsedInVertexFitTrackDecoratorConfig.py:32
python.IDTRKVALID.IDTRKVALIDCfg
def IDTRKVALIDCfg(flags)
Definition: IDTRKVALID.py:228
python.InDetToolsConfig.DFITkTSOSKernelCfg
def DFITkTSOSKernelCfg(flags, name='DFITkTSOSKernel')
Definition: InDetToolsConfig.py:331
InfileMetaDataConfig.SetupMetaDataForStreamCfg
def SetupMetaDataForStreamCfg(flags, streamName="", AcceptAlgs=None, createMetadata=None, propagateMetadataFromInput=True, *args, **kwargs)
Definition: InfileMetaDataConfig.py:222
SlimmingHelper
Definition: SlimmingHelper.py:1
python.IDTRKVALID.IDTRKVALIDKernelCfg
def IDTRKVALIDKernelCfg(flags, StreamName="")
Definition: IDTRKVALID.py:171
python.IDTRKVALID.IDTRKVALID_ITkPixelModuleStatus_KernelCfg
def IDTRKVALID_ITkPixelModuleStatus_KernelCfg(flags, name='IDTRKVALID_ITkPixelModuleStatus_Kernel')
Definition: IDTRKVALID.py:133