Skip to content
Snippets Groups Projects

Draft: [trigEGam] Integration beteween mongroups and TrigEgammaMonitoring

Closed Edmar Egidio Purcino De Souza requested to merge eegidiop/athena:tegmonGroups into 22.0
1 file
+ 17
8
Compare changes
  • Side-by-side
  • Inline
@@ -298,13 +298,14 @@ DerivationFrameworkJob += CfgMgr.DerivationFramework__DerivationKernel(
SkimmingTools = [BPHY9_SelectEvent])
#====================================================================
# JetTagNonPromptLepton decorations
# LeptonTaggers decorations
#====================================================================
import JetTagNonPromptLepton.JetTagNonPromptLeptonConfig as JetTagConfig
import LeptonTaggers.LeptonTaggersConfig as LepTagConfig
# Build AntiKt4PV0TrackJets and run b-tagging
JetTagConfig.ConfigureAntiKt4PV0TrackJets(BPHY9Seq, 'BPHY9')
LepTagConfig.ConfigureAntiKt4PV0TrackJets(BPHY9Seq, 'BPHY9')
# Add BDT decoration algs
BPHY9Seq += JetTagConfig.GetDecoratePromptLeptonAlgs()
BPHY9Seq += LepTagConfig.GetDecoratePromptLeptonAlgs()
BPHY9Seq += LepTagConfig.GetDecorateImprovedPromptLeptonAlgs()
DerivationFrameworkJob += BPHY9Seq
#====================================================================
@@ -331,7 +332,8 @@ BPHY9SlimmingHelper.SmartCollections = ['AntiKt4EMPFlowJets',
extraJetVariables = '.JetEMScaleMomentum_pt.JetEMScaleMomentum_eta.JetEMScaleMomentum_phi.JetEMScaleMomentum_m'\
+'.ConeTruthLabelID.PartonTruthLabelID.SumPtTrkPt1000.Jvt.JvtJvfcorr.JvtRpt'\
+'.HECFrac.LArQuality.HECQuality.NegativeE.AverageLArQF'
+'.HECFrac.LArQuality.HECQuality.NegativeE.AverageLArQF'\
+'.GhostAntiKt2TrackJet.GhostAntiKt4TrackJet.GhostMuonSegment.GhostTrackCount.GhostTrackPt'
BPHY9SlimmingHelper.ExtraVariables = ['AntiKt4EMPFlowJets'+extraJetVariables,
'AntiKt4EMTopoJets'+extraJetVariables,
@@ -355,6 +357,9 @@ BPHY9SlimmingHelper.ExtraVariables = ['AntiKt4EMPFlowJets'+extraJetVariables,
'PrimaryVertices'+'.x'
+'.y']
BPHY9SlimmingHelper.ExtraVariables += LepTagConfig.GetExtraPromptVariablesForDxAOD()
BPHY9SlimmingHelper.ExtraVariables += LepTagConfig.GetExtraImprovedPromptVariablesForDxAOD()
BPHY9Stream.StaticContent = []
# Slimming for truth content
@@ -368,10 +373,12 @@ if is_MC:
BPHY9SlimmingHelper.ExtraVariables += ['CombinedMuonTrackParticles'+'.truthOrigin'
+'.truthType'
+'.truthParticleLink',
+'.truthParticleLink'
+'.truthMatchProbability',
'Electrons'+'.truthOrigin'
+'.truthType'
+'.truthParticleLink'
+'.truthMatchProbability'
+'.bkgTruthType'
+'.bkgTruthOrigin'
+'.bkgTruthParticleLink'
@@ -379,10 +386,12 @@ if is_MC:
+'.deltaPhi1',
'InDetTrackParticles'+'.truthOrigin'
+'.truthType'
+'.truthParticleLink',
+'.truthParticleLink'
+'.truthMatchProbability',
'MuonTruthParticles'+'.truthOrigin'
+'.truthType'
+'.truthParticleLink']
+'.truthParticleLink'
+'.truthMatchProbability']
BPHY9SlimmingHelper.StaticContent += ['xAOD::TruthParticleContainer#TruthMuons',
'xAOD::TruthParticleAuxContainer#TruthMuonsAux.',
Loading