Skip to content

Commit

Permalink
crete miniIso sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
perrozzi committed Aug 26, 2015
1 parent 7b7584c commit b4c7884
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions test/zmumu/tp_from_aod_Data.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@
process.load("PhysicsTools.PatAlgos.recoLayer0.pfParticleSelectionForIso_cff")

process.miniIsoSeq = cms.Sequence(
process.pfParticleSelectionForIsoSequence +
process.muonMiniIsoCharged +
process.muonMiniIsoPUCharged +
process.muonMiniIsoNeutrals +
Expand All @@ -254,6 +255,7 @@
process.mvaIsoVariablesSeq * process.mvaIsoVariablesTag * process.radialIso +
process.splitTrackTagger +
process.muonDxyPVdzmin +
process.miniIsoSeq
)

process.tnpSimpleSequence = cms.Sequence(
Expand All @@ -278,8 +280,6 @@
process.fastFilter +
process.mergedMuons *
process.patMuonsWithTriggerSequence +
process.pfParticleSelectionForIsoSequence +
process.miniIsoSeq +
process.tnpSimpleSequence
)

Expand Down
14 changes: 9 additions & 5 deletions test/zmumu/tp_from_aod_MC.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,16 +217,21 @@
process.load("MuonAnalysis.TagAndProbe.muon.tag_probe_muon_extraIso_cfi")
process.load("PhysicsTools.PatAlgos.recoLayer0.pfParticleSelectionForIso_cff")

process.miniIsoSeq = cms.Sequence(
process.pfParticleSelectionForIsoSequence +
process.muonMiniIsoCharged +
process.muonMiniIsoPUCharged +
process.muonMiniIsoNeutrals +
process.muonMiniIsoPhotons
)

process.extraProbeVariablesSeq = cms.Sequence(
process.probeMuonsIsoSequence +
process.computeCorrectedIso +
process.mvaIsoVariablesSeq * process.mvaIsoVariablesTag * process.radialIso +
process.splitTrackTagger +
process.muonDxyPVdzmin +
process.muonMiniIsoCharged +
process.muonMiniIsoPUCharged +
process.muonMiniIsoNeutrals +
process.muonMiniIsoPhotons
process.miniIsoSeq
)

process.tnpSimpleSequence = cms.Sequence(
Expand All @@ -250,7 +255,6 @@
process.fastFilter +
process.mergedMuons *
process.patMuonsWithTriggerSequence +
process.pfParticleSelectionForIsoSequence +
process.tnpSimpleSequence
)

Expand Down

0 comments on commit b4c7884

Please sign in to comment.