Commit fdaa9862 authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

DerivationFrameworkTop: Update GenericTruthThinning for MT thinning.

    
Convert GenericTruthThinning to use MT-compatible thinning.
Update uses of it (pass stream name rather than thinning service).
parent a2f2f964
......@@ -319,7 +319,7 @@ def setup(TOPQname, streamName, TOPQThinningSvc, ToolSvc):
from DerivationFrameworkMCTruth.DerivationFrameworkMCTruthConf import DerivationFramework__GenericTruthThinning
TOPQPhotonThinning = DerivationFramework__GenericTruthThinning(
name = TOPQname + "PhotonThinning",
ThinningService = TOPQThinningSvc,
StreamName = streamName,
ParticlesKey = "TruthPhotons",
ParticleSelectionString = "(TruthPhotons.classifierParticleOrigin != 42) || (TruthPhotons.pt > 20.0*GeV)")
......@@ -334,7 +334,7 @@ def setup(TOPQname, streamName, TOPQThinningSvc, ToolSvc):
#from DerivationFrameworkMCTruth.DerivationFrameworkMCTruthConf import DerivationFramework__GenericTruthThinning
#TOPQGluonThinning = DerivationFramework__GenericTruthThinning(
# name = TOPQname + "GluonThinning",
# ThinningService = TOPQThinningSvc,
# StreamName = streamName,
# ParticlesKey = "TruthParticles",
# ParticleSelectionString = "(TruthParticles.pdgId != 21)")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment