Exemple #1
0
                                                                 trigs = itrigs,
                                                                 jecPayloads = cms.vstring( jecLevels )
                                                                 )
                                           )

process.ca8PrunedAnalyzerBTagSearch = cms.EDAnalyzer('EDJetStudies2011',
                                                     jetStudies2011.clone( jetSrc = cms.InputTag('goodPatJetsCA8PrunedPF'),
                                                                           useCA8GenJets = cms.bool(True),
                                                                           useBTags = cms.bool(True),
                                                                           orderByMass =cms.bool(True),
                                                                           trigs = itrigs,
                                                                           jecPayloads = cms.vstring( jecLevels ),
                                                                           muonSrc = cms.InputTag('selectedPatMuonsLoosePFlow'),
                                                                           rCut = cms.double(0.8),
                                                                           muonInJetSelector = pfMuonSelector.clone(
                                                                               cutsToIgnore = cms.vstring(['PFIso', 'D0'])
                                                                               )
                                                                           )
                                                     )

process.ca8PrunedAnalyzerBTagMuSearch = cms.EDAnalyzer('EDJetStudies2011',
                                                     jetStudies2011.clone( jetSrc = cms.InputTag('goodPatJetsCA8PrunedPF'),
                                                                           useCA8GenJets = cms.bool(True),
                                                                           useBTags = cms.bool(True),
                                                                           orderByMass = cms.bool(True),
                                                                           trigs = cms.vstring([
                                                                               'HLT_Mu24_v1'
                                                                               ]),
                                                                           jecPayloads = cms.vstring( jecLevels ),
                                                                           muonSrc = cms.InputTag('selectedPatMuonsLoosePFlow'),
                                                                           rCut = cms.double(0.8),
import FWCore.ParameterSet.Config as cms

from PhysicsTools.SelectorUtils.pfElectronSelector_cfi import pfElectronSelector
from PhysicsTools.SelectorUtils.pfMuonSelector_cfi import pfMuonSelector

shyftPFSelection = cms.PSet(
    electronIdPFTight = pfElectronSelector.clone(
        cutsToIngnore=cms.vstring()
        ),
    muonIdPFTight = pfMuonSelector.clone(
        cutsToIngnore=cms.vstring()
        ),
    electronIdPFLoose = pfElectronSelector.clone(
        cutsToIgnore = cms.vstring()#'PFIso', 'MaxMissingHits','ConversionRejection')
        ),
    muonIdPFLoose = pfMuonSelector.clone(
        cutsToIngnore=cms.vstring()#'PFIso','Chi2','D0','NHits','NValMuHits','nPixelHits','nMatchedStations')
        ),
    # input parameter sets
    muonSrc = cms.InputTag('selectedPatMuonsPFlow'),
    electronSrc = cms.InputTag('selectedPatElectronsPFlow'),
    jetSrc = cms.InputTag('goodPatJetsPFlow'),
    metSrc = cms.InputTag('patMETsPFlow'),
    trigSrc = cms.InputTag('patTriggerEvent'),
    trig = cms.string(''),
    pvSrc   = cms.InputTag('goodOfflinePrimaryVertices'),    
    # kinematic cuts
    minJets        = cms.int32( 1 ),
    muPtMin        = cms.double( 20.0 ),
    muEtaMax       = cms.double( 2.1 ),
    eleEtMin       = cms.double( 20.0 ),
 muTrig = cms.string('HLT_Mu9'),
 eleTrig = cms.string('HLT_Ele10_LW_L1R'),
 pvSrc   = cms.InputTag('goodOfflinePrimaryVertices'),
 rhoSrc  = cms.InputTag('kt6PFJetsPFlow', 'rho'),
 useWP95Selection = cms.bool(False),
 useWP70Selection = cms.bool(True),
 usePFIso = cms.bool(True),
 useNoID  = cms.bool(False),
 useVBTFDetIso  = cms.bool(False),
 # tight muons
 muonIdTight = pfMuonSelector.clone(
 version = cms.string('SPRING11'),
 Chi2 = cms.double(10.0),
 D0 = cms.double(0.02),
 NHits = cms.int32(11),
 NValMuHits = cms.int32(0),
 PFIso = cms.double(0.125),
 nPixelHits = cms.int32(1),
 nMatchedStations=cms.int32(1),
 cutsToIgnore=cms.vstring()
 ),
 # tight electrons
 electronIdTight = pfElectronSelector.clone(
 version = cms.string('SPRING11'),
 MVA = cms.double(-0.01),
 MaxMissingHits = cms.int32(1),
 D0 = cms.double(0.02),
 electronIDused = cms.string('eidSuperTightMC'),
 ConversionRejection = cms.bool(False),
 PFIso = cms.double(0.1),
 cutsToIgnore = cms.vstring('MVA', 'ConversionRejection', 'MaxMissingHits')
Exemple #4
0
import FWCore.ParameterSet.Config as cms

from PhysicsTools.SelectorUtils.pfElectronSelector_cfi import pfElectronSelector
from PhysicsTools.SelectorUtils.pfMuonSelector_cfi import pfMuonSelector

shyftPFSelection = cms.PSet(
    electronIdPFTight=pfElectronSelector.clone(cutsToIngnore=cms.vstring()),
    muonIdPFTight=pfMuonSelector.clone(cutsToIngnore=cms.vstring()),
    electronIdPFLoose=pfElectronSelector.clone(cutsToIgnore=cms.vstring(
    )  #'PFIso', 'MaxMissingHits','ConversionRejection')
                                               ),
    muonIdPFLoose=pfMuonSelector.clone(cutsToIngnore=cms.vstring(
    )  #'PFIso','Chi2','D0','NHits','NValMuHits','nPixelHits','nMatchedStations')
                                       ),
    # input parameter sets
    muonSrc=cms.InputTag('selectedPatMuonsPFlow'),
    electronSrc=cms.InputTag('selectedPatElectronsPFlow'),
    jetSrc=cms.InputTag('goodPatJetsPFlow'),
    metSrc=cms.InputTag('patMETsPFlow'),
    trigSrc=cms.InputTag('patTriggerEvent'),
    trig=cms.string(''),
    pvSrc=cms.InputTag('goodOfflinePrimaryVertices'),
    # kinematic cuts
    minJets=cms.int32(1),
    muPtMin=cms.double(20.0),
    muEtaMax=cms.double(2.1),
    eleEtMin=cms.double(20.0),
    eleEtaMax=cms.double(2.4),
    muPtMinLoose=cms.double(10.0),
    muEtaMaxLoose=cms.double(2.5),
    eleEtMinLoose=cms.double(15.0),
Exemple #5
0
import FWCore.ParameterSet.Config as cms

from PhysicsTools.SelectorUtils.pfElectronSelector_cfi import pfElectronSelector
from PhysicsTools.SelectorUtils.pfMuonSelector_cfi import pfMuonSelector

shyftPFSelection = cms.PSet(
    electronIdPFTight = pfElectronSelector.clone(
        cutsToIgnore=cms.vstring()
        ),
    muonIdPFTight = pfMuonSelector.clone(
        cutsToIgnore=cms.vstring()
        ),
    electronIdPFLoose = pfElectronSelector.clone(
        cutsToIgnore = cms.vstring('Fiducial','MaxMissingHits','D0','ConversionRejection','MVA')
        ),
    muonIdPFLoose = pfMuonSelector.clone(
        cutsToIgnore=cms.vstring('Chi2','minTrackerLayers','minValidMuHits','maxIp','minPixelHits','minMatchedStations')
        ),
    # input parameter sets
    muonSrc = cms.InputTag('selectedPatMuonsPFlow'),
    electronSrc = cms.InputTag('selectedPatElectronsPFlow'),
    jetSrc = cms.InputTag('goodPatJetsPFlow'),
    metSrc = cms.InputTag('patMETsPFlow'),
    trigSrc = cms.InputTag('patTriggerEvent'),
    rhoSrc = cms.InputTag('kt6PFJets', 'rho'),
    trig = cms.string(''),
    pvSrc   = cms.InputTag('goodOfflinePrimaryVertices'),    
    # kinematic cuts
    minJets        = cms.int32( 1 ),
    muPtMin        = cms.double( 20.0 ),
    muEtaMax       = cms.double( 2.1 ),