ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions | Variables
python.LLP1 Namespace Reference

Functions

def LLP1KernelCfg (flags, name='LLP1Kernel', **kwargs)
 
def LLP1Cfg (flags)
 

Variables

string MergedElectronContainer = "StdWithLRTElectrons"
 
string MergedMuonContainer = "StdWithLRTMuons"
 
string MergedMuonContainer_wZPH = "StdWithLRTMuons_wZPH"
 
string MergedTrackCollection = "InDetWithLRTTrackParticles"
 
string MergedGSFTrackCollection = "InDetWithLRTGSFTrackParticles"
 
list LLP1VrtSecInclusiveSuffixes = []
 
list LLP1NewVSISuffixes = []
 

Function Documentation

◆ LLP1Cfg()

def python.LLP1.LLP1Cfg (   flags)

Definition at line 798 of file LLP1.py.

798 def LLP1Cfg(flags):
799  acc = ComponentAccumulator()
800  # Get the lists of triggers needed for trigger matching.
801  # This is needed at this scope (for the slimming) and further down in the config chain
802  # for actually configuring the matching, so we create it here and pass it down
803  # TODO: this should ideally be called higher up to avoid it being run multiple times in a train
804  from DerivationFrameworkPhys.TriggerListsHelper import TriggerListsHelper
805  LLP1TriggerListsHelper = TriggerListsHelper(flags)
806 
807  # Common augmentations
808  acc.merge(LLP1KernelCfg(flags, name="LLP1Kernel", StreamName = 'StreamDAOD_LLP1', TriggerListsHelper = LLP1TriggerListsHelper))
809 
810 
813  from IsolationSelection.IsolationSelectionConfig import IsoCloseByAlgsCfg
814  # We can't pass non-LRT containers to the LLP algorithm.
815  # Otherwise, if this is run in conjunction with PHYS, the decorations
816  # produced by the PHYS algorithm will be overwritten. To get those
817  # decorations produced when LLP1 is run alone, we schedule a separate
818  # algorithm for those but make it the same as the one in PHYS so that
819  # they'll be merged when both formats are used together.
820  acc.merge(IsoCloseByAlgsCfg(flags, isPhysLite = False, stream_name = 'StreamDAOD_LLP1'))
821  contNames = [ "LRTElectrons", "MuonsLRT" ]
822  acc.merge(IsoCloseByAlgsCfg(flags, suff = "_LLP1", isPhysLite = False, containerNames = contNames, useSelTools = True, stream_name = 'StreamDAOD_LLP1', hasLRT = True))
823  contNames = [ MergedMuonContainer, MergedElectronContainer, "Photons" ]
824  acc.merge(IsoCloseByAlgsCfg(flags, suff = "_LLP1_LRTMerged", isPhysLite = False, containerNames = contNames, useSelTools = True, stream_name = 'StreamDAOD_LLP1', isoDecSuffix = "CloseByCorr_LRT", caloDecSuffix = '_LRT', hasLRT = True))
825  contNames = [ "ZeroPixelHitMuons" ]
826  acc.merge(IsoCloseByAlgsCfg(flags, suff = "_LLP1_ZeroPixelHitsMuons", isPhysLite = False, containerNames = contNames, stream_name = 'StreamDAOD_LLP1', isoDecSuffix = "CloseByCorr_ZPH"))
827 
828  # ============================
829  # Define contents of the format
830  # =============================
831  from OutputStreamAthenaPool.OutputStreamConfig import OutputStreamCfg
832  from xAODMetaDataCnv.InfileMetaDataConfig import SetupMetaDataForStreamCfg
833  from DerivationFrameworkCore.SlimmingHelper import SlimmingHelper
834 
835  LLP1SlimmingHelper = SlimmingHelper("LLP1SlimmingHelper", NamesAndTypes = flags.Input.TypedCollections, flags = flags)
836 
837  LLP1SlimmingHelper.SmartCollections = ["EventInfo",
838  "Electrons",
839  "LRTElectrons",
840  "Photons",
841  "Muons",
842  "MuonsLRT",
843  "PrimaryVertices",
844  "InDetTrackParticles",
845  "InDetLargeD0TrackParticles",
846  "AntiKt4EMTopoJets",
847  "AntiKt4EMPFlowJets",
848  "BTagging_AntiKt4EMTopo",
849  "BTagging_AntiKt4EMPFlow",
850  "BTagging_AntiKtVR30Rmax4Rmin02Track",
851  "MET_Baseline_AntiKt4EMTopo",
852  "MET_Baseline_AntiKt4EMPFlow",
853  "TauJets",
854  "TauJets_MuonRM",
855  "DiTauJets",
856  "DiTauJetsLowPt",
857  "AntiKt10LCTopoTrimmedPtFrac5SmallR20Jets",
858  "AntiKt10UFOCSSKSoftDropBeta100Zcut10Jets",
859  "AntiKtVR30Rmax4Rmin02PV0TrackJets",
860  ]
861 
862  LLP1SlimmingHelper.AllVariables = ["InDetDisappearingTrackParticles",
863  "MSDisplacedVertex",
864  "MuonSpectrometerTrackParticles",
865  "UnAssocMuonSegments",
866  "MuonSegments",
867  "MuonSegments_LRT",
868  "MSonlyTracklets",
869  "CombinedMuonTrackParticles",
870  "ExtrapolatedMuonTrackParticles",
871  "CombinedMuonsLRTTrackParticles",
872  "ExtraPolatedMuonsLRTTrackParticles",
873  "MSOnlyExtraPolatedMuonsLRTTrackParticles",
874  "CombinedStauTrackParticles",
875  "AntiKt4EMTopoJets",
876  "egammaClusters",
877  "ElectronRingSets",
878  "ElectronCaloRings",
879  "JetRingSets",
880  "JetCaloRings",
881  "SlowMuons",
882  #"LCOriginTopoClusters",
883  "EMOriginTopoClusters",
884  "Staus",
885  "METAssoc_AntiKt4EMTopo",
886  "MET_Core_AntiKt4EMTopo",
887  "METAssoc_AntiKt4EMPFlow",
888  "MET_Core_AntiKt4EMPFlow",
889  "InDetLowPtRoITrackParticles",
890  "PixelClusters",
891  "PixelMSOSs",
892  "DisappearingPixelMSOSs",
893  "LowPtRoIPixelMSOSs",
894  "SCT_Clusters",
895  "SCT_MSOSs",
896  "DisappearingSCT_MSOSs",
897  "LowPtRoISCT_MSOSs",
898  ]
899 
900 
901  excludedVertexAuxData = "-vxTrackAtVertex.-MvfFitInfo.-isInitialized.-VTAV"
902  StaticContent = []
903  StaticContent += ["xAOD::VertexContainer#SoftBVrtClusterTool_Tight_Vertices"]
904  StaticContent += ["xAOD::VertexAuxContainer#SoftBVrtClusterTool_Tight_VerticesAux." + excludedVertexAuxData]
905  StaticContent += ["xAOD::VertexContainer#SoftBVrtClusterTool_Medium_Vertices"]
906  StaticContent += ["xAOD::VertexAuxContainer#SoftBVrtClusterTool_Medium_VerticesAux." + excludedVertexAuxData]
907  StaticContent += ["xAOD::VertexContainer#SoftBVrtClusterTool_Loose_Vertices"]
908  StaticContent += ["xAOD::VertexAuxContainer#SoftBVrtClusterTool_Loose_VerticesAux." + excludedVertexAuxData]
909  StaticContent += ["xAOD::JetContainer#AntiKt10EMTopoRCJets","xAOD::JetAuxContainer#AntiKt10EMTopoRCJetsAux.-PseudoJet"]
910  StaticContent += ["CaloClusterCellLinkContainer#CaloCalTopoClusters_links"]
911 
912  for wp in LLP1VrtSecInclusiveSuffixes:
913  StaticContent += ["xAOD::VertexContainer#VrtSecInclusive_SecondaryVertices" + wp]
914  StaticContent += ["xAOD::VertexAuxContainer#VrtSecInclusive_SecondaryVertices" + wp + "Aux."]
915 
916  for wp in LLP1NewVSISuffixes:
917  StaticContent += ["xAOD::VertexContainer#NewVrtSecInclusive_SecondaryVertices" + wp]
918  StaticContent += ["xAOD::VertexAuxContainer#NewVrtSecInclusive_SecondaryVertices" + wp + "Aux." + excludedVertexAuxData]
919 
920  StaticContent += ["xAOD::VertexContainer#MuSAVertices"]
921  StaticContent += ["xAOD::VertexAuxContainer#MuSAVerticesAux."]
922  StaticContent += ["xAOD::TrackParticleContainer#MuSAExtrapolatedTrackParticles"]
923  StaticContent += ["xAOD::TrackParticleAuxContainer#MuSAExtrapolatedTrackParticlesAux."]
924 
925  LLP1SlimmingHelper.ExtraVariables += ["AntiKt10TruthTrimmedPtFrac5SmallR20Jets.Tau1_wta.Tau2_wta.Tau3_wta.D2.GhostBHadronsFinalCount",
926  "Electrons.LHValue.DFCommonElectronsLHVeryLooseNoPixResult.maxEcell_time.maxEcell_energy.maxEcell_gain.maxEcell_onlId.maxEcell_x.maxEcell_y.maxEcell_z.f3",
927  "LRTElectrons.LHValue.DFCommonElectronsLHVeryLooseNoPixResult.maxEcell_time.maxEcell_energy.maxEcell_gain.maxEcell_onlId.maxEcell_x.maxEcell_y.maxEcell_z.f3",
928  "Photons.DFCommonPhotonsIsEMMedium.DFCommonPhotonsIsEMMediumIsEMValue.maxEcell_time.maxEcell_energy.maxEcell_gain.maxEcell_onlId.maxEcell_x.maxEcell_y.maxEcell_z.f3",
929  "Muons.meanDeltaADCCountsMDT",
930  "egammaClusters.phi_sampl.eta0.phi0",
931  "LRTegammaClusters.phi_sampl.eta0.phi0",
932  "AntiKt4EMTopoJets.DFCommonJets_QGTagger_truthjet_nCharged.DFCommonJets_QGTagger_truthjet_pt.DFCommonJets_QGTagger_truthjet_eta.DFCommonJets_QGTagger_NTracks.DFCommonJets_QGTagger_TracksWidth.DFCommonJets_QGTagger_TracksC1.PartonTruthLabelID.ConeExclBHadronsFinal.ConeExclCHadronsFinal.GhostBHadronsFinal.GhostCHadronsFinal.GhostBHadronsFinalCount.GhostBHadronsFinalPt.GhostCHadronsFinalCount.GhostCHadronsFinalPt.GhostBHadronsFinal.GhostCHadronsFinal.GhostTrack.GhostTrackCount.GhostTrackLRT.GhostTrackLRTCount.maxEcell_time.maxEcell_energy.maxEcell_gain.maxEcell_onlId.maxEcell_x.maxEcell_y.maxEcell_z",
933  "AntiKt4EMPFlowJets.DFCommonJets_QGTagger_truthjet_nCharged.DFCommonJets_QGTagger_truthjet_pt.DFCommonJets_QGTagger_truthjet_eta.DFCommonJets_QGTagger_NTracks.DFCommonJets_QGTagger_TracksWidth.DFCommonJets_QGTagger_TracksC1.PartonTruthLabelID.DFCommonJets_fJvt.ConeExclBHadronsFinal.ConeExclCHadronsFinal.GhostBHadronsFinal.GhostCHadronsFinal.GhostBHadronsFinalCount.GhostBHadronsFinalPt.GhostCHadronsFinalCount.GhostCHadronsFinalPt.GhostBHadronsFinal.GhostCHadronsFinal.maxEcell_time.maxEcell_energy.maxEcell_gain.maxEcell_onlId.maxEcell_x.maxEcell_y.maxEcell_z",
934  "AntiKtVR30Rmax4Rmin02TrackJets_BTagging201903.GhostBHadronsFinal.GhostCHadronsFinal.GhostBHadronsFinalCount.GhostBHadronsFinalPt.GhostCHadronsFinalCount.GhostCHadronsFinalPt.GhostTausFinal.GhostTausFinalCount",
935  "AntiKtVR30Rmax4Rmin02TrackJets_BTagging201810.GhostBHadronsFinal.GhostCHadronsFinal.GhostBHadronsFinalCount.GhostBHadronsFinalPt.GhostCHadronsFinalCount.GhostCHadronsFinalPt.GhostTausFinal.GhostTausFinalCount",
936  "TruthPrimaryVertices.t.x.y.z.sumPt2",
937  "PrimaryVertices.t.x.y.z.sumPt2.covariance",
938  "InDetTrackParticles.d0.z0.vz.TTVA_AMVFVertices.TTVA_AMVFWeights.eProbabilityHT.truthParticleLink.truthMatchProbability.radiusOfFirstHit.hitPattern.patternRecoInfo",
939  "InDetTrackParticles.TTVA_AMVFVertices.TTVA_AMVFWeights.eProbabilityHT.numberOfTRTHits.numberOfTRTOutliers",
940  "InDetTrackParticles.numberOfIBLOverflowsdEdx.numberOfUsedHitsdEdx.pixeldEdx",
941  "InDetTrackParticles.expectInnermostPixelLayerHit.expectNextToInnermostPixelLayerHit.numberOfNextToInnermostPixelLayerHits.numberOfContribPixelLayers.numberOfGangedFlaggedFakes.numberOfPixelOutliers.numberOfPixelSplitHits.numberOfPixelSpoiltHits",
942  "InDetTrackParticles.numberOfSCTOutliers.numberOfSCTSpoiltHits",
943  "InDetTrackParticles.numberOfTRTHoles.numberOfTRTDeadStraws.numberOfTRTSharedHits.numberOfTRTHighThresholdHits.numberOfTRTHighThresholdHitsTotal.numberOfTRTHighThresholdOutliers.TRTdEdx.TRTdEdxUsedHits.hitPattern",
944  "InDetTrackParticles.truthMatchProbability.truthOrigin.truthType",
945  "InDetTrackParticles.TrkIsoPtPdEdx_ptcone20.TrkIsoPtPdEdx_ptcone30.TrkIsoPtPdEdx_ptcone40.TrkIsoPtTightPdEdx_ptcone20.TrkIsoPtTightPdEdx_ptcone30.TrkIsoPtTightPdEdx_ptcone40",
946  "InDetTrackParticles.LLP1_ptcone20.LLP1_ptcone30.LLP1_ptcone40.LLP1_ptvarcone20.LLP1_ptvarcone30.LLP1_ptvarcone40.definingParametersCovMatrixDiag.definingParametersCovMatrixOffDiag",
947  "InDetTrackParticles.LLP1_topoetcone20.LLP1_topoetcone30.LLP1_topoetcone40.LLP1_topoetcone20NonCoreCone.LLP1_topoetcone30NonCoreCone.LLP1_topoetcone40NonCoreCone",
948  "InDetTrackParticles.LLP1_CaloCelldEta.LLP1_CaloCelldPhi.LLP1_CaloCelldR.LLP1_CaloCelldX.LLP1_CaloCelldY.LLP1_CaloCelldZ.LLP1_CaloCellE.LLP1_CaloCellEta.LLP1_CaloCellGain.LLP1_CaloCellID.LLP1_CaloCellPhi.LLP1_CaloCellProvenance.LLP1_CaloCellQuality.LLP1_CaloCellR.LLP1_CaloCellSampling.LLP1_CaloCellTime.LLP1_CaloCellX.LLP1_CaloCellY.LLP1_CaloCellZ.LLP1_CaloCellEneDiff.LLP1_CaloCellTimeDiff",
949  "InDetTrackParticles.Reco_msosLink",
950 
951  "InDetLargeD0TrackParticles.d0.z0.vz.TTVA_AMVFVertices.TTVA_AMVFWeights.eProbabilityHT.truthParticleLink.truthMatchProbability.radiusOfFirstHit.hitPattern.patternRecoInfo",
952  "GSFTrackParticles.d0.z0.vz.TTVA_AMVFVertices.TTVA_AMVFWeights.eProbabilityHT.truthParticleLink.truthMatchProbability.radiusOfFirstHit.numberOfPixelHoles.numberOfSCTHoles.numberDoF.chiSquared.hitPattern.truthOrigin.truthType",
953  "LRTGSFTrackParticles.d0.z0.vz.TTVA_AMVFVertices.TTVA_AMVFWeights.eProbabilityHT.truthParticleLink.truthMatchProbability.radiusOfFirstHit.numberOfPixelHoles.numberOfSCTHoles.numberDoF.chiSquared.hitPattern.truthOrigin.truthType",
954  "EventInfo.hardScatterVertexLink.timeStampNSOffset",
955  "EventInfo.GenFiltHT.GenFiltMET.GenFiltHTinclNu.GenFiltPTZ.GenFiltFatJ",
956  "EventInfo.hardScatterVertexLink.timeStampNSOffset",
957  "EventInfo.DFCommonJets_eventClean_SuperLooseBadLLP.DFCommonJets_eventClean_SuperLooseBadLLP_EMTopo.DFCommonJets_eventClean_LooseBadLLP_EMTopo",
958  "TauJets.dRmax.etOverPtLeadTrk.maxEcell_time.maxEcell_energy.maxEcell_gain.maxEcell_onlId.maxEcell_x.maxEcell_y.maxEcell_z",
959  "HLT_xAOD__TrigMissingETContainer_TrigEFMissingET.ex.ey",
960  "HLT_xAOD__TrigMissingETContainer_TrigEFMissingET_mht.ex.ey"]
961 
962  # Isolation close by correction content for the LRT included corrections
963  LLP1SlimmingHelper.ExtraVariables += ["Muons.topoetcone20_CloseByCorr_LRT.neflowisol20_CloseByCorr_LRT.ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt500_CloseByCorr_LRT.ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt1000_CloseByCorr_LRT",
964  "MuonsLRT.topoetcone20_CloseByCorr_LRT.neflowisol20_CloseByCorr_LRT.ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt500_CloseByCorr_LRT.ptvarcone30_Nonprompt_All_MaxWeightTTVA_pt1000_CloseByCorr_LRT",
965  "Electrons.topoetcone20_CloseByCorr_LRT.ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000_CloseByCorr_LRT.ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000_CloseByCorr_LRT",
966  "LRTElectrons.topoetcone20_CloseByCorr_LRT.ptcone20_Nonprompt_All_MaxWeightTTVALooseCone_pt1000_CloseByCorr_LRT.ptvarcone30_Nonprompt_All_MaxWeightTTVALooseCone_pt1000_CloseByCorr_LRT",
967  "Photons.topoetcone20_CloseByCorr_LRT.topoetcone40_CloseByCorr_LRT.ptcone20_CloseByCorr_LRT"
968  ]
969 
970  VSITrackAuxVars = [
971  "is_selected", "is_associated", "is_svtrk_final", "pt_wrtSV", "eta_wrtSV",
972  "phi_wrtSV", "d0_wrtSV", "z0_wrtSV", "errP_wrtSV", "errd0_wrtSV",
973  "errz0_wrtSV", "chi2_toSV"
974  ]
975 
976  for suffix in LLP1VrtSecInclusiveSuffixes + LLP1NewVSISuffixes:
977  LLP1SlimmingHelper.ExtraVariables += [ "InDetTrackParticles." + '.'.join( [ var + suffix for var in VSITrackAuxVars] ) ]
978  LLP1SlimmingHelper.ExtraVariables += [ "InDetLargeD0TrackParticles." + '.'.join( [ var + suffix for var in VSITrackAuxVars] ) ]
979  LLP1SlimmingHelper.ExtraVariables += [ "GSFTrackParticles." + '.'.join( [ var + suffix for var in VSITrackAuxVars] ) ]
980  LLP1SlimmingHelper.ExtraVariables += [ "LRTGSFTrackParticles." + '.'.join( [ var + suffix for var in VSITrackAuxVars] ) ]
981 
982  LLP1SlimmingHelper.ExtraVariables.append('CaloCalTopoClusters.e_sampl.calM.calE.calEta.calPhi.CENTER_MAG.SECOND_TIME')
983  LLP1SlimmingHelper.AppendToDictionary["EMOriginTopoClusters"]='xAOD::CaloClusterContainer'
984  LLP1SlimmingHelper.AppendToDictionary["EMOriginTopoClustersAux"]='xAOD::ShallowAuxContainer'
985  LLP1SlimmingHelper.ExtraVariables.append('EMOriginTopoClusters.e_sampl.calM.calE.calEta.calPhi.CENTER_MAG.SECOND_TIME')
986 
987 
988  # Truth containers
989  if flags.Input.isMC:
990 
991  from DerivationFrameworkMCTruth.MCTruthCommonConfig import addTruth3ContentToSlimmerTool
992  addTruth3ContentToSlimmerTool(LLP1SlimmingHelper)
993  LLP1SlimmingHelper.AllVariables += ['TruthHFWithDecayParticles','TruthHFWithDecayVertices','TruthCharm','TruthPileupParticles','InTimeAntiKt4TruthJets','OutOfTimeAntiKt4TruthJets', 'AntiKt4TruthJets']
994  LLP1SlimmingHelper.ExtraVariables += ["Electrons.TruthLink",
995  "LRTElectrons.TruthLink",
996  "Muons.TruthLink",
997  "MuonsLRT.TruthLink",
998  "Photons.TruthLink"]
999 
1000  if flags.Derivation.LLP.saveFullTruth:
1001  LLP1SlimmingHelper.ExtraVariables += ['TruthParticles', 'TruthVertices']
1002  StaticContent += ["xAOD::JetContainer#AntiKt10TruthRCJets","xAOD::JetAuxContainer#AntiKt10TruthRCJetsAux.-PseudoJet"]
1003 
1004  # ZeroPixelHitMuons container
1005  StaticContent += ["xAOD::MuonContainer#ZeroPixelHitMuons", "xAOD::MuonAuxContainer#ZeroPixelHitMuonsAux."]
1006 
1007  from DerivationFrameworkEGamma.PhotonsCPDetailedContent import (
1008  PhotonsCPDetailedContent,
1009  )
1010  LLP1SlimmingHelper.ExtraVariables += PhotonsCPDetailedContent
1011 
1012 
1013  from DerivationFrameworkJetEtMiss.JetCommonConfig import addOriginCorrectedClustersToSlimmingTool
1014  addOriginCorrectedClustersToSlimmingTool(LLP1SlimmingHelper,writeLC=True,writeEM=True)
1015  LLP1SlimmingHelper.StaticContent = StaticContent
1016 
1017  # Trigger content
1018  LLP1SlimmingHelper.IncludeTriggerNavigation = False
1019  LLP1SlimmingHelper.IncludeJetTriggerContent = False
1020  LLP1SlimmingHelper.IncludeMuonTriggerContent = False
1021  LLP1SlimmingHelper.IncludeEGammaTriggerContent = False
1022  LLP1SlimmingHelper.IncludeTauTriggerContent = False
1023  LLP1SlimmingHelper.IncludeEtMissTriggerContent = False
1024  LLP1SlimmingHelper.IncludeBJetTriggerContent = False
1025  LLP1SlimmingHelper.IncludeBPhysTriggerContent = False
1026  LLP1SlimmingHelper.IncludeMinBiasTriggerContent = False
1027 
1028  # Trigger matching
1029  # Run 2
1030  if flags.Trigger.EDMVersion == 2:
1031  from DerivationFrameworkPhys.TriggerMatchingCommonConfig import AddRun2TriggerMatchingToSlimmingHelper
1032  from DerivationFrameworkLLP.LLPToolsConfig import LLP1TriggerMatchingToolRun2Cfg
1033  AddRun2TriggerMatchingToSlimmingHelper(SlimmingHelper = LLP1SlimmingHelper,
1034  OutputContainerPrefix = "TrigMatch_",
1035  TriggerList = LLP1TriggerListsHelper.Run2TriggerNamesTau)
1036  AddRun2TriggerMatchingToSlimmingHelper(SlimmingHelper = LLP1SlimmingHelper,
1037  OutputContainerPrefix = "TrigMatch_",
1038  TriggerList = LLP1TriggerListsHelper.Run2TriggerNamesNoTau)
1039  # Schedule additional pre-matching against LLP offline muons and electrons
1040  acc.merge(LLP1TriggerMatchingToolRun2Cfg(flags,
1041  name = "LRTTriggerMatchingTool_LLP1",
1042  OutputContainerPrefix = "LRTTrigMatch_LLP1_",
1043  TriggerList = LLP1TriggerListsHelper.Run2TriggerNamesNoTau,
1044  InputElectrons=MergedElectronContainer,
1045  InputMuons=MergedMuonContainer_wZPH
1046  ))
1047  # And add the additional LLP trigger matching branches to the slimming helper
1048  AddRun2TriggerMatchingToSlimmingHelper(SlimmingHelper = LLP1SlimmingHelper,
1049  OutputContainerPrefix = "LRTTrigMatch_LLP1_",
1050  TriggerList = LLP1TriggerListsHelper.Run2TriggerNamesNoTau,
1051  InputElectrons=MergedElectronContainer,
1052  InputMuons=MergedMuonContainer_wZPH
1053  )
1054  # Run 3, or Run 2 with navigation conversion
1055  if flags.Trigger.EDMVersion == 3 or (flags.Trigger.EDMVersion == 2 and flags.Trigger.doEDMVersionConversion):
1056  from TrigNavSlimmingMT.TrigNavSlimmingMTConfig import AddRun3TrigNavSlimmingCollectionsToSlimmingHelper
1058 
1059  # Output stream
1060  LLP1ItemList = LLP1SlimmingHelper.GetItemList()
1061  acc.merge(OutputStreamCfg(flags, "DAOD_LLP1", ItemList=LLP1ItemList, AcceptAlgs=["LLP1Kernel"]))
1062  acc.merge(SetupMetaDataForStreamCfg(flags, "DAOD_LLP1", AcceptAlgs=["LLP1Kernel"], createMetadata=[MetadataCategory.CutFlowMetaData, MetadataCategory.TruthMetaData]))
1063 
1064  return acc

