import FWCore.ParameterSet.Config as cms

from Analysis.BoostedTopAnalysis.BoostedTopWTagParams_cfi import boostedTopWTagParams
from PhysicsTools.SelectorUtils.wplusjetsAnalysis_cfi import wplusjetsAnalysis as wPlusJets


semileptonicAnalysis = cms.PSet(
    hadronicWParams = boostedTopWTagParams.clone(),
    semileptonicSelection = cms.PSet(
        WPlusJetsParams = wPlusJets.clone(
            jetSrc = cms.InputTag("selectedPatJetsCA8PrunedPF"),
            minJets = cms.int32(2),
            muPtMin = cms.double(25.0),
            jetPtMin = cms.double(25.0),
            muonIdTight  = wPlusJets.muonIdTight.clone( cutsToIgnore= ['RelIso']),
            muJetDR = cms.double(-1.0)
            ),
        jetSrc = cms.InputTag("selectedPatJetsCA8PrunedPF"),
        trigTag = cms.InputTag("patTriggerEvent"),
        cutsToIgnore      = cms.vstring(['Trigger']), #'Relative Pt','Minimum Delta R' ,'Opposite leadJetPt'
        dRMin             = cms.double(0.5),
        ptRelMin          = cms.double(25.0),
        mu                = cms.double(0.7),
        ycut              = cms.double(0.1),
        anyLeadJetPt      = cms.double(260.0),
        oppLeadJetPt      = cms.double(100.0),
        htLepCut          = cms.double(150.0),
        bDiscriminator    = cms.string('trackCountingHighEffBJetTags'),
        bDiscriminatorCut = cms.double(2.96)
        )
process.ttbsmAna = cms.EDFilter('TTBSMProducer',
                                wTagSrc = cms.InputTag('patJetsCA8CHSprunedPacked'),
                                topTagSrc = cms.InputTag('patJetsCMSTopTagCHSPacked'),
                                trigSrc = cms.InputTag('hltTriggerSummaryAOD'),
                                rhoSrc = cms.InputTag('kt6PFJets','rho'),#'fixedGridRhoAll','')#ak4PFJets', 'rho'),#kt6PFJets
                                genJetsSrc = cms.InputTag('ca8GenJets'),
				                        pvSrc = cms.InputTag(primaryvertices),
                                readTrig = cms.bool(False),
                                trigs = cms.vstring(
                                    ''
                                    ),
                                topTagParams = caTopTagParams.clone(
                                    tagName = cms.string('CATop')
                                    ),
                                wTagParams = boostedTopWTagParams.clone(
                                    yCut = cms.double(0.0)
                                    ),
                                jetScale = cms.double(0.0),   #
                                jetPtSmear = cms.double(0.1), # note these three are fractional
                                jetEtaSmear = cms.double(0.1),#
                                jecPayloads = cms.vstring([
                                    'START53_L1FastJet_AK7PFchs.txt',
                                    'START53_L2Relative_AK7PFchs.txt',
                                    'START53_L3Absolute_AK7PFchs.txt',
                                    #'START53_L2L3Residual_AK7PFchs.txt',
                                    'START53_Uncertainty_AK7PFchs.txt'
                                    ]),
                                pdfSet = cms.string("")

)
Example #3
0
    'HLT_HT750_v9', 'HLT_HT750_v10', 'HLT_HT750_v11', 'HLT_HT750_v12',
    'HLT_PFJet320_v1', 'HLT_PFJet320_v2', 'HLT_PFJet320_v3', 'HLT_PFJet320_v4',
    'HLT_PFJet320_v5', 'HLT_PFJet320_v6', 'HLT_PFJet320_v7', 'HLT_PFJet320_v8',
    'HLT_PFJet320_v9', 'HLT_PFJet320_v10'
]
process.ttbsmAna = cms.EDFilter(
    'TTBSMProducer',
    wTagSrc=cms.InputTag('goodPatJetsCA8PrunedPFPacked'),
    topTagSrc=cms.InputTag('goodPatJetsCATopTagPFPacked'),
    trigSrc=cms.InputTag('hltTriggerSummaryAOD'),
    rhoSrc=cms.InputTag('kt6PFJets', 'rho'),
    pvSrc=cms.InputTag('goodOfflinePrimaryVertices'),
    genJetsSrc=cms.InputTag('goodPatJetsCATopTagPFPacked'),
    trigs=cms.vstring(myAnaTrigs),
    topTagParams=caTopTagParams.clone(tagName=cms.string('CATop')),
    wTagParams=boostedTopWTagParams.clone(yCut=cms.double(0.0)),
    readTrig=cms.bool(True),
    jetScale=cms.double(0.0),  #
    jetPtSmear=cms.double(-99.0),  # note these three are fractional
    jetEtaSmear=cms.double(0.0),  #
    jecPayloads=cms.vstring([
        'FT_53_V10_AN3_L1FastJet_AK7PFchs.txt',
        'FT_53_V10_AN3_L2Relative_AK7PFchs.txt',
        'FT_53_V10_AN3_L3Absolute_AK7PFchs.txt',
        'FT_53_V10_AN3_L2L3Residual_AK7PFchs.txt',
        'FT_53_V10_AN3_Uncertainty_AK7PFchs.txt'
    ]),
    pdfSet=cms.string(""))

