diff --git a/Reconstruction/Jet/JetRec/python/JetRecStandardTools.py b/Reconstruction/Jet/JetRec/python/JetRecStandardTools.py index 7ab44865911d9eecdc1df7dc82c9c7543e5f5b89..c8b9d9d5804eb38ae3710b1986c86dda7a18bd91 100644 --- a/Reconstruction/Jet/JetRec/python/JetRecStandardTools.py +++ b/Reconstruction/Jet/JetRec/python/JetRecStandardTools.py @@ -97,6 +97,10 @@ if jtm.haveParticleJetTools: from ParticleJetTools.ParticleJetToolsConf import CopyTruthJetParticles from ParticleJetTools.ParticleJetToolsConf import ParticleJetDeltaRLabelTool + +ghostScaleFactor = 1e-40 + + #-------------------------------------------------------------- # Track selection. #-------------------------------------------------------------- @@ -210,7 +214,7 @@ jtm += JetConstituentsRetriever( UseJetConstituents = True, PseudojetRetriever = jtm.jpjretriever, GhostLabels = labs, - GhostScale = 1.e-20 + GhostScale = ghostScaleFactor ) #-------------------------------------------------------------- @@ -256,7 +260,7 @@ jtm += TrackPseudoJetGetter( OutputContainer = "PseudoJetGhostTracks", TrackVertexAssociation = jtm.tvassoc.TrackVertexAssociation, SkipNegativeEnergy = True, - GhostScale = 1e-20 + GhostScale = ghostScaleFactor ) # Muon segments @@ -333,7 +337,7 @@ jtm += PseudoJetGetter( Label = "GhostAntiKt2TrackJet", # this is the name you'll use to retrieve associated ghosts OutputContainer = "PseudoJetGhostAntiKt2TrackJet", SkipNegativeEnergy = True, - GhostScale = 1.e-20, # This makes the PseudoJet Ghosts, and thus the reco flow will treat them as so. + GhostScale = ghostScaleFactor, # This makes the PseudoJet Ghosts, and thus the reco flow will treat them as so. ) # AntiKt3 track jets. @@ -343,7 +347,7 @@ jtm += PseudoJetGetter( Label = "GhostAntiKt3TrackJet", # this is the name you'll use to retrieve associated ghosts OutputContainer = "PseudoJetGhostAntiKt3TrackJet", SkipNegativeEnergy = True, - GhostScale = 1.e-20, # This makes the PseudoJet Ghosts, and thus the reco flow will treat them as so. + GhostScale = ghostScaleFactor, # This makes the PseudoJet Ghosts, and thus the reco flow will treat them as so. ) # AntiKt4 track jets. @@ -353,7 +357,7 @@ jtm += PseudoJetGetter( Label = "GhostAntiKt4TrackJet", # this is the name you'll use to retrieve associated ghosts OutputContainer = "PseudoJetGhostAntiKt4TrackJet", SkipNegativeEnergy = True, - GhostScale = 1.e-20, # This makes the PseudoJet Ghosts, and thus the reco flow will treat them as so. + GhostScale = ghostScaleFactor, # This makes the PseudoJet Ghosts, and thus the reco flow will treat them as so. ) # Truth. @@ -381,7 +385,7 @@ if jetFlags.useTruth and jtm.haveParticleJetTools: Label = "GhostTruth", InputContainer = jtm.truthpartcopy.OutputName, OutputContainer = "PseudoJetGhostTruth", - GhostScale = 1.e-20, + GhostScale = ghostScaleFactor, SkipNegativeEnergy = True, ) @@ -393,7 +397,7 @@ if jetFlags.useTruth and jtm.haveParticleJetTools: Label = "Ghost" + ptype, OutputContainer = "PseudoJetGhost" + ptype, SkipNegativeEnergy = True, - GhostScale = 1e-20 + GhostScale = ghostScaleFactor, ) # ParticleJetTools tools may be omitted in analysi releases.