10 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
11 from AthenaConfiguration.ComponentFactory
import CompFactory
12 from AthenaConfiguration.Enums
import MetadataCategory
13 from GoodRunsLists.GoodRunsListsDictionary
import getGoodRunsLists
18 """do the CP algorithm configuration for PHYSLITE"""
20 from AthenaCommon.Logging
import logging
21 logPLCPAlgCfg = logging.getLogger(
'PLCPAlgCfg')
22 logPLCPAlgCfg.info(
'****************** STARTING PHYSLITE CPAlgorithmsCfg *****************')
24 forceEGammaFullSimConfig =
False
25 if not flags.Sim.ISF.Simulator.isFullSim():
26 logPLCPAlgCfg.warning(
"Forcing full simulation configuration for EGamma algorithms. This is not recommended for fast simulation but no recommendations available yet.")
27 forceEGammaFullSimConfig =
True
29 from AnalysisAlgorithmsConfig.ConfigFactory
import ConfigFactory
30 from AnalysisAlgorithmsConfig.ConfigSequence
import ConfigSequence
31 configSeq = ConfigSequence ()
34 factory = ConfigFactory()
37 subConfig = factory.makeConfig (
'CommonServices')
38 subConfig.setOptionValue (
'.runSystematics',
False)
39 configSeq += subConfig
44 configSeq += factory.makeConfig (
'PileupReweighting')
47 configSeq += factory.makeConfig (
'EventCleaning')
48 configSeq.setOptionValue (
'.noFilter',
True)
53 logPLCPAlgCfg.info(
'Do Muons')
55 subConfig = factory.makeConfig (
'Muons', containerName=
'AnalysisMuons')
56 configSeq += subConfig
57 subConfig = factory.makeConfig (
'Muons.WorkingPoint', containerName=
'AnalysisMuons',
58 selectionName=
'loose')
59 subConfig.setOptionValue (
'.trackSelection',
False)
60 subConfig.setOptionValue (
'.quality',
'Loose')
61 subConfig.setOptionValue (
'.isolation',
'NonIso')
62 configSeq += subConfig
63 subConfig = factory.makeConfig (
'Thinning', containerName=
'AnalysisMuons')
64 subConfig.setOptionValue (
'.selectionName',
'loose')
65 subConfig.setOptionValue (
'.deepCopy',
True)
66 subConfig.setOptionValue (
'.sortPt',
True)
67 subConfig.setOptionValue (
'.noUniformSelection',
True)
68 configSeq += subConfig
72 logPLCPAlgCfg.info(
'Do Electrons')
74 subConfig = factory.makeConfig (
'Electrons', containerName=
'AnalysisElectrons')
75 subConfig.setOptionValue (
'.forceFullSimConfig', forceEGammaFullSimConfig)
76 subConfig.setOptionValue (
'.isolationCorrection',
True)
77 subConfig.setOptionValue (
'.minPt', 0.)
78 configSeq += subConfig
79 subConfig = factory.makeConfig (
'Electrons.WorkingPoint', containerName=
'AnalysisElectrons',
80 selectionName=
'loose')
81 subConfig.setOptionValue (
'.trackSelection',
False)
82 subConfig.setOptionValue (
'.identificationWP',
'LooseLHElectron')
83 subConfig.setOptionValue (
'.isolationWP',
'NonIso')
84 subConfig.setOptionValue (
'.doFSRSelection',
True)
85 subConfig.setOptionValue (
'.noEffSF',
True)
86 configSeq += subConfig
87 subConfig = factory.makeConfig (
'Thinning', containerName=
'AnalysisElectrons')
88 subConfig.setOptionValue (
'.selectionName',
'loose')
89 subConfig.setOptionValue (
'.deepCopy',
True)
90 subConfig.setOptionValue (
'.sortPt',
True)
91 subConfig.setOptionValue (
'.noUniformSelection',
True)
92 configSeq += subConfig
95 subConfig = factory.makeConfig (
'Electrons', containerName=
'AnalysisSiHitElectrons')
96 subConfig.setOptionValue (
'.forceFullSimConfig', forceEGammaFullSimConfig)
97 subConfig.setOptionValue (
'.isolationCorrection',
True)
98 subConfig.setOptionValue (
'.minPt', 0.)
99 subConfig.setOptionValue (
'.postfix',
'SiHit')
100 configSeq += subConfig
101 subConfig = factory.makeConfig (
'Electrons.WorkingPoint', containerName=
'AnalysisSiHitElectrons', selectionName=
'SiHits')
102 subConfig.setOptionValue (
'.trackSelection',
False)
103 subConfig.setOptionValue (
'.identificationWP',
'SiHitElectron')
104 subConfig.setOptionValue (
'.isolationWP',
'NonIso')
105 subConfig.setOptionValue (
'.doFSRSelection',
True)
106 subConfig.setOptionValue (
'.noEffSF',
True)
107 subConfig.setOptionValue (
'.postfix',
'SiHit')
108 configSeq += subConfig
109 subConfig = factory.makeConfig (
'Thinning', containerName=
'AnalysisSiHitElectrons')
110 subConfig.setOptionValue (
'.selectionName',
'SiHits')
111 subConfig.setOptionValue (
'.deepCopy',
True)
112 subConfig.setOptionValue (
'.sortPt',
True)
113 subConfig.setOptionValue (
'.noUniformSelection',
True)
114 configSeq += subConfig
118 logPLCPAlgCfg.info(
'Do Photons')
120 subConfig = factory.makeConfig (
'Photons', containerName=
'AnalysisPhotons')
121 subConfig.setOptionValue (
'.forceFullSimConfig', forceEGammaFullSimConfig)
122 subConfig.setOptionValue (
'.recomputeIsEM',
False)
123 subConfig.setOptionValue (
'.minPt', 0.)
124 configSeq += subConfig
125 subConfig = factory.makeConfig (
'Photons.WorkingPoint', containerName=
'AnalysisPhotons',
126 selectionName=
'loose')
127 subConfig.setOptionValue (
'.qualityWP',
'Loose')
128 subConfig.setOptionValue (
'.isolationWP',
'NonIso')
129 subConfig.setOptionValue (
'.doFSRSelection',
True)
130 subConfig.setOptionValue (
'.recomputeIsEM',
False)
131 subConfig.setOptionValue (
'.noEffSF',
True)
132 configSeq += subConfig
133 subConfig = factory.makeConfig (
'Thinning', containerName=
'AnalysisPhotons')
134 subConfig.setOptionValue (
'.selectionName',
'loose')
135 subConfig.setOptionValue (
'.deepCopy',
True)
136 subConfig.setOptionValue (
'.sortPt',
True)
137 subConfig.setOptionValue (
'.noUniformSelection',
True)
138 configSeq += subConfig
144 subConfig = factory.makeConfig (
'TauJets', containerName=
'AnalysisTauJets')
145 configSeq += subConfig
146 subConfig = factory.makeConfig (
'TauJets.WorkingPoint', containerName=
'AnalysisTauJets',
147 selectionName=
'baseline')
148 subConfig.setOptionValue (
'.quality',
'Baseline')
149 configSeq += subConfig
150 subConfig = factory.makeConfig (
'Thinning', containerName=
'AnalysisTauJets')
151 subConfig.setOptionValue (
'.selectionName',
'baseline')
152 subConfig.setOptionValue (
'.deepCopy',
True)
153 subConfig.setOptionValue (
'.sortPt',
True)
154 subConfig.setOptionValue (
'.noUniformSelection',
True)
155 configSeq += subConfig
158 jetContainer =
'AntiKt4EMPFlowJets'
159 subConfig = factory.makeConfig (
'Jets', containerName=
'AnalysisJets',
160 jetCollection=jetContainer)
161 subConfig.setOptionValue (
'.runFJvtUpdate',
False)
162 subConfig.setOptionValue (
'.runFJvtSelection',
False)
163 subConfig.setOptionValue (
'.runJvtSelection',
False)
164 configSeq += subConfig
165 subConfig = factory.makeConfig (
'Thinning', containerName=
'AnalysisJets')
166 subConfig.setOptionValue (
'.deepCopy',
True)
167 subConfig.setOptionValue (
'.sortPt',
True)
168 subConfig.setOptionValue (
'.noUniformSelection',
True)
169 configSeq += subConfig
171 largeRjetContainer=
'AntiKt10UFOCSSKSoftDropBeta100Zcut10Jets'
172 subConfig = factory.makeConfig (
'Jets', containerName=
'AnalysisLargeRJets',
173 jetCollection=largeRjetContainer)
174 subConfig.setOptionValue (
'.runGhostMuonAssociation',
False)
175 configSeq += subConfig
176 subConfig = factory.makeConfig (
'Thinning', containerName=
'AnalysisLargeRJets')
177 subConfig.setOptionValue (
'.deepCopy',
True)
178 subConfig.setOptionValue (
'.sortPt',
True)
179 subConfig.setOptionValue (
'.noUniformSelection',
True)
180 configSeq += subConfig
182 from AnalysisAlgorithmsConfig.ConfigAccumulator
import ConfigAccumulator
183 configAccumulator = ConfigAccumulator (dataType=
None, algSeq=
None,
184 autoconfigFromFlags=flags, noSysSuffix=
True, noSystematics=
True)
185 configSeq.fullConfigure (configAccumulator)
186 return configAccumulator.CA
192 """Configure the derivation framework driving algorithm (kernel) for PHYSLITE"""
197 if 'StreamAOD' in flags.Input.ProcessingTags:
199 from DerivationFrameworkPhys.PhysCommonConfig
import PhysCommonAugmentationsCfg
206 thinningToolsArgs = {
207 'ElectronCaloClusterThinningToolName' :
"PHYSLITEElectronCaloClusterThinningTool",
208 'PhotonCaloClusterThinningToolName' :
"PHYSLITEPhotonCaloClusterThinningTool",
209 'ElectronGSFTPThinningToolName' :
"PHYSLITEElectronGSFTPThinningTool",
210 'PhotonGSFTPThinningToolName' :
"PHYSLITEPhotonGSFTPThinningTool"
213 if 'StreamAOD' in flags.Input.ProcessingTags:
214 thinningToolsArgs.update({
215 'TrackParticleThinningToolName' :
"PHYSLITETrackParticleThinningTool",
216 'MuonTPThinningToolName' :
"PHYSLITEMuonTPThinningTool",
217 'TauJetThinningToolName' :
"PHYSLITETauJetThinningTool",
218 'TauJets_MuonRMThinningToolName' :
"PHYSLITETauJets_MuonRMThinningTool",
219 'DiTauTPThinningToolName' :
"PHYSLITEDiTauTPThinningTool",
220 'DiTauLowPtThinningToolName' :
"PHYSLITEDiTauLowPtThinningTool",
221 'DiTauLowPtTPThinningToolName' :
"PHYSLITEDiTauLowPtTPThinningTool",
224 from DerivationFrameworkPhys.PhysCommonThinningConfig
import PhysCommonThinningCfg
228 for key
in thinningToolsArgs:
229 thinningTools.append(acc.getPublicTool(thinningToolsArgs[key]))
236 if 'StreamAOD' in flags.Input.ProcessingTags:
239 from DerivationFrameworkHiggs.HiggsPhysContent
import HiggsAugmentationAlgsCfg
243 from IsolationSelection.IsolationSelectionConfig
import IsoCloseByAlgsCfg
260 if 'StreamAOD' in flags.Input.ProcessingTags:
261 from METReconstruction.METAssocCfg
import AssocConfig, METAssocConfig
262 from METReconstruction.METAssociatorCfg
import getAssocCA
263 associators = [AssocConfig(
'PFlowJet',
'AnalysisJets'),
264 AssocConfig(
'Muon',
'AnalysisMuons'),
265 AssocConfig(
'Ele',
'AnalysisElectrons'),
266 AssocConfig(
'Gamma',
'AnalysisPhotons'),
267 AssocConfig(
'Tau',
'AnalysisTauJets'),
268 AssocConfig(
'Soft',
'')]
269 PHYSLITE_cfg = METAssocConfig(
'AnalysisMET',
274 components_PHYSLITE_cfg =
getAssocCA(PHYSLITE_cfg,METName=
'AnalysisMET')
275 acc.merge(components_PHYSLITE_cfg)
276 elif 'StreamDAOD_PHYS' in flags.Input.ProcessingTags:
277 from DerivationFrameworkJetEtMiss.METCommonConfig
import METRemappingCfg
280 acc.merge(METRemap_cfg)
283 DerivationKernel = CompFactory.DerivationFramework.DerivationKernel
297 from DerivationFrameworkPhys.TriggerListsHelper
import TriggerListsHelper
298 PHYSLITETriggerListsHelper = TriggerListsHelper(flags)
301 streamName =
'StreamDAOD_PHYSLITE' if 'StreamAOD' in flags.Input.ProcessingTags
else 'StreamD2AOD_PHYSLITE'
304 acc.merge(
PHYSLITEKernelCfg(flags, name=
"PHYSLITEKernel", StreamName = streamName, TriggerListsHelper = PHYSLITETriggerListsHelper))
309 from OutputStreamAthenaPool.OutputStreamConfig
import OutputStreamCfg
310 from xAODMetaDataCnv.InfileMetaDataConfig
import SetupMetaDataForStreamCfg
311 from DerivationFrameworkCore.SlimmingHelper
import SlimmingHelper
313 PHYSLITESlimmingHelper =
SlimmingHelper(
"PHYSLITESlimmingHelper", NamesAndTypes = flags.Input.TypedCollections, flags = flags)
314 PHYSLITESlimmingHelper.ExtraVariables = []
316 PHYSLITESlimmingHelper.IncludeTriggerNavigation =
False
317 PHYSLITESlimmingHelper.IncludeJetTriggerContent =
False
318 PHYSLITESlimmingHelper.IncludeMuonTriggerContent =
False
319 PHYSLITESlimmingHelper.IncludeEGammaTriggerContent =
False
320 PHYSLITESlimmingHelper.IncludeTauTriggerContent =
False
321 PHYSLITESlimmingHelper.IncludeEtMissTriggerContent =
False
322 PHYSLITESlimmingHelper.IncludeBJetTriggerContent =
False
323 PHYSLITESlimmingHelper.IncludeBPhysTriggerContent =
False
324 PHYSLITESlimmingHelper.IncludeMinBiasTriggerContent =
False
328 if flags.Trigger.EDMVersion == 2:
330 from DerivationFrameworkPhys.TriggerMatchingCommonConfig
import TriggerMatchingCommonRun2Cfg
332 name =
"PHYSLITETrigMatchNoTau",
333 OutputContainerPrefix =
"AnalysisTrigMatch_",
334 ChainNames = PHYSLITETriggerListsHelper.Run2TriggerNamesNoTau,
335 InputElectrons =
"AnalysisElectrons",
336 InputPhotons =
"AnalysisPhotons",
337 InputMuons =
"AnalysisMuons",
338 InputTaus =
"AnalysisTauJets"))
340 name =
"PHYSLITETrigMatchTau",
341 OutputContainerPrefix =
"AnalysisTrigMatch_",
342 ChainNames = PHYSLITETriggerListsHelper.Run2TriggerNamesTau,
344 InputElectrons =
"AnalysisElectrons",
345 InputPhotons =
"AnalysisPhotons",
346 InputMuons =
"AnalysisMuons",
347 InputTaus =
"AnalysisTauJets"))
349 from DerivationFrameworkPhys.TriggerMatchingCommonConfig
import AddRun2TriggerMatchingToSlimmingHelper
351 OutputContainerPrefix =
"AnalysisTrigMatch_",
352 TriggerList = PHYSLITETriggerListsHelper.Run2TriggerNamesTau)
354 OutputContainerPrefix =
"AnalysisTrigMatch_",
355 TriggerList = PHYSLITETriggerListsHelper.Run2TriggerNamesNoTau)
358 if flags.Trigger.EDMVersion == 3
or (flags.Trigger.EDMVersion == 2
and flags.Trigger.doEDMVersionConversion):
360 from TrigNavSlimmingMT.TrigNavSlimmingMTConfig
import AddRun3TrigNavSlimmingCollectionsToSlimmingHelper
364 PHYSLITESlimmingHelper.AppendToDictionary.update({
365 'TruthEvents':
'xAOD::TruthEventContainer',
'TruthEventsAux':
'xAOD::TruthEventAuxContainer',
366 'MET_Truth':
'xAOD::MissingETContainer',
'MET_TruthAux':
'xAOD::MissingETAuxContainer',
367 'TruthElectrons':
'xAOD::TruthParticleContainer',
'TruthElectronsAux':
'xAOD::TruthParticleAuxContainer',
368 'TruthMuons':
'xAOD::TruthParticleContainer',
'TruthMuonsAux':
'xAOD::TruthParticleAuxContainer',
369 'TruthPhotons':
'xAOD::TruthParticleContainer',
'TruthPhotonsAux':
'xAOD::TruthParticleAuxContainer',
370 'TruthTaus':
'xAOD::TruthParticleContainer',
'TruthTausAux':
'xAOD::TruthParticleAuxContainer',
371 'TruthNeutrinos':
'xAOD::TruthParticleContainer',
'TruthNeutrinosAux':
'xAOD::TruthParticleAuxContainer',
372 'TruthBSM':
'xAOD::TruthParticleContainer',
'TruthBSMAux':
'xAOD::TruthParticleAuxContainer',
373 'TruthBoson':
'xAOD::TruthParticleContainer',
'TruthBosonAux':
'xAOD::TruthParticleAuxContainer',
374 'TruthTop':
'xAOD::TruthParticleContainer',
'TruthTopAux':
'xAOD::TruthParticleAuxContainer',
375 'TruthForwardProtons':
'xAOD::TruthParticleContainer',
'TruthForwardProtonsAux':
'xAOD::TruthParticleAuxContainer',
376 'BornLeptons':
'xAOD::TruthParticleContainer',
'BornLeptonsAux':
'xAOD::TruthParticleAuxContainer',
377 'TruthBosonsWithDecayParticles':
'xAOD::TruthParticleContainer',
'TruthBosonsWithDecayParticlesAux':
'xAOD::TruthParticleAuxContainer',
378 'TruthBosonsWithDecayVertices':
'xAOD::TruthVertexContainer',
'TruthBosonsWithDecayVerticesAux':
'xAOD::TruthVertexAuxContainer',
379 'TruthBSMWithDecayParticles':
'xAOD::TruthParticleContainer',
'TruthBSMWithDecayParticlesAux':
'xAOD::TruthParticleAuxContainer',
380 'TruthBSMWithDecayVertices':
'xAOD::TruthVertexContainer',
'TruthBSMWithDecayVerticesAux':
'xAOD::TruthVertexAuxContainer',
381 'TruthPrimaryVertices':
'xAOD::TruthVertexContainer',
'TruthPrimaryVerticesAux':
'xAOD::TruthVertexAuxContainer',
382 'AnalysisElectrons':
'xAOD::ElectronContainer',
'AnalysisElectronsAux':
'xAOD::ElectronAuxContainer',
383 'AnalysisSiHitElectrons':
'xAOD::ElectronContainer',
'AnalysisSiHitElectronsAux':
'xAOD::ElectronAuxContainer',
384 'AnalysisMuons':
'xAOD::MuonContainer',
'AnalysisMuonsAux':
'xAOD::MuonAuxContainer',
385 'AnalysisJets':
'xAOD::JetContainer',
'AnalysisJetsAux':
'xAOD::AuxContainerBase',
386 'AnalysisPhotons':
'xAOD::PhotonContainer',
'AnalysisPhotonsAux':
'xAOD::PhotonAuxContainer',
387 'AnalysisTauJets':
'xAOD::TauJetContainer',
'AnalysisTauJetsAux':
'xAOD::TauJetAuxContainer',
388 'MET_Core_AnalysisMET':
'xAOD::MissingETContainer',
'MET_Core_AnalysisMETAux':
'xAOD::MissingETAuxContainer',
389 'METAssoc_AnalysisMET':
'xAOD::MissingETAssociationMap',
'METAssoc_AnalysisMETAux':
'xAOD::MissingETAuxAssociationMap',
390 'AntiKt10TruthTrimmedPtFrac5SmallR20Jets':
'xAOD::JetContainer',
'AntiKt10TruthTrimmedPtFrac5SmallR20JetsAux':
'xAOD::JetAuxContainer',
391 'AnalysisLargeRJets':
'xAOD::JetContainer',
'AnalysisLargeRJetsAux':
'xAOD::AuxContainerBase'
394 PHYSLITESlimmingHelper.SmartCollections = [
396 'InDetTrackParticles',
400 from DerivationFrameworkMuons.MuonsCommonConfig
import MuonVariablesCfg
403 from DerivationFrameworkHiggs.HiggsPhysContent
import setupHiggsSlimmingVariables
407 from DerivationFrameworkMCTruth.MCTruthCommonConfig
import addTruth3ContentToSlimmerTool
409 from DerivationFrameworkMCTruth.HFClassificationCommonConfig
import HFClassificationCommonCfg
413 btag_variables = [f
'GN2v01_p{x}' for x
in [
'b',
'c',
'u',
'tau']]
414 btag_variables += [f
'DL1dv01_p{x}' for x
in [
'b',
'c',
'u']]
415 PHYSLITESlimmingHelper.ExtraVariables += [
416 'AnalysisElectrons.trackParticleLinks.f1.pt.eta.phi.m.charge.author.DFCommonElectronsLHVeryLoose.DFCommonElectronsLHLoose.DFCommonElectronsLHLooseBL.DFCommonElectronsLHMedium.DFCommonElectronsLHTight.DFCommonElectronsLHVeryLooseIsEMValue.DFCommonElectronsLHLooseIsEMValue.DFCommonElectronsLHLooseBLIsEMValue.DFCommonElectronsLHMediumIsEMValue.DFCommonElectronsLHTightIsEMValue.DFCommonElectronsDNNLoose.DFCommonElectronsDNNMedium.DFCommonElectronsDNNTight.DFCommonElectronsDNNVeryLooseNoCF97.DFCommonElectronsDNNMediumNoCF.DFCommonElectronsDNNTightNoCF.DFCommonElectronsECIDS.DFCommonElectronsECIDSResult.topoetcone20.topoetcone20ptCorrection.neflowisol20.ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt500.ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000.ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt500.ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000.topoetcone20_CloseByCorr.ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000_CloseByCorr.ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000_CloseByCorr.caloClusterLinks.ambiguityLink.TruthLink.truthOrigin.truthType.truthPdgId.firstEgMotherTruthType.firstEgMotherTruthOrigin.firstEgMotherTruthParticleLink.firstEgMotherPdgId.ambiguityType.OQ.Eadded_Lr2.Eadded_Lr3',
417 'AnalysisSiHitElectrons.pt.eta.phi.m.charge.author.topoetcone20_CloseByCorr.DFCommonElectronsLHVeryLoose.ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000_CloseByCorr.OQ.truthOrigin.truthType.firstEgMotherTruthType.firstEgMotherTruthOrigin.z0stheta.d0Normalized.nInnerExpPix.clEta.clPhi',
418 'AnalysisPhotons.f1.pt.eta.phi.m.author.OQ.DFCommonPhotonsIsEMLoose.DFCommonPhotonsIsEMMedium.DFCommonPhotonsIsEMTight.DFCommonPhotonsIsEMTightIsEMValue.DFCommonPhotonsCleaning.DFCommonPhotonsCleaningNoTime.ptcone20.topoetcone20.topoetcone40.topoetcone20ptCorrection.topoetcone40ptCorrection.topoetcone20_CloseByCorr.topoetcone40_CloseByCorr.ptcone20_CloseByCorr.caloClusterLinks.vertexLinks.ambiguityLink.TruthLink.truthOrigin.truthType.Eadded_Lr2.Eadded_Lr3',
419 'GSFTrackParticles.chiSquared.phi.d0.theta.qOverP.definingParametersCovMatrixDiag.definingParametersCovMatrixOffDiag.z0.vz.charge.vertexLink.numberOfPixelHits.numberOfSCTHits.expectInnermostPixelLayerHit.expectNextToInnermostPixelLayerHit.numberOfInnermostPixelLayerHits.numberOfNextToInnermostPixelLayerHits.originalTrackParticle',
420 'GSFConversionVertices.trackParticleLinks.x.y.z.px.py.pz.pt1.pt2.neutralParticleLinks.minRfirstHit',
421 'egammaClusters.calE.calEta.calPhi.calM.e_sampl.eta_sampl.ETACALOFRAME.PHICALOFRAME.ETA2CALOFRAME.PHI2CALOFRAME.constituentClusterLinks',
423 'CombinedMuonTrackParticles.qOverP.d0.z0.vz.phi.theta.truthOrigin.truthType.definingParametersCovMatrixDiag.definingParametersCovMatrixOffDiag.numberOfPixelDeadSensors.numberOfPixelHits.numberOfPixelHoles.numberOfSCTDeadSensors.numberOfSCTHits.numberOfSCTHoles.numberOfTRTHits.numberOfTRTOutliers.chiSquared.numberDoF',
424 'ExtrapolatedMuonTrackParticles.d0.z0.vz.definingParametersCovMatrixDiag.definingParametersCovMatrixOffDiag.truthOrigin.truthType.qOverP.theta.phi',
425 'MuonSpectrometerTrackParticles.phi.d0.z0.vz.definingParametersCovMatrixDiag.definingParametersCovMatrixOffDiag.vertexLink.theta.qOverP',
426 'InDetForwardTrackParticles.vz.truthType.truthOrigin.numberDoF.numberOfTRTHits.numberOfSCTHoles.theta.numberOfTRTOutliers.numberOfPrecisionLayers.numberOfSCTDeadSensors.numberOfPixelHoles.numberOfSCTHits.numberOfPrecisionHoleLayers.numberOfPixelDeadSensors.phi.numberOfPixelHits.z0.d0.qOverP.chiSquared.definingParametersCovMatrixDiag.definingParametersCovMatrixOffDiag',
427 'AnalysisTauJets.pt.eta.phi.m.ptFinalCalib.etaFinalCalib.ptTauEnergyScale.etaTauEnergyScale.charge.isTauFlags.PanTau_DecayMode.NNDecayMode.RNNJetScore.RNNJetScoreSigTrans.RNNEleScore.RNNEleScoreSigTrans_v1.EleRNNLoose_v1.EleRNNMedium_v1.EleRNNTight_v1.passTATTauMuonOLR.tauTrackLinks.vertexLink.truthParticleLink.truthJetLink.IsTruthMatched.truthOrigin.truthType',
428 'AnalysisJets.pt.eta.phi.m.JetConstitScaleMomentum_pt.JetConstitScaleMomentum_eta.JetConstitScaleMomentum_phi.JetConstitScaleMomentum_m.NumTrkPt500.SumPtTrkPt500.DetectorEta.JVFCorr.NNJvtPass.NumTrkPt1000.TrackWidthPt1000.GhostMuonSegmentCount.PartonTruthLabelID.HadronConeExclExtendedTruthLabelID.HadronConeExclTruthLabelID.TrueFlavor.DFCommonJets_jetClean_LooseBad.DFCommonJets_jetClean_TightBad.Timing.btagging.btaggingLink.GhostTrack.DFCommonJets_fJvt.DFCommonJets_QGTagger_NTracks.DFCommonJets_QGTagger_TracksWidth.DFCommonJets_QGTagger_TracksC1.PSFrac.JetAccessorMap.EMFrac.Width.ActiveArea4vec_pt.ActiveArea4vec_eta.ActiveArea4vec_m.ActiveArea4vec_phi.EnergyPerSampling.SumPtChargedPFOPt500.isJvtHS',
429 '.'.
join([
'BTagging_AntiKt4EMPFlow'] + btag_variables),
430 'TruthPrimaryVertices.t.x.y.z',
431 'MET_Core_AnalysisMET.name.mpx.mpy.sumet.source',
432 'METAssoc_AnalysisMET.',
433 'InDetTrackParticles.TTVA_AMVFVertices.TTVA_AMVFWeights.numberOfTRTHits.numberOfTRTOutliers',
434 'EventInfo.RandomRunNumber.PileupWeight_NOSYS.GenFiltHT.GenFiltMET.GenFiltHTinclNu.GenFiltPTZ.GenFiltFatJ.HF_Classification.HF_SimpleClassification.{GRL_Deco_names}'.
format(GRL_Deco_names=
'.'.
join(
str(key)
for key
in (
getGoodRunsLists()).
keys())),
435 'Kt4EMPFlowEventShape.Density',
436 'Kt4EMPFlowNeutEventShape.Density',
437 'TauTracks.pt.eta.phi.flagSet.trackLinks',
438 'AnalysisLargeRJets.pt.eta.phi.m.JetConstitScaleMomentum_pt.JetConstitScaleMomentum_eta.JetConstitScaleMomentum_phi.JetConstitScaleMomentum_m.DetectorEta.TrackSumMass.TrackSumPt.constituentLinks.ECF1.ECF2.ECF3.Tau1_wta.Tau2_wta.Tau3_wta.Split12.Split23.Qw.D2.C2.R10TruthLabel_R22v1.R10TruthLabel_R21Precision_2022v1.R10TruthLabel_R21Precision.GhostBHadronsFinalCount.GhostCHadronsFinalCount.Parent.GN2Xv01_phbb.GN2Xv01_phcc.GN2Xv01_ptop.GN2Xv01_pqcd.GN2Xv02_phbb.GN2Xv02_phcc.GN2Xv02_ptop.GN2Xv02_pqcd',
442 PHYSLITEItemList = PHYSLITESlimmingHelper.GetItemList()
444 formatString =
'D2AOD_PHYSLITE' if 'StreamDAOD_PHYS' in flags.Input.ProcessingTags
else 'DAOD_PHYSLITE'
445 acc.merge(
OutputStreamCfg(flags, formatString, ItemList=PHYSLITEItemList, AcceptAlgs=[
"PHYSLITEKernel"]))
446 acc.merge(
SetupMetaDataForStreamCfg(flags, formatString, AcceptAlgs=[
"PHYSLITEKernel"], createMetadata=[MetadataCategory.CutFlowMetaData, MetadataCategory.TruthMetaData]))