CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
wplusjetsAnalysis_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from PhysicsTools.SelectorUtils.pvSelector_cfi import pvSelector as pvSel
4 from PhysicsTools.SelectorUtils.jetIDSelector_cfi import jetIDSelector
5 from PhysicsTools.SelectorUtils.pfJetIDSelector_cfi import pfJetIDSelector
6 
7 
8 
9 wplusjetsAnalysis = cms.PSet(
10  # Primary vertex
11  pvSelector = cms.PSet( pvSel.clone() ),
12  # input parameter sets
13  muonSrc = cms.InputTag('selectedPatMuons'),
14  electronSrc = cms.InputTag('selectedPatElectrons'),
15  jetSrc = cms.InputTag('selectedPatJets'),
16  jetClonesSrc = cms.InputTag('myClones'),
17  metSrc = cms.InputTag('patMETs'),
18  trigSrc = cms.InputTag('patTriggerEvent'),
19  muTrig = cms.string('HLT_Mu9'),
20  eleTrig = cms.string('HLT_Ele15_LW_L1R'),
21  # tight muons
22  muonIdTight = cms.PSet(
23  version = cms.string('SPRING10'),
24  Chi2 = cms.double(10.0),
25  D0 = cms.double(0.02),
26  ED0 = cms.double(999.0),
27  SD0 = cms.double(999.0),
28  NHits = cms.int32(11),
29  NValMuHits = cms.int32(0),
30  ECalVeto = cms.double(999.0),
31  HCalVeto = cms.double(999.0),
32  RelIso = cms.double(0.05),
33  cutsToIgnore = cms.vstring('ED0', 'SD0', 'ECalVeto', 'HCalVeto'),
34  RecalcFromBeamSpot = cms.bool(False),
35  beamLineSrc = cms.InputTag("offlineBeamSpot")
36  ),
37  # tight electrons
38  electronIdTight = cms.PSet(
39  version = cms.string('FIRSTDATA'),
40  D0 = cms.double(999.0),
41  ED0 = cms.double(999.0),
42  SD0 = cms.double(3.0),
43  RelIso = cms.double( 0.1 ),
44  cutsToIgnore = cms.vstring('D0', 'ED0')
45  ),
46  # loose muons
47  muonIdLoose = cms.PSet(
48  version = cms.string('SPRING10'),
49  Chi2 = cms.double(999.0),
50  D0 = cms.double(999.0),
51  ED0 = cms.double(999.0),
52  SD0 = cms.double(999.0),
53  NHits = cms.int32(-1),
54  NValMuHits = cms.int32(-1),
55  ECalVeto = cms.double(999.0),
56  HCalVeto = cms.double(999.0),
57  RelIso = cms.double(0.2),
58  cutsToIgnore = cms.vstring('Chi2', 'D0', 'ED0', 'SD0', 'NHits','NValMuHits','ECalVeto','HCalVeto'),
59  RecalcFromBeamSpot = cms.bool(False),
60  beamLineSrc = cms.InputTag("offlineBeamSpot")
61  ),
62  # loose electrons
63  electronIdLoose = cms.PSet(
64  version = cms.string('FIRSTDATA'),
65  D0 = cms.double(999.0),
66  ED0 = cms.double(999.0),
67  SD0 = cms.double(999.0),
68  RelIso = cms.double( 0.2 ),
69  cutsToIgnore = cms.vstring( 'D0', 'ED0', 'SD0')
70  ),
71  # loose jets
72  jetIdLoose = jetIDSelector.clone(),
73  pfjetIdLoose = pfJetIDSelector.clone(),
74  # kinematic cuts
75  minJets = cms.int32( 1 ),
76  muPlusJets = cms.bool( True ),
77  ePlusJets = cms.bool( False ),
78  muPtMin = cms.double( 20.0 ),
79  muEtaMax = cms.double( 2.1 ),
80  eleEtMin = cms.double( 20.0 ),
81  eleEtaMax = cms.double( 2.4 ),
82  muPtMinLoose = cms.double( 10.0 ),
83  muEtaMaxLoose = cms.double( 2.5 ),
84  eleEtMinLoose = cms.double( 15.0 ),
85  eleEtaMaxLoose = cms.double( 2.5 ),
86  jetPtMin = cms.double( 30.0 ),
87  jetEtaMax = cms.double( 2.4 ),
88  jetScale = cms.double( 1.0 ),
89  metMin = cms.double( 0.0 ),
90  muJetDR = cms.double( 0.3 ),
91  useJetClones = cms.bool(False),
92  eleJetDR = cms.double( 0.3 ),
93  rawJetPtCut = cms.double( 0.0 )
94 )