◆ LLP1KernelCfg()

def python.LLP1.LLP1KernelCfg (   flags,
  name = 'LLP1Kernel',
**  kwargs 
)
Configure the derivation framework driving algorithm (kernel) for LLP1

Definition at line 23 of file LLP1.py.

23 def LLP1KernelCfg(flags, name='LLP1Kernel', **kwargs):
24 
25  """Configure the derivation framework driving algorithm (kernel) for LLP1"""
26  acc = ComponentAccumulator()
27 
28  # Augmentations
29 
30 
31  # LRT track merge
32  from DerivationFrameworkInDet.InDetToolsConfig import InDetLRTMergeCfg
33  acc.merge(InDetLRTMergeCfg(flags))
34  acc.merge(InDetLRTMergeCfg(flags, name="GSFTrackMergerAlg", InputTrackParticleLocations = ["GSFTrackParticles", "LRTGSFTrackParticles"], OutputTrackParticleLocation = MergedGSFTrackCollection, OutputTrackParticleLocationCopy = MergedGSFTrackCollection))
35 
36  # LRT muons merge
37  from DerivationFrameworkLLP.LLPToolsConfig import LRTMuonMergerAlg
38  acc.merge(LRTMuonMergerAlg( flags,
39  PromptMuonLocation = "Muons",
40  LRTMuonLocation = "MuonsLRT",
41  OutputMuonLocation = MergedMuonContainer,
42  CreateViewCollection = True,
43  UseRun3WP = flags.GeoModel.Run == LHCPeriod.Run3))
44 
45  # LRT electrons merge
46  from DerivationFrameworkLLP.LLPToolsConfig import LRTElectronMergerAlg
47  acc.merge(LRTElectronMergerAlg( flags,
48  PromptElectronLocation = "Electrons",
49  LRTElectronLocation = "LRTElectrons",
50  OutputCollectionName = MergedElectronContainer,
51  isDAOD = False,
52  CreateViewCollection = True))
53 
54  # Max Cell sum decoration tool
55  from DerivationFrameworkCalo.DerivationFrameworkCaloConfig import (
56  MaxCellDecoratorCfg, MaxCellDecoratorKernelCfg)
57 
58  # Default configuration
59  acc.merge(MaxCellDecoratorKernelCfg(flags))
60 
61  # Specific for LRTElectrons
62  LLP1LRTMaxCellDecoratorTool = acc.popToolsAndMerge(MaxCellDecoratorCfg(
63  flags,
64  name = "LLP1LRTMaxCellDecoratorTool",
65  SGKey_electrons = "LRTElectrons",
66  SGKey_egammaClusters = ("" if flags.GeoModel.Run == LHCPeriod.Run3
67  else "egammaClusters"),
68  SGKey_photons = ''))
69  acc.addPublicTool(LLP1LRTMaxCellDecoratorTool)
70 
71  # Vertex constraint tools
72  from TrkConfig.TrkVertexFitterUtilsConfig import AtlasFullLinearizedTrackFactoryCfg
73  AtlasFullLinearizedTrackFactoryTool = acc.popToolsAndMerge(AtlasFullLinearizedTrackFactoryCfg(flags,
74  name = "LLP1AtlasFullLinearizedTrackFactory"))
75  acc.addPublicTool(AtlasFullLinearizedTrackFactoryTool)
76 
77  from TrkConfig.AtlasExtrapolatorConfig import AtlasExtrapolatorCfg
78  ExtrapolatorTool = acc.popToolsAndMerge(AtlasExtrapolatorCfg(flags,
79  name = "LLP1ExtrapolatorTool"))
80  acc.addPublicTool(ExtrapolatorTool)
81 
82 
83  from DerivationFrameworkLLP.LLPToolsConfig import TrackParametersKVUCfg
84  LLP1TrackParametersKVUTool = acc.getPrimaryAndMerge(TrackParametersKVUCfg(flags,
85  name = "LLP1TrackParametersKVU",
86  TrackParticleContainerName = "InDetDisappearingTrackParticles",
87  VertexContainerName = "PrimaryVertices",
88  LinearizedTrackFactory = AtlasFullLinearizedTrackFactoryTool,
89  TrackExtrapolator = ExtrapolatorTool))
90  acc.addPublicTool(LLP1TrackParametersKVUTool)
91 
92  # Track isolation tools
93  import ROOT
94  isoPar = ROOT.xAOD.Iso.IsolationType
95  deco_ptcones = [isoPar.ptcone40, isoPar.ptcone30, isoPar.ptcone20]
96  deco_ptcones_suffix = ["ptcone40", "ptcone30", "ptcone20"]
97  deco_prefix = 'LLP1_'
98 
99  from InDetConfig.InDetTrackSelectionToolConfig import InDetTrackSelectionTool_Loose_Cfg
100  TrackSelectionToolStd = acc.popToolsAndMerge(InDetTrackSelectionTool_Loose_Cfg(flags,
101  name = "TrackSelectionToolStd",
102  maxZ0SinTheta = 3.0,
103  minPt = 1000.))
104 
105  TrackSelectionToolPdEdx = acc.popToolsAndMerge(InDetTrackSelectionTool_Loose_Cfg(flags,
106  name = "TrackSelectionToolPdEdx",
107  maxD0 = 0.5,
108  maxZ0SinTheta = 3.0,
109  minPt = 1000.))
110 
111  TrackSelectionToolPdEdxTight = acc.popToolsAndMerge(InDetTrackSelectionTool_Loose_Cfg(flags,
112  name = "TrackSelectionToolPdEdxTight",
113  maxD0 = 0.5,
114  maxZ0SinTheta = 0.5,
115  minPt = 1000.))
116 
117  from IsolationAlgs.IsoToolsConfig import TrackIsolationToolCfg, CaloIsolationToolCfg
118  TrackIsoToolStd = acc.popToolsAndMerge(TrackIsolationToolCfg(flags,
119  name = "TrackIsoToolStd",
120  TrackSelectionTool = TrackSelectionToolStd))
121  acc.addPublicTool(TrackIsoToolStd)
122 
123  TrackIsoToolPdEdx = acc.popToolsAndMerge(TrackIsolationToolCfg(flags,
124  name = "TrackIsoToolPdEdx",
125  TrackSelectionTool = TrackSelectionToolPdEdx))
126  acc.addPublicTool(TrackIsoToolPdEdx)
127 
128  TrackIsoToolPdEdxTight = acc.popToolsAndMerge(TrackIsolationToolCfg(flags,
129  name = "TrackIsoToolPdEdxTight",
130  TrackSelectionTool = TrackSelectionToolPdEdxTight))
131  acc.addPublicTool(TrackIsoToolPdEdxTight)
132 
133  from CaloIdentifier import SUBCALO
134  CaloIsoTool = acc.popToolsAndMerge(CaloIsolationToolCfg(flags,
135  name = "CaloIsoTool",
136  EMCaloNums = [SUBCALO.LAREM],
137  HadCaloNums = [SUBCALO.LARHEC, SUBCALO.TILE],
138  UseEMScale = True,
139  UseCaloExtensionCaching = False,
140  saveOnlyRequestedCorrections = True))
141  acc.addPublicTool(CaloIsoTool)
142 
143  from DerivationFrameworkInDet.InDetToolsConfig import IsolationTrackDecoratorCfg
144  LLP1IsolationTrackDecoratorTool = acc.getPrimaryAndMerge(IsolationTrackDecoratorCfg(flags,
145  name = "LLP1IsolationTrackDecorator",
146  TrackIsolationTool = TrackIsoToolStd,
147  CaloIsolationTool = CaloIsoTool,
148  TargetContainer = "InDetTrackParticles",
149  SelectionString = "InDetTrackParticles.pt>10*GeV",
150  iso = [isoPar.ptcone40, isoPar.ptcone30, isoPar.ptcone20, isoPar.ptvarcone40, isoPar.ptvarcone30, isoPar.ptvarcone20, isoPar.topoetcone40, isoPar.topoetcone30, isoPar.topoetcone20],
151  isoSuffix = ["ptcone40", "ptcone30", "ptcone20", "ptvarcone40", "ptvarcone30", "ptvarcone20", "topoetcone40", "topoetcone30", "topoetcone20"],
152  Prefix = deco_prefix))
153  acc.addPublicTool(LLP1IsolationTrackDecoratorTool)
154 
155  LLP1IsolationTrackDecoratorDTTool = acc.getPrimaryAndMerge(IsolationTrackDecoratorCfg(flags,
156  name = "LLP1IsolationTrackDecoratorDT",
157  TrackIsolationTool = TrackIsoToolStd,
158  CaloIsolationTool = CaloIsoTool,
159  TargetContainer = "InDetDisappearingTrackParticles",
160  SelectionString = "InDetDisappearingTrackParticles.pt>10*GeV",
161  iso = [isoPar.ptcone40, isoPar.ptcone30, isoPar.ptcone20, isoPar.ptvarcone40, isoPar.ptvarcone30, isoPar.ptvarcone20, isoPar.topoetcone40, isoPar.topoetcone30, isoPar.topoetcone20],
162  isoSuffix = ["ptcone40", "ptcone30", "ptcone20", "ptvarcone40", "ptvarcone30", "ptvarcone20", "topoetcone40", "topoetcone30", "topoetcone20"],
163  Prefix = deco_prefix))
164  acc.addPublicTool(LLP1IsolationTrackDecoratorDTTool)
165 
166  LLP1IsolationTrackDecoratorPdEdxTool = acc.getPrimaryAndMerge(IsolationTrackDecoratorCfg(flags,
167  name = "LLP1IsolationTrackDecoratorPdEdx",
168  TrackIsolationTool = TrackIsoToolPdEdx,
169  CaloIsolationTool = CaloIsoTool,
170  TargetContainer = "InDetTrackParticles",
171  iso = deco_ptcones,
172  Prefix = 'TrkIsoPtPdEdx_',
173  isoSuffix = deco_ptcones_suffix))
174  acc.addPublicTool(LLP1IsolationTrackDecoratorPdEdxTool)
175 
176  LLP1IsolationTrackDecoratorPdEdxDTTool = acc.getPrimaryAndMerge(IsolationTrackDecoratorCfg(flags,
177  name = "LLP1IsolationTrackDecoratorPdEdxDT",
178  TrackIsolationTool = TrackIsoToolPdEdx,
179  CaloIsolationTool = CaloIsoTool,
180  TargetContainer = "InDetDisappearingTrackParticles",
181  iso = deco_ptcones,
182  Prefix = 'TrkIsoPtPdEdx_',
183  isoSuffix = deco_ptcones_suffix))
184  acc.addPublicTool(LLP1IsolationTrackDecoratorPdEdxDTTool)
185 
186  LLP1IsolationTrackDecoratorPdEdxTightTool = acc.getPrimaryAndMerge(IsolationTrackDecoratorCfg(flags,
187  name = "LLP1IsolationTrackDecoratorPdEdxTight",
188  TrackIsolationTool = TrackIsoToolPdEdxTight,
189  CaloIsolationTool = CaloIsoTool,
190  TargetContainer = "InDetTrackParticles",
191  iso = deco_ptcones,
192  Prefix = 'TrkIsoPtTightPdEdx_',
193  isoSuffix = deco_ptcones_suffix))
194  acc.addPublicTool(LLP1IsolationTrackDecoratorPdEdxTightTool)
195 
196  LLP1IsolationTrackDecoratorPdEdxTightDTTool = acc.getPrimaryAndMerge(IsolationTrackDecoratorCfg(flags,
197  name = "LLP1IsolationTrackDecoratorPdEdxTightDT",
198  TrackIsolationTool = TrackIsoToolPdEdxTight,
199  CaloIsolationTool = CaloIsoTool,
200  TargetContainer = "InDetDisappearingTrackParticles",
201  iso = deco_ptcones,
202  Prefix = 'TrkIsoPtTightPdEdx_',
203  isoSuffix = deco_ptcones_suffix))
204  acc.addPublicTool(LLP1IsolationTrackDecoratorPdEdxTightDTTool)
205 
206  from DerivationFrameworkLLP.LLPToolsConfig import TrackParticleCaloCellDecoratorCfg
207  LLP1TrackParticleCaloCellDecoratorTool = acc.getPrimaryAndMerge(TrackParticleCaloCellDecoratorCfg(flags,
208  name = "LLP1TrackParticleCaloCellDecorator",
209  DecorationPrefix = "LLP1",
210  ContainerName = "InDetTrackParticles"))
211  acc.addPublicTool(LLP1TrackParticleCaloCellDecoratorTool)
212 
213  augmentationTools = [ LLP1LRTMaxCellDecoratorTool,
214  LLP1TrackParametersKVUTool,
215  LLP1IsolationTrackDecoratorTool,
216  LLP1IsolationTrackDecoratorDTTool,
217  LLP1IsolationTrackDecoratorPdEdxTool,
218  LLP1IsolationTrackDecoratorPdEdxDTTool,
219  LLP1IsolationTrackDecoratorPdEdxTightTool,
220  LLP1IsolationTrackDecoratorPdEdxTightDTTool,
221  LLP1TrackParticleCaloCellDecoratorTool ]
222 
223  # Specific for Taus
224  LLP1TauMaxCellDecoratorTool = acc.popToolsAndMerge(MaxCellDecoratorCfg(
225  flags,
226  name = "LLP1TauMaxCellDecoratorTool",
227  SGKey_taus = 'TauJets',
228  SGKey_electrons = '',
229  SGKey_photons = ''))
230  acc.addPublicTool(LLP1TauMaxCellDecoratorTool)
231 
232  augmentationTools += [ LLP1TauMaxCellDecoratorTool ]
233 
234  # Specific for Jets: AntiKt4EMTopoJets
235  LLP1AntiKt4EMTopoJetMaxCellDecoratorTool = acc.popToolsAndMerge(MaxCellDecoratorCfg(
236  flags,
237  name = "LLP1AntiKt4EMTopoJetMaxCellDecoratorTool",
238  SGKey_jets = 'AntiKt4EMTopoJets',
239  SGKey_taus = '',
240  SGKey_electrons = '',
241  SGKey_photons = ''))
242  acc.addPublicTool(LLP1AntiKt4EMTopoJetMaxCellDecoratorTool)
243 
244  augmentationTools += [ LLP1AntiKt4EMTopoJetMaxCellDecoratorTool ]
245 
246  # Specific for Jets: AntiKt4EMPFlowJets
247  LLP1AntiKt4EMPFlowJetMaxCellDecoratorTool = acc.popToolsAndMerge(MaxCellDecoratorCfg(
248  flags,
249  name = "LLP1AntiKt4EMPFlowJetMaxCellDecoratorTool",
250  SGKey_jets = 'AntiKt4EMPFlowJets',
251  SGKey_taus = '',
252  SGKey_electrons = '',
253  SGKey_photons = ''))
254  acc.addPublicTool(LLP1AntiKt4EMPFlowJetMaxCellDecoratorTool)
255 
256  augmentationTools += [ LLP1AntiKt4EMPFlowJetMaxCellDecoratorTool ]
257 
258  # Reclustered jets definitions
259  from JetRecConfig.JetRecConfig import registerAsInputConstit, JetRecCfg
260  from JetRecConfig.StandardSmallRJets import AntiKt4Truth, AntiKt4EMTopo
261  from JetRecConfig.JetDefinition import JetDefinition
262  from JetRecConfig.StandardJetConstits import stdConstitDic as cst
263 
264  registerAsInputConstit(AntiKt4EMTopo)
265  registerAsInputConstit(AntiKt4Truth)
266  cst.AntiKt4EMTopoJets.label = "EMTopoRC"
267  cst.AntiKt4TruthJets.label = "TruthRC"
268 
269  AntiKt10RCEMTopo = JetDefinition( "AntiKt",1.0,cst.AntiKt4EMTopoJets,
270  ghostdefs = ["Track", "TrackLRT", "LCTopoOrigin"],
271  modifiers = ("Sort", "Filter:200000",),
272  standardRecoMode = True,
273  lock = True,
274  )
275  if flags.Input.isMC:
276  AntiKt10RCTruth = JetDefinition("AntiKt",1.0,cst.AntiKt4TruthJets,
277  ghostdefs = [],
278  modifiers = ("Sort", "Filter:200000",),
279  standardRecoMode = True,
280  lock = True
281  )
282 
283  from DerivationFrameworkPhys.PhysCommonConfig import PhysCommonAugmentationsCfg
284  acc.merge(PhysCommonAugmentationsCfg(flags, TriggerListsHelper = kwargs['TriggerListsHelper']))
285  acc.merge(JetRecCfg(flags,AntiKt10RCEMTopo))
286  if flags.Input.isMC: acc.merge(JetRecCfg(flags,AntiKt10RCTruth))
287 
288  # MET with LRT in association map
289  from DerivationFrameworkJetEtMiss.METCommonConfig import METLRTCfg
290  acc.merge(METLRTCfg(flags, "AntiKt4EMTopo"))
291  acc.merge(METLRTCfg(flags, "AntiKt4EMPFlow"))
292 
293  # LRT Egamma
294  from DerivationFrameworkEGamma.EGammaLRTConfig import EGammaLRTCfg
295  acc.merge(EGammaLRTCfg(flags))
296 
297  from DerivationFrameworkLLP.LLPToolsConfig import LRTElectronLHSelectorsCfg
298  acc.merge(LRTElectronLHSelectorsCfg(flags))
299 
300  #Photon ID Selector
301  from DerivationFrameworkLLP.LLPToolsConfig import PhotonIsEMSelectorsCfg
302  acc.merge(PhotonIsEMSelectorsCfg(flags))
303 
304  # LRT Muons
305  from DerivationFrameworkMuons.MuonsCommonConfig import MuonsCommonCfg
306  acc.merge(MuonsCommonCfg(flags,
307  suff="LRT"))
308 
309  # Recover Zero Pixel Hit Muons
310  from DerivationFrameworkLLP.LLPToolsConfig import RecoverZeroPixelHitMuonsCfg
311  acc.merge(RecoverZeroPixelHitMuonsCfg(flags))
312 
313  # flavor tagging
314  from DerivationFrameworkFlavourTag.FtagDerivationConfig import FtagJetCollectionsCfg
315  acc.merge(FtagJetCollectionsCfg(flags, ['AntiKt4EMTopoJets']))
316 
317  # VrtSecInclusive
318  from VrtSecInclusive.VrtSecInclusiveConfig import VrtSecInclusiveCfg
319 
320  # MuSAVtxFitter
321  from MuSAVtxFitter.MuSAVtxFitterConfig import MuSAVtxFitterConfig
322 
323  acc.merge(VrtSecInclusiveCfg(flags,
324  name = "VrtSecInclusive",
325  AugmentingVersionString = "",
326  FillIntermediateVertices = False,
327  TrackLocation = MergedTrackCollection))
328  LLP1VrtSecInclusiveSuffixes.append("")
329 
330  # short-lifetime VSI
331  shortLifetimeSuffix = "_shortLifetime"
332  acc.merge(VrtSecInclusiveCfg(flags,
333  name = "VrtSecInclusive_InDet"+shortLifetimeSuffix,
334  AugmentingVersionString = shortLifetimeSuffix,
335  FillIntermediateVertices = False,
336  TrackLocation = MergedTrackCollection,
337  twoTrkVtxFormingD0Cut = 1.0))
338  LLP1VrtSecInclusiveSuffixes.append(shortLifetimeSuffix)
339 
340  if flags.Input.isMC and flags.Derivation.LLP.doTrackSystematics:
341  from InDetTrackSystematicsTools.InDetTrackSystematicsToolsConfig import TrackSystematicsAlgCfg
342  TrackSystSuffix = "_TRK_EFF_LARGED0_GLOBAL__1down"
343  acc.merge(TrackSystematicsAlgCfg(
344  flags,
345  name=f"InDetTrackSystematicsAlg{TrackSystSuffix}",
346  InputTrackContainer = MergedTrackCollection,
347  OutputTrackContainer = f"{MergedTrackCollection}{TrackSystSuffix}"))
348  acc.merge(VrtSecInclusiveCfg(flags,
349  name = f"VrtSecInclusive{TrackSystSuffix}",
350  AugmentingVersionString = TrackSystSuffix,
351  FillIntermediateVertices = False,
352  TrackLocation = f"{MergedTrackCollection}{TrackSystSuffix}"))
353  LLP1VrtSecInclusiveSuffixes.append(TrackSystSuffix)
354 
355  TrackSystSuffixShortLifetime = "_TRK_EFF_LARGED0_GLOBAL__1down_shortLifetime"
356  acc.merge(TrackSystematicsAlgCfg(
357  flags,
358  name=f"InDetTrackSystematicsAlg{TrackSystSuffixShortLifetime}",
359  InputTrackContainer = MergedTrackCollection,
360  OutputTrackContainer = f"{MergedTrackCollection}{TrackSystSuffixShortLifetime}"))
361  acc.merge(VrtSecInclusiveCfg(flags,
362  name = f"VrtSecInclusive{TrackSystSuffixShortLifetime}",
363  AugmentingVersionString = TrackSystSuffixShortLifetime,
364  FillIntermediateVertices = False,
365  TrackLocation = f"{MergedTrackCollection}{TrackSystSuffixShortLifetime}",
366  twoTrkVtxFormingD0Cut = 1.0))
367  LLP1VrtSecInclusiveSuffixes.append(TrackSystSuffixShortLifetime)
368 
369  # LRT muons merge
370  from DerivationFrameworkLLP.LLPToolsConfig import ZeroPixelHitMuonMergerAlgCfg
371  acc.merge(ZeroPixelHitMuonMergerAlgCfg(flags,
372  InputMuonContainers = [MergedMuonContainer, "ZeroPixelHitMuons"],
373  OutputMuonLocation = MergedMuonContainer_wZPH))
374 
375 
376  # leptons-only VSI
377  LeptonsSuffix = "_Leptons"
378  acc.merge(VrtSecInclusiveCfg(flags,
379  name = "VrtSecInclusive_InDet"+LeptonsSuffix,
380  AugmentingVersionString = LeptonsSuffix,
381  FillIntermediateVertices = False,
382  TrackLocation = MergedTrackCollection,
383  twoTrkVtxFormingD0Cut = 1.0,
384  doSelectTracksFromMuons = True,
385  doRemoveCaloTaggedMuons = True,
386  doSelectTracksFromElectrons = True,
387  MuonLocation = MergedMuonContainer,
388  ElectronLocation = MergedElectronContainer))
389  LLP1VrtSecInclusiveSuffixes.append(LeptonsSuffix)
390 
391  # track VSI
392  LepTrackSuffix = "_LepTrack"
393  acc.merge(VrtSecInclusiveCfg(flags,
394  name = "VrtSecInclusive_InDet"+LepTrackSuffix,
395  AugmentingVersionString = LepTrackSuffix,
396  FillIntermediateVertices = False,
397  TrackLocation = MergedTrackCollection,
398  MuonLocation = MergedMuonContainer,
399  ElectronLocation = MergedElectronContainer,
400  twoTrkVtxFormingD0Cut = 1.0,
401  doSelectIDAndGSFTracks = True,
402  doRemoveCaloTaggedMuons = True,
403  doRemoveNonLeptonVertices = True,
404  doAssociateNonSelectedTracks= False))
405  LLP1VrtSecInclusiveSuffixes.append(LepTrackSuffix)
406 
407  # Small-d0 Muons VSI
408  BoostedMuonsSuffix = "_BoostedMuons"
409  acc.merge(VrtSecInclusiveCfg(flags,
410  name = "VrtSecInclusive_InDet"+BoostedMuonsSuffix,
411  AugmentingVersionString = BoostedMuonsSuffix,
412  FillIntermediateVertices = False,
413  TrackLocation = MergedTrackCollection,
414  twoTrkVtxFormingD0Cut = 0.0,
415  doSelectTracksFromMuons = True,
416  doRemoveCaloTaggedMuons = True,
417  doSelectTracksFromElectrons = False,
418  MuonLocation = MergedMuonContainer_wZPH,
419  do_PVvetoCut = False,
420  DoTwoTrSoftBtag = True,
421  TwoTrVrtMinDistFromPVCut = 0.5,
422  associatePtCut = 500.))
423  LLP1VrtSecInclusiveSuffixes.append(BoostedMuonsSuffix)
424 
425  # MuSA Vertices
426  acc.merge(MuSAVtxFitterConfig(flags,
427  MuonContainerName=MergedMuonContainer))
428 
429  # NewVSI: LepTrack variation
430  from NewVrtSecInclusiveTool.NewVrtSecInclusiveAlgConfig import NewVrtSecInclusiveAlgLLPCfg
431  from NewVrtSecInclusiveTool.NewVrtSecInclusiveConfig import DVFinderToolCfg
432  IDAndGSFSuffix = "_IDAndGSF_LepTrack"
433 
434  NVSILepTrack_Tool = acc.popToolsAndMerge(DVFinderToolCfg(flags,FillHist=False,AugmentingVersionString=IDAndGSFSuffix,MaxZVrt=1000.,AntiPileupSigRCut=2.))
435  acc.merge(NewVrtSecInclusiveAlgLLPCfg(flags,
436  algname = "NVSI"+IDAndGSFSuffix,
437  AugmentingVersionString = IDAndGSFSuffix,
438  ElectronContainer = MergedElectronContainer,
439  MuonContainer = MergedMuonContainer,
440  TrackParticleContainer = MergedTrackCollection,
441  GSFTrackParticleContainer = MergedGSFTrackCollection,
442  BVertexContainerName = "NewVrtSecInclusive_SecondaryVertices"+IDAndGSFSuffix,
443  AddIDTracks = True,
444  AddGSFTracks = True,
445  RemoveNonLepVertices = True,
446  BVertexTool = NVSILepTrack_Tool))
447  LLP1NewVSISuffixes.append(IDAndGSFSuffix)
448 
449  # bad jet cleaning
450  jet_clean_prefix="DFCommonJets_"
451  jet_clean_container="AntiKt4EMTopoJets"
452  jet_clean_level="SuperLooseBadLLP"
453  from JetSelectorTools.JetSelectorToolsConfig import EventCleaningToolCfg, JetCleaningToolCfg
454  LLP1JetCleanSuperLLPTool = acc.popToolsAndMerge(JetCleaningToolCfg(flags,
455  "LLP1JetCleanSuperLLP",
456  jet_clean_container,
457  jet_clean_level,
458  False))
459  acc.addPublicTool(LLP1JetCleanSuperLLPTool)
460 
461  LLP1EventCleanSuperLLPTool = acc.popToolsAndMerge(EventCleaningToolCfg(flags,
462  "LLP1EventCleanSuperLLP",
463  jet_clean_level))
464  LLP1EventCleanSuperLLPTool.JetCleanPrefix = jet_clean_prefix
465  LLP1EventCleanSuperLLPTool.JetContainer = jet_clean_container
466  LLP1EventCleanSuperLLPTool.JetCleaningTool = LLP1JetCleanSuperLLPTool
467  acc.addPublicTool(LLP1EventCleanSuperLLPTool)
468 
469  LLP1EventCleanAlg = CompFactory.EventCleaningTestAlg(
470  "LLP1JetCleanDecoratorSuperLLP",
471  EventCleaningTool = LLP1EventCleanSuperLLPTool,
472  JetCollectionName = jet_clean_container,
473  EventCleanPrefix = jet_clean_prefix,
474  CleaningLevel = jet_clean_level,
475  doEvent = True)
476 
477  # Sequence for decorator locking.
478  # See comments in JetCommonConfig.AddEventCleanFlagsCfg.
479  acc.addSequence(CompFactory.AthSequencer('EventCleanSeq', Sequential=True))
480  acc.addEventAlgo(LLP1EventCleanAlg, 'EventCleanSeq')
481 
482 
483  from DerivationFrameworkLLP.LLPToolsConfig import AugmentationToolLeadingJetsCfg
484  augmentationToolLeadingJets = acc.getPrimaryAndMerge(AugmentationToolLeadingJetsCfg(flags))
485  acc.addEventAlgo(CompFactory.DerivationFramework.DerivationKernel(name, AugmentationTools = [augmentationToolLeadingJets]))
486 
487  # Thinning tools...
488  from DerivationFrameworkInDet.InDetToolsConfig import TrackParticleThinningCfg, EgammaTrackParticleThinningCfg, MuonTrackParticleThinningCfg, TauTrackParticleThinningCfg, DiTauTrackParticleThinningCfg
489  from DerivationFrameworkTools.DerivationFrameworkToolsConfig import GenericObjectThinningCfg
490  from DerivationFrameworkTau.TauCommonConfig import TauThinningCfg
491 
492  # Inner detector tracks need to have greater than 10 GeV of pT
493  LLP1TrackParticleThinningTool = acc.getPrimaryAndMerge(TrackParticleThinningCfg(
494  flags,
495  name = "LLP1TrackParticleThinningTool",
496  StreamName = kwargs['StreamName'],
497  SelectionString = "InDetTrackParticles.pt>10*GeV",
498  InDetTrackParticlesKey = "InDetTrackParticles"))
499  # Keep all GSF LRT Tracks
500  LLP1LRTGSFTrackParticleThinningTool = acc.getPrimaryAndMerge(TrackParticleThinningCfg(
501  flags,
502  name = "LLP1LRTGSFTrackParticleThinningTool",
503  StreamName = kwargs['StreamName'],
504  SelectionString = "LRTGSFTrackParticles.pt>0*GeV",
505  InDetTrackParticlesKey = "LRTGSFTrackParticles"))
506  # Pixel tracklets need to have greater than 5 GeV of pT
507  LLP1DTTrackParticleThinningTool = acc.getPrimaryAndMerge(TrackParticleThinningCfg(
508  flags,
509  name = "LLP1DTTrackParticleThinningTool",
510  StreamName = kwargs['StreamName'],
511  SelectionString = "InDetDisappearingTrackParticles.pt>5*GeV",
512  InDetTrackParticlesKey = "InDetDisappearingTrackParticles"))
513 
514  # Include inner detector tracks associated with electrons
515  LLP1ElectronTPThinningTool = acc.getPrimaryAndMerge(EgammaTrackParticleThinningCfg(
516  flags,
517  name = "LLP1ElectronTPThinningTool",
518  StreamName = kwargs['StreamName'],
519  SGKey = "Electrons",
520  InDetTrackParticlesKey = "InDetTrackParticles"))
521  # Include inner detector tracks associated with LRT electrons
522  LLP1LRTElectronTPThinningTool = acc.getPrimaryAndMerge(EgammaTrackParticleThinningCfg(
523  flags,
524  name = "LLP1LRTElectronTPThinningTool",
525  StreamName = kwargs['StreamName'],
526  SGKey = "LRTElectrons",
527  InDetTrackParticlesKey = "InDetLargeD0TrackParticles",
528  GSFTrackParticlesKey = "LRTGSFTrackParticles"))
529  # Include inner detector tracks associated with muons
530  LLP1MuonTPThinningTool = acc.getPrimaryAndMerge(MuonTrackParticleThinningCfg(
531  flags,
532  name = "LLP1MuonTPThinningTool",
533  StreamName = kwargs['StreamName'],
534  MuonKey = "Muons",
535  InDetTrackParticlesKey = "InDetTrackParticles"))
536  # Include LRT inner detector tracks associated with LRT muons
537  LLP1LRTMuonTPThinningTool = acc.getPrimaryAndMerge(MuonTrackParticleThinningCfg(
538  flags,
539  name = "LLP1LRTMuonTPThinningTool",
540  StreamName = kwargs['StreamName'],
541  MuonKey = "MuonsLRT",
542  InDetTrackParticlesKey = "InDetLargeD0TrackParticles"))
543 
544  # Tau-related containers: taus, tau tracks and associated ID tracks, neutral PFOs, secondary vertices
545  tau_thinning_expression = f"TauJets.pt >= {flags.Tau.MinPtDAOD}"
546  LLP1TauJetsThinningTool = acc.getPrimaryAndMerge(TauThinningCfg(
547  flags,
548  name = "LLP1TauJetThinningTool",
549  StreamName = kwargs['StreamName'],
550  Taus = "TauJets",
551  TauTracks = "TauTracks",
552  TrackParticles = "InDetTrackParticles",
553  TauNeutralPFOs = "TauNeutralParticleFlowObjects",
554  TauSecondaryVertices = "TauSecondaryVertices",
555  SelectionString = tau_thinning_expression))
556 
557  # Only keep tau tracks (and associated ID tracks) classified as charged tracks
558  LLP1TauTPThinningTool = acc.getPrimaryAndMerge(TauTrackParticleThinningCfg(
559  flags,
560  name = "LLP1TauTPThinningTool",
561  StreamName = kwargs['StreamName'],
562  TauKey = "TauJets",
563  InDetTrackParticlesKey = "InDetTrackParticles",
564  DoTauTracksThinning = True,
565  TauTracksKey = "TauTracks"))
566 
567  tau_murm_thinning_expression = tau_thinning_expression.replace('TauJets', 'TauJets_MuonRM')
568  LLP1TauJetMuonRMParticleThinningTool = acc.getPrimaryAndMerge(TauThinningCfg(
569  flags,
570  name = "LLP1TauJets_MuonRMThinningTool",
571  StreamName = kwargs['StreamName'],
572  Taus = "TauJets_MuonRM",
573  TauTracks = "TauTracks_MuonRM",
574  TrackParticles = "InDetTrackParticles",
575  TauNeutralPFOs = "TauNeutralParticleFlowObjects_MuonRM",
576  TauSecondaryVertices = "TauSecondaryVertices_MuonRM",
577  SelectionString = tau_murm_thinning_expression))
578 
579  # ID tracks associated with high-pt di-tau
580  LLP1DiTauTPThinningTool = acc.getPrimaryAndMerge(DiTauTrackParticleThinningCfg(
581  flags,
582  name = "LLP1DiTauTPThinningTool",
583  StreamName = kwargs['StreamName'],
584  DiTauKey = "DiTauJets",
585  InDetTrackParticlesKey = "InDetTrackParticles"))
586 
587 
588  LLP1DiTauLowPtThinningTool = acc.getPrimaryAndMerge(GenericObjectThinningCfg(
589  flags,
590  name = "LLP1DiTauLowPtThinningTool",
591  StreamName = kwargs['StreamName'],
592  ContainerName = "DiTauJetsLowPt",
593  SelectionString = "DiTauJetsLowPt.nSubjets > 1"))
594 
595  # ID tracks associated with low-pt ditau
596  LLP1DiTauLowPtTPThinningTool = acc.getPrimaryAndMerge(DiTauTrackParticleThinningCfg(
597  flags,
598  name = "LLP1DiTauLowPtTPThinningTool",
599  StreamName = kwargs['StreamName'],
600  DiTauKey = "DiTauJetsLowPt",
601  InDetTrackParticlesKey = "InDetTrackParticles",
602  SelectionString = "DiTauJetsLowPt.nSubjets > 1"))
603 
604 
605  # ID Tracks associated with secondary vertices
606  from DerivationFrameworkLLP.LLPToolsConfig import VSITrackParticleThinningCfg
607  LLP1VSITPThinningTool = acc.getPrimaryAndMerge(VSITrackParticleThinningCfg(flags,
608  name = "LLP1VSITPThinningTool",
609  StreamName = kwargs['StreamName'],
610  InDetTrackParticlesKey = "InDetTrackParticles",
611  AugVerStrings = LLP1VrtSecInclusiveSuffixes + LLP1NewVSISuffixes))
612  LLP1LRTVSITPThinningTool = acc.getPrimaryAndMerge(VSITrackParticleThinningCfg(flags,
613  name = "LLP1LRTVSITPThinningTool",
614  StreamName = kwargs['StreamName'],
615  InDetTrackParticlesKey = "InDetLargeD0TrackParticles",
616  AugVerStrings = LLP1VrtSecInclusiveSuffixes + LLP1NewVSISuffixes))
617  LLP1GSFVSITPThinningTool = acc.getPrimaryAndMerge(VSITrackParticleThinningCfg(flags,
618  name = "LLP1GSFVSITPThinningTool",
619  StreamName = kwargs['StreamName'],
620  InDetTrackParticlesKey = "GSFTrackParticles",
621  AugVerStrings = [IDAndGSFSuffix]))
622 
623  # ID Tracks associated with jets
624  from DerivationFrameworkLLP.LLPToolsConfig import JetTrackParticleThinningCfg, JetLargeD0TrackParticleThinningCfg
625  LLP1JetTPThinningTool = acc.getPrimaryAndMerge(JetTrackParticleThinningCfg(flags,
626  name = "LLP1JetTPThinningTool",
627  StreamName = kwargs['StreamName'],
628  JetKey = "AntiKt4EMTopoJets",
629  SelectionString = "(AntiKt4EMTopoJets.pt > 20.*GeV) && (abs(AntiKt4EMTopoJets.eta) < 2.5)",
630  InDetTrackParticlesKey = "InDetTrackParticles"))
631 
632  LLP1FatJetTPThinningTool = acc.getPrimaryAndMerge(JetTrackParticleThinningCfg( flags,
633  name = "LLP1FatJetTPThinningTool",
634  StreamName = kwargs['StreamName'],
635  JetKey = "AntiKt10EMTopoRCJets",
636  SelectionString = "(AntiKt10EMTopoRCJets.pt > 200.*GeV) && (abs(AntiKt10EMTopoRCJets.eta) < 2.5)",
637  InDetTrackParticlesKey = "InDetTrackParticles",
638  ))
639 
640  # LRT Tracks associated with jets
641  if flags.Tracking.doLargeD0:
642  LLP1LRTJetTPThinningTool = acc.getPrimaryAndMerge(JetLargeD0TrackParticleThinningCfg(flags,
643  name = "LLP1LRTJetTPThinningTool",
644  StreamName = kwargs['StreamName'],
645  JetKey = "AntiKt4EMTopoJets",
646  SelectionString = "(AntiKt4EMTopoJets.pt > 20.*GeV) && (abs(AntiKt4EMTopoJets.eta) < 2.5)",
647  InDetTrackParticlesKey = "InDetLargeD0TrackParticles"))
648 
649  LLP1LRTFatJetTPThinningTool = acc.getPrimaryAndMerge(JetLargeD0TrackParticleThinningCfg(flags,
650  name = "LLP1LRTFatJetTPThinningTool",
651  StreamName = kwargs['StreamName'],
652  JetKey = "AntiKt10EMTopoRCJets",
653  SelectionString = "(AntiKt10EMTopoRCJets.pt > 200.*GeV) && (abs(AntiKt10EMTopoRCJets.eta) < 2.5)",
654  InDetTrackParticlesKey = "InDetLargeD0TrackParticles",
655  ))
656 
657  # high dE/dx and low pT tracks
658  from DerivationFrameworkLLP.LLPToolsConfig import PixeldEdxTrackParticleThinningCfg
659  LLP1PixeldEdxTrackParticleThinningTool = acc.getPrimaryAndMerge(PixeldEdxTrackParticleThinningCfg(
660  flags,
661  name = "LLP1PixeldEdxTrackParticleThinningTool",
662  StreamName = kwargs['StreamName'],
663  InDetTrackParticlesKey = "InDetTrackParticles"))
664 
665 
666  #Thinning CaloCalTopoClusters associated to AntiKt4EMTopoJets
667  from DerivationFrameworkCalo.DerivationFrameworkCaloConfig import JetCaloClusterThinningCfg
668 
669  LLP1CCThinningTool = acc.getPrimaryAndMerge(JetCaloClusterThinningCfg(
670  flags,
671  name = "LLP1CCTool",
672  StreamName = kwargs['StreamName'],
673  SGKey = "AntiKt4EMTopoJets",
674  TopoClCollectionSGKey = "CaloCalTopoClusters",
675  SelectionString = "(AntiKt4EMTopoJets.DFDecoratorLeadingJets)",
676  AdditionalClustersKey = ["EMOriginTopoClusters","LCOriginTopoClusters"]
677  ))
678 
679 
680 
681 
682 
683  # Finally the kernel itself
684  thinningTools = [LLP1TrackParticleThinningTool,
685  LLP1DTTrackParticleThinningTool,
686  LLP1ElectronTPThinningTool,
687  LLP1LRTElectronTPThinningTool,
688  LLP1MuonTPThinningTool,
689  LLP1LRTMuonTPThinningTool,
690  LLP1TauJetsThinningTool,
691  LLP1TauTPThinningTool,
692  LLP1TauJetMuonRMParticleThinningTool,
693  LLP1DiTauTPThinningTool,
694  LLP1DiTauLowPtThinningTool,
695  LLP1DiTauLowPtTPThinningTool,
696  LLP1VSITPThinningTool,
697  LLP1LRTVSITPThinningTool,
698  LLP1GSFVSITPThinningTool,
699  LLP1JetTPThinningTool,
700  LLP1FatJetTPThinningTool,
701  LLP1PixeldEdxTrackParticleThinningTool,
702  LLP1CCThinningTool,
703  LLP1LRTGSFTrackParticleThinningTool
704  ]
705 
706  if flags.Tracking.doLargeD0:
707  thinningTools.append(LLP1LRTJetTPThinningTool)
708  thinningTools.append(LLP1LRTFatJetTPThinningTool)
709 
710  # Additionnal augmentations
711 
712  # Compute RC substructure variables from energy clusters
713  from DerivationFrameworkLLP.LLPToolsConfig import RCJetSubstructureAugCfg
714  LLP1RCJetSubstructureClustTrimAugTool = acc.getPrimaryAndMerge(RCJetSubstructureAugCfg(flags,
715  name = "LLP1RCJetSubstructureClustTrimAugTool",
716  StreamName = kwargs['StreamName'],
717  JetContainerKey = "AntiKt10EMTopoRCJets",
718  SelectionString = "(AntiKt10EMTopoRCJets.pt > 200.*GeV) && (abs(AntiKt10EMTopoRCJets.eta) < 2.5)",
719  GhostConstitNames = ["GhostLCTopoOrigin"],
720  Suffix = "clusterTrim",
721  Grooming = "Trimming",
722  RClusTrim = 0.2,
723  PtFracTrim = 0.05
724  ))
725  RCSubstructureClusterTrimAug = CompFactory.DerivationFramework.CommonAugmentation("RCSubstructureClusterTrimAug", AugmentationTools = [LLP1RCJetSubstructureClustTrimAugTool])
726  acc.addEventAlgo(RCSubstructureClusterTrimAug)
727 
728  LLP1RCJetSubstructureClustSDAugTool = acc.getPrimaryAndMerge(RCJetSubstructureAugCfg(flags,
729  name = "LLP1RCJetSubstructureClustSDAugTool",
730  StreamName = kwargs['StreamName'],
731  JetContainerKey = "AntiKt10EMTopoRCJets",
732  SelectionString = "(AntiKt10EMTopoRCJets.pt > 200.*GeV) && (abs(AntiKt10EMTopoRCJets.eta) < 2.5)",
733  GhostConstitNames = ["GhostLCTopoOrigin"],
734  Suffix = "clusterSoftDrop",
735  Grooming = "SoftDrop",
736  BetaSoft = 1.0,
737  ZcutSoft = 0.1
738  ))
739  RCSubstructureClusterSDAug = CompFactory.DerivationFramework.CommonAugmentation("RCSubstructureClusterSDAug", AugmentationTools = [LLP1RCJetSubstructureClustSDAugTool])
740  acc.addEventAlgo(RCSubstructureClusterSDAug)
741 
742  # Compute RC substructure variables from tracks
743  from DerivationFrameworkLLP.LLPToolsConfig import RCJetSubstructureAugCfg
744  LLP1RCJetSubstructureTrackTrimAugTool = acc.getPrimaryAndMerge(RCJetSubstructureAugCfg( flags,
745  name = "LLP1RCJetSubstructureTrackTrimAugTool",
746  StreamName = kwargs['StreamName'],
747  JetContainerKey = "AntiKt10EMTopoRCJets",
748  SelectionString = "(AntiKt10EMTopoRCJets.pt > 200.*GeV) && (abs(AntiKt10EMTopoRCJets.eta) < 2.5)",
749  GhostConstitNames = ["GhostTrack", "GhostTrackLRT"],
750  Suffix = "trackTrim",
751  Grooming = "Trimming",
752  RClusTrim = 0.2,
753  PtFracTrim = 0.05
754  ))
755  RCSubstructureTrackTrimAug = CompFactory.DerivationFramework.CommonAugmentation("RCSubstructureTrackTrimAug", AugmentationTools = [LLP1RCJetSubstructureTrackTrimAugTool])
756  acc.addEventAlgo(RCSubstructureTrackTrimAug)
757 
758  from DerivationFrameworkLLP.LLPToolsConfig import RCJetSubstructureAugCfg
759  LLP1RCJetSubstructureTrackSDAugTool = acc.getPrimaryAndMerge(RCJetSubstructureAugCfg( flags,
760  name = "LLP1RCJetSubstructureTrackSDAugTool",
761  StreamName = kwargs['StreamName'],
762  JetContainerKey = "AntiKt10EMTopoRCJets",
763  SelectionString = "(AntiKt10EMTopoRCJets.pt > 200.*GeV) && (abs(AntiKt10EMTopoRCJets.eta) < 2.5)",
764  GhostConstitNames = ["GhostTrack", "GhostTrackLRT"],
765  Suffix = "trackSoftDrop",
766  Grooming = "SoftDrop",
767  BetaSoft = 1.0,
768  ZcutSoft = 0.1
769  ))
770  RCSubstructureTrackSDAug = CompFactory.DerivationFramework.CommonAugmentation("RCSubstructureTrackSDAug", AugmentationTools = [LLP1RCJetSubstructureTrackSDAugTool])
771  acc.addEventAlgo(RCSubstructureTrackSDAug)
772 
773 
774 
775  # Skimming
776  skimmingTools = []
777 
778  from DerivationFrameworkLLP.LLPToolsConfig import LLP1TriggerSkimmingToolCfg
779  LLP1TriggerSkimmingTool = acc.getPrimaryAndMerge(LLP1TriggerSkimmingToolCfg(flags,
780  name = "LLP1TriggerSkimmingTool",
781  TriggerListsHelper = kwargs['TriggerListsHelper']))
782 
783  skimmingTools.append(LLP1TriggerSkimmingTool)
784 
785  DerivationKernel = CompFactory.DerivationFramework.DerivationKernel
786  acc.addEventAlgo(DerivationKernel(name,
787  SkimmingTools = skimmingTools,
788  ThinningTools = thinningTools,
789  AugmentationTools = augmentationTools))
790 
791  return acc
792 
793 
794 
795 
796 
797 

