Exemplo n.º 1
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 ),
Exemplo n.º 2
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),
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('D0', 'MaxMissingHits','electronID','ConversionRejection', "MVA")
        ),
    muonIdPFLoose = pfMuonSelector.clone(
        cutsToIgnore=cms.vstring('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'),
    rhoSrc = cms.InputTag('kt6PFJetsPFlow', 'rho'),
    trig = cms.string(''),
    pvSrc   = cms.InputTag('goodOfflinePrimaryVertices'),    
    # kinematic cuts
    minJets        = cms.int32( 1 ),
    muPtMin        = cms.double( 20.0 ),
    muEtaMax       = cms.double( 2.1 ),
Exemplo n.º 4
0
 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')
 ),
 # loose electrons
 electronIdLoose = pfElectronSelector.clone(
 version = cms.string('SPRING11'),
 MVA = cms.double(-0.01),
 MaxMissingHits = cms.int32(1),
 D0 = cms.double(999.0),
 electronIDused = cms.string('eidLooseMC'),
 ConversionRejection = cms.bool(False),
 PFIso = cms.double(0.2),
 cutsToIgnore = cms.vstring('MVA', 'D0', 'MaxMissingHits', 'ConversionRejection')
 ),