Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:33:18

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from PhysicsTools.SelectorUtils.pvSelector_cfi import pvSelector as pvSel
0004 from PhysicsTools.SelectorUtils.jetIDSelector_cfi import jetIDSelector
0005 from PhysicsTools.SelectorUtils.pfJetIDSelector_cfi import pfJetIDSelector
0006 
0007 
0008 
0009 wplusjetsAnalysis = cms.PSet(
0010     # Primary vertex
0011     pvSelector = cms.PSet( pvSel.clone() ),
0012     # input parameter sets
0013     muonSrc = cms.InputTag('selectedPatMuons'),
0014     electronSrc = cms.InputTag('selectedPatElectrons'),
0015     jetSrc = cms.InputTag('selectedPatJets'),
0016     jetClonesSrc = cms.InputTag('myClones'),
0017     metSrc = cms.InputTag('patMETs'),
0018     trigSrc = cms.InputTag('patTriggerEvent'),
0019     muTrig = cms.string('HLT_Mu9'),
0020     eleTrig = cms.string('HLT_Ele15_LW_L1R'),
0021     # tight muons
0022     muonIdTight = cms.PSet(
0023         version = cms.string('SPRING10'),
0024         Chi2 = cms.double(10.0),
0025         D0 = cms.double(0.02),
0026         ED0 = cms.double(999.0),
0027         SD0 = cms.double(999.0),
0028         NHits = cms.int32(11),
0029         NValMuHits = cms.int32(0),
0030         ECalVeto = cms.double(999.0),
0031         HCalVeto = cms.double(999.0),
0032         RelIso = cms.double(0.05),
0033         cutsToIgnore = cms.vstring('ED0', 'SD0', 'ECalVeto', 'HCalVeto'),
0034         RecalcFromBeamSpot = cms.bool(False),
0035         beamLineSrc = cms.InputTag("offlineBeamSpot")
0036         ),
0037     # tight electrons
0038     electronIdTight = cms.PSet(
0039         version = cms.string('FIRSTDATA'),
0040         D0 = cms.double(999.0),
0041         ED0 = cms.double(999.0),
0042         SD0 = cms.double(3.0),
0043         RelIso = cms.double( 0.1 ),
0044         cutsToIgnore = cms.vstring('D0', 'ED0')
0045         ),
0046     # loose muons
0047     muonIdLoose = cms.PSet(
0048         version = cms.string('SPRING10'),
0049         Chi2 = cms.double(999.0),
0050         D0 = cms.double(999.0),
0051         ED0 = cms.double(999.0),
0052         SD0 = cms.double(999.0),
0053         NHits = cms.int32(-1),
0054         NValMuHits = cms.int32(-1),
0055         ECalVeto = cms.double(999.0),
0056         HCalVeto = cms.double(999.0),
0057         RelIso = cms.double(0.2),
0058         cutsToIgnore = cms.vstring('Chi2', 'D0', 'ED0', 'SD0', 'NHits','NValMuHits','ECalVeto','HCalVeto'),
0059         RecalcFromBeamSpot = cms.bool(False),
0060         beamLineSrc = cms.InputTag("offlineBeamSpot")
0061         ),
0062     # loose electrons
0063     electronIdLoose = cms.PSet(
0064         version = cms.string('FIRSTDATA'),
0065         D0 = cms.double(999.0),
0066         ED0 = cms.double(999.0),
0067         SD0 = cms.double(999.0),
0068         RelIso = cms.double( 0.2 ),
0069         cutsToIgnore = cms.vstring( 'D0', 'ED0', 'SD0')
0070         ),
0071     # loose jets
0072     jetIdLoose = jetIDSelector.clone(),
0073     pfjetIdLoose = pfJetIDSelector.clone(),
0074     # kinematic cuts
0075     minJets        = cms.int32( 1 ),
0076     muPlusJets     = cms.bool( True ),
0077     ePlusJets      = cms.bool( False ),
0078     muPtMin        = cms.double( 20.0 ),
0079     muEtaMax       = cms.double( 2.1 ),
0080     eleEtMin       = cms.double( 20.0 ),
0081     eleEtaMax      = cms.double( 2.4 ),
0082     muPtMinLoose   = cms.double( 10.0 ),
0083     muEtaMaxLoose  = cms.double( 2.5 ),
0084     eleEtMinLoose  = cms.double( 15.0 ),
0085     eleEtaMaxLoose = cms.double( 2.5 ),    
0086     jetPtMin       = cms.double( 30.0 ),
0087     jetEtaMax      = cms.double( 2.4 ),
0088     jetScale       = cms.double( 1.0 ),
0089     metMin         = cms.double( 0.0 ),
0090     muJetDR        = cms.double( 0.3 ),
0091     useJetClones   = cms.bool(False),
0092     eleJetDR       = cms.double( 0.3 ),
0093     rawJetPtCut    = cms.double( 0.0 )
0094 )