Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add in bunch spacing producer to PAT/rePAT steps. #3

Open
wants to merge 1 commit into
base: centralBSProd
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
from PhysicsTools.PatAlgos.slimming.modifyPrimaryPhysicsObjects_cff import *
from PhysicsTools.PatAlgos.slimming.MicroEventContent_cff import *

EIsequence = cms.Sequence( modifyPrimaryPhysicsObjects )
from RecoLuminosity.LumiProducer.bunchSpacingProducer_cfi import *

EIsequence = cms.Sequence( bunchSpacingProducer*modifyPrimaryPhysicsObjects )
3 changes: 3 additions & 0 deletions PhysicsTools/PatAlgos/python/slimming/miniAOD_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,9 @@ def miniAOD_customizeCommon(process):
## Force a re-run of the tau id during MiniAOD production stage
process.load('RecoTauTag.Configuration.RecoPFTauTag_cff')

#bunch spacing producer
process.load('RecoLuminosity.LumiProducer.bunchSpacingProducer_cfi')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this go into a lower level pat sequence?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MiniAOD is run only in unscheduled mode, there are no sequences.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On Sep 29, 2015, at 1:56 PM, Lindsey Gray [email protected] wrote:

In PhysicsTools/PatAlgos/python/slimming/miniAOD_tools.py:

@@ -284,6 +284,9 @@ def miniAOD_customizeCommon(process):
## Force a re-run of the tau id during MiniAOD production stage
process.load('RecoTauTag.Configuration.RecoPFTauTag_cff')

  • #bunch spacing producer
  • process.load('RecoLuminosity.LumiProducer.bunchSpacingProducer_cfi')

MiniAOD is run in unscheduled mode, there are no sequences.

right - but this is a fairly high level config (and miniAOD specific).

maybe better in Configuration/StandardSequences/PAT_cff

but still thinking..


Reply to this email directly or view it on GitHub.


def miniAOD_customizeMC(process):
#slimmed pileup information
process.load('PhysicsTools.PatAlgos.slimming.slimmedAddPileupInfo_cfi')
Expand Down