1 import FWCore.ParameterSet.Config
as cms
4 from EgammaAnalysis.ElectronTools.electronRegressionEnergyProducer_cfi
import eleRegressionEnergy
5 from EgammaAnalysis.ElectronTools.calibratedPatElectrons_cfi
import calibratedPatElectrons
11 selectedMuons = selectedPatMuons.clone(
12 src = cms.InputTag(
'patMuons' )
16 preSignalMuons = selectedPatMuons.clone(
17 src = cms.InputTag(
'selectedMuons' )
21 signalMuons = cms.EDProducer(
23 , muonSource = cms.InputTag(
'preSignalMuons' )
24 , vertexSource = cms.InputTag(
'offlinePrimaryVertices' )
25 , maxDZ = cms.double( 999. )
28 standAloneSignalMuonFilter = cms.EDFilter(
29 "PATCandViewCountFilter" 30 , src = cms.InputTag(
'signalMuons' )
31 , minNumber = cms.uint32( 1 )
32 , maxNumber = cms.uint32( 1 )
37 standAloneLooseMuonVetoFilter = cms.EDFilter(
38 "PATCandViewCountFilter" 39 , src = cms.InputTag(
'selectedMuons' )
40 , minNumber = cms.uint32( 0 )
41 , maxNumber = cms.uint32( 1 )
46 electronsWithRegression = eleRegressionEnergy.clone(
47 inputElectronsTag = cms.InputTag(
'patElectrons' )
48 , rhoCollection = cms.InputTag(
'fixedGridRhoFastjetAll' )
49 , vertexCollection = cms.InputTag(
'offlinePrimaryVertices' )
51 calibratedElectrons = calibratedPatElectrons.clone(
52 inputPatElectronsTag = cms.InputTag(
'electronsWithRegression' )
53 , inputDataset =
'Summer12' 56 selectedElectrons = selectedPatElectrons.clone(
57 src = cms.InputTag(
'patElectrons' )
61 standAloneElectronVetoFilter = cms.EDFilter(
62 "PATCandViewCountFilter" 63 , src = cms.InputTag(
'selectedElectrons' )
64 , minNumber = cms.uint32( 0 )
65 , maxNumber = cms.uint32( 0 )
70 selectedJets = selectedPatJets.clone(
71 src = cms.InputTag(
'patJets' )
75 signalVeryTightJets = selectedPatJets.clone(
76 src = cms.InputTag(
'selectedJets' )
80 standAloneSignalVeryTightJetsFilter = cms.EDFilter(
81 "PATCandViewCountFilter" 82 , src = cms.InputTag(
'signalVeryTightJets' )
83 , minNumber = cms.uint32( 1 )
84 , maxNumber = cms.uint32( 99 )
87 signalTightJets = selectedPatJets.clone(
88 src = cms.InputTag(
'selectedJets' )
92 standAloneSignalTightJetsFilter = cms.EDFilter(
93 "PATCandViewCountFilter" 94 , src = cms.InputTag(
'signalTightJets' )
95 , minNumber = cms.uint32( 2 )
96 , maxNumber = cms.uint32( 99 )
99 signalLooseJets = selectedPatJets.clone(
100 src = cms.InputTag(
'selectedJets' )
104 standAloneSignalLooseJetsFilter = cms.EDFilter(
105 "PATCandViewCountFilter" 106 , src = cms.InputTag(
'signalLooseJets' )
107 , minNumber = cms.uint32( 3 )
108 , maxNumber = cms.uint32( 99 )
113 signalVeryLooseJets = selectedPatJets.clone(
114 src = cms.InputTag(
'selectedJets' )
118 standAloneSignalVeryLooseJetsFilter = cms.EDFilter(
119 "PATCandViewCountFilter" 120 , src = cms.InputTag(
'signalVeryLooseJets' )
121 , minNumber = cms.uint32( 4 )
122 , maxNumber = cms.uint32( 99 )
127 selectedBTagJets = selectedPatJets.clone(
128 src = cms.InputTag(
'selectedJets' )
132 standAloneSignalBTagsFilter = cms.EDFilter(
133 "PATCandViewCountFilter" 134 , src = cms.InputTag(
'selectedBTagJets' )
135 , minNumber = cms.uint32( 2 )
136 , maxNumber = cms.uint32( 99 )