Example #1
0
process.pLep = cms.Path()

#--------------------------------------------------------------------
#  _    _      _       _     _
# | |  | |    (_)     | |   | |
# | |  | | ___ _  __ _| |__ | |_ ___
# | |/\| |/ _ \ |/ _` | '_ \| __/ __|
# \  /\  /  __/ | (_| | | | | |_\__ \
#  \/  \/ \___|_|\__, |_| |_|\__|___/
#                 __/ |
#                |___/

from HWWAnalysis.DileptonSelector.weights_cff import addWeights

addWeights(process,
           pileUpLabel,
           higgsMass=options.higgsPtWeights,
           summary=True)

process.pLep *= process.eventWeights

#---------------------------------------------------------
#  _____    _
# |_   _|  (_)
#   | |_ __ _  __ _  __ _  ___ _ __
#   | | '__| |/ _` |/ _` |/ _ \ '__|
#   | | |  | | (_| | (_| |  __/ |
#   \_/_|  |_|\__, |\__, |\___|_|
#              __/ | __/ |
#             |___/ |___/

process.load('HWWAnalysis.DileptonSelector.hltFilter_cff')
Example #2
0
    process.hltFilter.mode = cms.string(options.dataPath)
    process.pLep *= process.hltFilter

#--------------------------------------------------------------------
#  _    _      _       _     _       
# | |  | |    (_)     | |   | |      
# | |  | | ___ _  __ _| |__ | |_ ___ 
# | |/\| |/ _ \ |/ _` | '_ \| __/ __|
# \  /\  /  __/ | (_| | | | | |_\__ \
#  \/  \/ \___|_|\__, |_| |_|\__|___/
#                 __/ |              
#                |___/               

from HWWAnalysis.DileptonSelector.weights_cff import addWeights

addWeights( process, pileUpLabel, higgsMass=options.higgsPtWeights )
process.puWeights.src = cms.InputTag("hwwViews")
process.ptWeights.src = cms.InputTag("hwwViews")

process.pLep *= process.weightSequence

#--------------------------------------------------------------------
# ______      _ _          ______ _       
# | ___ \    | | |         | ___ (_)      
# | |_/ /___ | | | ___ _ __| |_/ /_ _ __  
# |    // _ \| | |/ _ \ '__|  __/| | '_ \ 
# | |\ \ (_) | | |  __/ |  | |   | | | | |
# \_| \_\___/|_|_|\___|_|  \_|   |_|_| |_|

process.load("HWWAnalysis.DileptonSelector.roller_cff")
Example #3
0
    process.hltFilter.mode = cms.string(options.dataPath)
    process.pLep *= process.hltFilter

#--------------------------------------------------------------------
#  _    _      _       _     _
# | |  | |    (_)     | |   | |
# | |  | | ___ _  __ _| |__ | |_ ___
# | |/\| |/ _ \ |/ _` | '_ \| __/ __|
# \  /\  /  __/ | (_| | | | | |_\__ \
#  \/  \/ \___|_|\__, |_| |_|\__|___/
#                 __/ |
#                |___/

from HWWAnalysis.DileptonSelector.weights_cff import addWeights

addWeights(process, pileUpLabel, higgsMass=options.higgsPtWeights)
process.puWeights.src = cms.InputTag("hwwViews")
process.ptWeights.src = cms.InputTag("hwwViews")

process.pLep *= process.weightSequence

#--------------------------------------------------------------------
# ______      _ _          ______ _
# | ___ \    | | |         | ___ (_)
# | |_/ /___ | | | ___ _ __| |_/ /_ _ __
# |    // _ \| | |/ _ \ '__|  __/| | '_ \
# | |\ \ (_) | | |  __/ |  | |   | | | | |
# \_| \_\___/|_|_|\___|_|  \_|   |_|_| |_|

process.load("HWWAnalysis.DileptonSelector.roller_cff")