Skip to content

Commit

Permalink
Merge pull request cms-sw#10 from WMass/WmassNanoProd_10_6_26
Browse files Browse the repository at this point in the history
Sync for Wmass main
  • Loading branch information
sroychow authored Mar 19, 2024
2 parents dc410c5 + 447a9b9 commit d4645e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions PhysicsTools/NanoAOD/python/genWeights_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

lheWeightsNano = lheWeights.clone()
lheWeightsNano.weightProductLabels = ["lheWeights"]
# fix for crashing for bkg samples
lheWeightsNano.failIfInvalidXML = cms.untracked.bool(False)

genWeightsTable = cms.EDProducer("GenWeightsTableProducer",
lheWeightPrecision = cms.int32(14),
Expand Down
4 changes: 2 additions & 2 deletions PhysicsTools/NanoAOD/python/generalTracks_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

generalTrackTable = cms.EDProducer("SimpleTrackFlatTableProducer",
src = cms.InputTag("generalTracks"),
cut = cms.string("pt > 15"), # filtered already above
cut = cms.string("pt > 10"), # filtered already above
name = cms.string("Track"),
doc = cms.string("General tracks with pt > 15 GeV"),
doc = cms.string("General tracks with pt > 10 GeV"),
singleton = cms.bool(False), # the number of entries is variable
extension = cms.bool(False), # this is the main table for the muons
variables = cms.PSet(P3Vars,
Expand Down
2 changes: 1 addition & 1 deletion PhysicsTools/NanoAOD/python/muons_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
tracksfrommuons = cms.EDProducer("TrackProducerFromPatMuons",
src = cms.InputTag("linkedObjects", "muons"),
innerTrackOnly = cms.bool(False),
ptMin = cms.double(8.),
ptMin = cms.double(-1.),
)

trackrefit = cms.EDProducer('ResidualGlobalCorrectionMakerG4e',
Expand Down

0 comments on commit d4645e9

Please sign in to comment.