Variable Documentation

◆ LLP1NewVSISuffixes

list python.LLP1.LLP1NewVSISuffixes = []

Definition at line 20 of file LLP1.py.

◆ LLP1VrtSecInclusiveSuffixes

list python.LLP1.LLP1VrtSecInclusiveSuffixes = []

Definition at line 19 of file LLP1.py.

◆ MergedElectronContainer

string python.LLP1.MergedElectronContainer = "StdWithLRTElectrons"

Definition at line 14 of file LLP1.py.

◆ MergedGSFTrackCollection

string python.LLP1.MergedGSFTrackCollection = "InDetWithLRTGSFTrackParticles"

Definition at line 18 of file LLP1.py.

◆ MergedMuonContainer

string python.LLP1.MergedMuonContainer = "StdWithLRTMuons"

Definition at line 15 of file LLP1.py.

◆ MergedMuonContainer_wZPH

string python.LLP1.MergedMuonContainer_wZPH = "StdWithLRTMuons_wZPH"

Definition at line 16 of file LLP1.py.

◆ MergedTrackCollection

string python.LLP1.MergedTrackCollection = "InDetWithLRTTrackParticles"

Definition at line 17 of file LLP1.py.

python.LLPToolsConfig.RCJetSubstructureAugCfg
def RCJetSubstructureAugCfg(flags, name, **kwargs)
Definition: LLPToolsConfig.py:39
python.LLPToolsConfig.LLP1TriggerSkimmingToolCfg
def LLP1TriggerSkimmingToolCfg(flags, name, TriggerListsHelper, **kwargs)
Definition: LLPToolsConfig.py:91
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.LLPToolsConfig.VSITrackParticleThinningCfg
def VSITrackParticleThinningCfg(flags, name, **kwargs)
Definition: LLPToolsConfig.py:12
python.FtagDerivationConfig.FtagJetCollectionsCfg
def FtagJetCollectionsCfg(cfgFlags, jet_cols, pv_cols=None, trackAugmenterPrefix=None)
Definition: FtagDerivationConfig.py:36
python.EGammaLRTConfig.EGammaLRTCfg
def EGammaLRTCfg(ConfigFlags)
Definition: EGammaLRTConfig.py:15
python.JetSelectorToolsConfig.EventCleaningToolCfg
def EventCleaningToolCfg(ConfigFlags, name, cleaningLevel)
Definition: JetSelectorToolsConfig.py:14
python.JetCommonConfig.addOriginCorrectedClustersToSlimmingTool
def addOriginCorrectedClustersToSlimmingTool(slimhelper, writeLC=False, writeEM=False)
Helper to add origin corrected clusters to output.
Definition: JetCommonConfig.py:275
DerivationFrameworkCaloConfig.JetCaloClusterThinningCfg
def JetCaloClusterThinningCfg(flags, **kwargs)
Definition: DerivationFrameworkCaloConfig.py:110
python.LLPToolsConfig.TrackParametersKVUCfg
def TrackParametersKVUCfg(flags, name, **kwargs)
Definition: LLPToolsConfig.py:56
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.LLPToolsConfig.ZeroPixelHitMuonMergerAlgCfg
def ZeroPixelHitMuonMergerAlgCfg(flags, name='LLP1_MuonZPHMergingAlg', **kwargs)
Definition: LLPToolsConfig.py:187
VrtSecInclusiveConfig.VrtSecInclusiveCfg
def VrtSecInclusiveCfg(flags, name="VrtSecInclusive", **kwargs)
Definition: VrtSecInclusiveConfig.py:9
python.JetSelectorToolsConfig.JetCleaningToolCfg
def JetCleaningToolCfg(ConfigFlags, name, jetdef, cleaningLevel, useDecorations)
Definition: JetSelectorToolsConfig.py:6
python.InDetToolsConfig.TrackParticleThinningCfg
def TrackParticleThinningCfg(flags, name, **kwargs)
Definition: InDetToolsConfig.py:509
python.LLPToolsConfig.TrackParticleCaloCellDecoratorCfg
def TrackParticleCaloCellDecoratorCfg(flags, name, **kwargs)
Definition: LLPToolsConfig.py:74
python.InDetTrackSelectionToolConfig.InDetTrackSelectionTool_Loose_Cfg
def InDetTrackSelectionTool_Loose_Cfg(flags, name="InDetTrackSelectionTool_Loose", **kwargs)
Configs based on CutLevel Loose #####.
Definition: InDetTrackSelectionToolConfig.py:36
python.InDetToolsConfig.DiTauTrackParticleThinningCfg
def DiTauTrackParticleThinningCfg(flags, name, **kwargs)
Definition: InDetToolsConfig.py:614
python.TriggerMatchingCommonConfig.AddRun2TriggerMatchingToSlimmingHelper
def AddRun2TriggerMatchingToSlimmingHelper(**kwargs)
Definition: TriggerMatchingCommonConfig.py:49
DerivationFrameworkCaloConfig.MaxCellDecoratorCfg
def MaxCellDecoratorCfg(flags, **kwargs)
Definition: DerivationFrameworkCaloConfig.py:7
NewVrtSecInclusiveAlgConfig.NewVrtSecInclusiveAlgLLPCfg
def NewVrtSecInclusiveAlgLLPCfg(flags, algname="NVSI", AugmentingVersionString="", **kwargs)
Definition: NewVrtSecInclusiveAlgConfig.py:20
python.LLPToolsConfig.LRTElectronLHSelectorsCfg
def LRTElectronLHSelectorsCfg(flags)
Definition: LLPToolsConfig.py:235
python.LLPToolsConfig.LRTElectronMergerAlg
def LRTElectronMergerAlg(flags, name="LLP1_ElectronLRTMergingAlg", **kwargs)
Definition: LLPToolsConfig.py:200
python.AtlasExtrapolatorConfig.AtlasExtrapolatorCfg
def AtlasExtrapolatorCfg(flags, name='AtlasExtrapolator')
Definition: AtlasExtrapolatorConfig.py:63
python.JetRecConfig.registerAsInputConstit
def registerAsInputConstit(jetdef)
Definition: JetRecConfig.py:852
python.LLPToolsConfig.RecoverZeroPixelHitMuonsCfg
def RecoverZeroPixelHitMuonsCfg(flags)
Definition: LLPToolsConfig.py:382
python.LLPToolsConfig.JetLargeD0TrackParticleThinningCfg
def JetLargeD0TrackParticleThinningCfg(flags, name, **kwargs)
Definition: LLPToolsConfig.py:30
python.TrkVertexFitterUtilsConfig.AtlasFullLinearizedTrackFactoryCfg
def AtlasFullLinearizedTrackFactoryCfg(flags, name='AtlasFullLinearizedTrkFactory', **kwargs)
Definition: TrkVertexFitterUtilsConfig.py:20
InDetTrackSystematicsToolsConfig.TrackSystematicsAlgCfg
def TrackSystematicsAlgCfg(flags, name="InDetTrackSystematicsAlg", **kwargs)
Definition: InDetTrackSystematicsToolsConfig.py:112
python.JetRecConfig.JetRecCfg
def JetRecCfg(flags, jetdef, returnConfiguredDef=False)
Top level functions returning ComponentAccumulator out of JetDefinition.
Definition: JetRecConfig.py:36
python.MuonsCommonConfig.MuonsCommonCfg
def MuonsCommonCfg(flags, suff="")
Definition: MuonsCommonConfig.py:13
python.LLP1.LLP1KernelCfg
def LLP1KernelCfg(flags, name='LLP1Kernel', **kwargs)
Definition: LLP1.py:23
NewVrtSecInclusiveConfig.DVFinderToolCfg
def DVFinderToolCfg(flags, name="DVFinderTool", **myargs)
Definition: NewVrtSecInclusiveConfig.py:158
MuSAVtxFitterConfig
Definition: MuSAVtxFitterConfig.py:1
DerivationFrameworkCaloConfig.MaxCellDecoratorKernelCfg
def MaxCellDecoratorKernelCfg(flags, name="MaxCellDecoratorKernel", **kwargs)
Definition: DerivationFrameworkCaloConfig.py:69
python.DerivationFrameworkToolsConfig.GenericObjectThinningCfg
def GenericObjectThinningCfg(ConfigFlags, name, **kwargs)
Definition: DerivationFrameworkToolsConfig.py:20
python.InDetToolsConfig.JetTrackParticleThinningCfg
def JetTrackParticleThinningCfg(flags, name, **kwargs)
Definition: InDetToolsConfig.py:625
python.InDetToolsConfig.MuonTrackParticleThinningCfg
def MuonTrackParticleThinningCfg(flags, name, **kwargs)
Definition: InDetToolsConfig.py:593
python.InDetToolsConfig.TauTrackParticleThinningCfg
def TauTrackParticleThinningCfg(flags, name, **kwargs)
Definition: InDetToolsConfig.py:604
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10
python.LLP1.LLP1Cfg
def LLP1Cfg(flags)
Definition: LLP1.py:798
IsoToolsConfig.CaloIsolationToolCfg
def CaloIsolationToolCfg(flags, **kwargs)
Definition: IsoToolsConfig.py:25
python.TrackIsolationDecoratorConfig.TrackIsolationToolCfg
def TrackIsolationToolCfg(ConfigFlags, name="TrackIsolationTool", **kwargs)
Definition: TrackIsolationDecoratorConfig.py:12
python.MCTruthCommonConfig.addTruth3ContentToSlimmerTool
def addTruth3ContentToSlimmerTool(slimmer)
Definition: MCTruthCommonConfig.py:466
python.InDetToolsConfig.InDetLRTMergeCfg
def InDetLRTMergeCfg(flags, name="InDetLRTMerge", **kwargs)
Definition: InDetToolsConfig.py:14
python.InDetToolsConfig.EgammaTrackParticleThinningCfg
def EgammaTrackParticleThinningCfg(flags, name, **kwargs)
Definition: InDetToolsConfig.py:644
python.LLPToolsConfig.PhotonIsEMSelectorsCfg
def PhotonIsEMSelectorsCfg(flags)
Definition: LLPToolsConfig.py:207
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.TauCommonConfig.TauThinningCfg
def TauThinningCfg(flags, name, **kwargs)
Definition: TauCommonConfig.py:258
python.LLPToolsConfig.AugmentationToolLeadingJetsCfg
def AugmentationToolLeadingJetsCfg(flags)
Definition: LLPToolsConfig.py:48
python.PhysCommonConfig.PhysCommonAugmentationsCfg
def PhysCommonAugmentationsCfg(flags, **kwargs)
Definition: PhysCommonConfig.py:14
python.LLPToolsConfig.PixeldEdxTrackParticleThinningCfg
def PixeldEdxTrackParticleThinningCfg(flags, name, **kwargs)
Definition: LLPToolsConfig.py:83
InfileMetaDataConfig.SetupMetaDataForStreamCfg
def SetupMetaDataForStreamCfg(flags, streamName="", AcceptAlgs=None, createMetadata=None, propagateMetadataFromInput=True, *args, **kwargs)
Definition: InfileMetaDataConfig.py:222
SlimmingHelper
Definition: SlimmingHelper.py:1
python.HION12.DerivationKernel
DerivationKernel
Definition: HION12.py:66
python.InDetToolsConfig.IsolationTrackDecoratorCfg
def IsolationTrackDecoratorCfg(flags, name, **kwargs)
Definition: InDetToolsConfig.py:498
python.METCommonConfig.METLRTCfg
def METLRTCfg(ConfigFlags, jetType)
Definition: METCommonConfig.py:52
python.LLPToolsConfig.LLP1TriggerMatchingToolRun2Cfg
def LLP1TriggerMatchingToolRun2Cfg(flags, name, **kwargs)
Definition: LLPToolsConfig.py:145