process.triggerMatcher = cms.EDProducer(
    "PATTriggerMatcherDRLessByR",
Example #4
0
import FWCore.ParameterSet.Config as cms

from Analysis.BoostedTopAnalysis.BoostedTopWTagParams_cfi import boostedTopWTagParams
from PhysicsTools.SelectorUtils.wplusjetsAnalysis_cfi import wplusjetsAnalysis as wPlusJets

semileptonicAnalysis = cms.PSet(
    hadronicWParams=boostedTopWTagParams.clone(),
    semileptonicSelection=cms.PSet(
        WPlusJetsParams=wPlusJets.clone(
            jetSrc=cms.InputTag("selectedPatJetsCA8PrunedPF"),
            minJets=cms.int32(2),
            muPtMin=cms.double(25.0),
            jetPtMin=cms.double(25.0),
            muonIdTight=wPlusJets.muonIdTight.clone(cutsToIgnore=['RelIso']),
            muJetDR=cms.double(-1.0)),
        jetSrc=cms.InputTag("selectedPatJetsCA8PrunedPF"),
        trigTag=cms.InputTag("patTriggerEvent"),
        cutsToIgnore=cms.vstring([
            'Trigger'
        ]),  #'Relative Pt','Minimum Delta R' ,'Opposite leadJetPt'
        dRMin=cms.double(0.5),
        ptRelMin=cms.double(25.0),
        mu=cms.double(0.7),
        ycut=cms.double(0.1),
        anyLeadJetPt=cms.double(260.0),
        oppLeadJetPt=cms.double(100.0),
        htLepCut=cms.double(150.0),
        bDiscriminator=cms.string('trackCountingHighEffBJetTags'),
        bDiscriminatorCut=cms.double(2.96)))
Example #5
0
import FWCore.ParameterSet.Config as cms

from PhysicsTools.SelectorUtils.pvSelector_cfi import pvSelector as pvSel
from PhysicsTools.SelectorUtils.jetIDSelector_cfi import jetIDSelector
from PhysicsTools.SelectorUtils.pfJetIDSelector_cfi import pfJetIDSelector
from Analysis.BoostedTopAnalysis.CATopTagParams_cfi import caTopTagParams as inputCATopTagParams
from Analysis.BoostedTopAnalysis.BoostedTopWTagParams_cfi import boostedTopWTagParams as inputBoostedTopWTagParams

hadronicAnalysis = cms.PSet(
    pvSelector=cms.PSet(pvSel.clone()),
    caTopTagParams=cms.PSet(inputCATopTagParams.clone()),
    boostedTopWTagParams=cms.PSet(inputBoostedTopWTagParams.clone()),
    dijetSelectorParams=cms.PSet(
        jetSrc=cms.InputTag('selectedPatJetsCA8PrunedCalo'),
        pfJetSrc=cms.InputTag('selectedPatJetsCA8PrunedPF'),
        metSrc=cms.InputTag('patMETs'),
        pfMetSrc=cms.InputTag('patMETsPF'),
        useCalo=cms.bool(False),
        minNJets=cms.uint32(2),
        ptMin=cms.double(25.0),
        etaMax=cms.double(3.0),
        htMin=cms.double(0.0),
        ht2Min=cms.double(0.0)),
    jetIDParams=cms.PSet(jetIDSelector.clone()),
    pfJetIDParams=cms.PSet(pfJetIDSelector.clone()),
    pvSrc=cms.InputTag('offlinePrimaryVertices'),
    trigSrc=cms.InputTag('patTriggerEvent'),
    trig=cms.string('HLT_Jet30U'),
    minTags=cms.uint32(0),
    minNPV=cms.int32(0),
    maxNPV=cms.int32(100000),
import FWCore.ParameterSet.Config as cms

from PhysicsTools.SelectorUtils.pvSelector_cfi import pvSelector as pvSel
from PhysicsTools.SelectorUtils.jetIDSelector_cfi import jetIDSelector
from PhysicsTools.SelectorUtils.pfJetIDSelector_cfi import pfJetIDSelector
from Analysis.BoostedTopAnalysis.CATopTagParams_cfi import caTopTagParams as inputCATopTagParams
from Analysis.BoostedTopAnalysis.BoostedTopWTagParams_cfi import boostedTopWTagParams as inputBoostedTopWTagParams

hadronicAnalysis = cms.PSet(
    pvSelector = cms.PSet( pvSel.clone() ),
    caTopTagParams = cms.PSet ( inputCATopTagParams.clone() ),
    boostedTopWTagParams = cms.PSet( inputBoostedTopWTagParams.clone() ),
    dijetSelectorParams = cms.PSet(
        jetSrc = cms.InputTag('selectedPatJetsCA8PrunedCalo'),
        pfJetSrc = cms.InputTag('selectedPatJetsCA8PrunedPF'),
        metSrc = cms.InputTag('patMETs'),
        pfMetSrc = cms.InputTag('patMETsPF'),
        useCalo = cms.bool(False),
        minNJets = cms.uint32(2),
        ptMin = cms.double(25.0),
        etaMax = cms.double(3.0),
        htMin = cms.double(0.0),
        ht2Min = cms.double(0.0)
        ),
    jetIDParams = cms.PSet( jetIDSelector.clone() ),
    pfJetIDParams = cms.PSet( pfJetIDSelector.clone() ),
    pvSrc = cms.InputTag('offlinePrimaryVertices'),
    trigSrc = cms.InputTag('patTriggerEvent'),
    trig = cms.string('HLT_Jet30U'),
    minTags = cms.uint32(0),
    minNPV = cms.int32(0),