CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/ElectroWeakAnalysis/WMuNu/python/WMuNuSelection_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from ElectroWeakAnalysis.WMuNu.wmunusProducer_cfi import *
00004 
00005 # Paths for WMuNuSelector filtering of events
00006 # Be careful: events may contain more than one WMunuCandidate if they
00007 #             contain more than one muon. 
00008 # The "real" WMuNuCandidate selected is the first one of the collection
00009 
00010 selcorMet = cms.EDFilter("WMuNuSelector",
00011       # Fill Basc Histograms? ->
00012       plotHistograms = cms.untracked.bool(False),
00013 
00014       # Input collections ->
00015       MuonTag = cms.untracked.InputTag("muons"),
00016       TrigTag = cms.untracked.InputTag("TriggerResults::HLT8E29"),
00017       #TrigTag = cms.untracked.InputTag("TriggerResults::HLT"),
00018       JetTag = cms.untracked.InputTag("antikt5CaloJets"),
00019       WMuNuCollectionTag = cms.untracked.InputTag("corMetWMuNus"),
00020 
00021       # Preselection! 
00022       MuonTrig = cms.untracked.string("HLT_Mu9"),
00023       PtThrForZ1 = cms.untracked.double(20.0),
00024       PtThrForZ2 = cms.untracked.double(10.0),
00025       EJetMin = cms.untracked.double(40.),
00026       NJetMax = cms.untracked.int32(999999),
00027 
00028       # Main cuts ->
00029       PtCut = cms.untracked.double(25.0),
00030       EtaCut = cms.untracked.double(2.1),
00031       IsRelativeIso = cms.untracked.bool(True),
00032       IsCombinedIso = cms.untracked.bool(False),
00033       IsoCut03 = cms.untracked.double(0.1),
00034       MtMin = cms.untracked.double(50.0),
00035       MtMax = cms.untracked.double(200.0),
00036       MetMin = cms.untracked.double(-999999.),
00037       MetMax = cms.untracked.double(999999.),
00038       AcopCut = cms.untracked.double(2.),
00039 
00040       # Muon quality cuts ->
00041       DxyCut = cms.untracked.double(0.2),
00042       NormalizedChi2Cut = cms.untracked.double(10.),
00043       TrackerHitsCut = cms.untracked.int32(11),
00044       IsAlsoTrackerMuon = cms.untracked.bool(True),
00045 
00046       # Select only W-, W+ ( default is all Ws)  
00047       SelectByCharge=cms.untracked.int32(0)
00048 
00049 )
00050 
00051 selpfMet = cms.EDFilter("WMuNuSelector",
00052       # Fill Basc Histograms? ->
00053       plotHistograms = cms.untracked.bool(False),
00054 
00055       # Input collections ->
00056       MuonTag = cms.untracked.InputTag("muons"),
00057       TrigTag = cms.untracked.InputTag("TriggerResults::HLT8E29"),
00058       #TrigTag = cms.untracked.InputTag("TriggerResults::HLT"),
00059       JetTag = cms.untracked.InputTag("antikt5CaloJets"),
00060       WMuNuCollectionTag = cms.untracked.InputTag("pfMetWMuNus"),
00061 
00062       # Preselection! 
00063       MuonTrig = cms.untracked.string("HLT_Mu9"),
00064       PtThrForZ1 = cms.untracked.double(20.0),
00065       PtThrForZ2 = cms.untracked.double(10.0),
00066       EJetMin = cms.untracked.double(40.),
00067       NJetMax = cms.untracked.int32(999999),
00068 
00069       # Main cuts -> 
00070       UseTrackerPt = cms.untracked.bool(True),
00071       PtCut = cms.untracked.double(25.0),
00072       EtaCut = cms.untracked.double(2.1),
00073       IsRelativeIso = cms.untracked.bool(True),
00074       IsCombinedIso = cms.untracked.bool(False),
00075       IsoCut03 = cms.untracked.double(0.1),
00076       MtMin = cms.untracked.double(50.0),
00077       MtMax = cms.untracked.double(200.0),
00078       MetMin = cms.untracked.double(-999999.),
00079       MetMax = cms.untracked.double(999999.),
00080       AcopCut = cms.untracked.double(2.),
00081 
00082       # Muon quality cuts ->
00083       DxyCut = cms.untracked.double(0.2),
00084       NormalizedChi2Cut = cms.untracked.double(10.),
00085       TrackerHitsCut = cms.untracked.int32(11),
00086       IsAlsoTrackerMuon = cms.untracked.bool(True),
00087 
00088       # Select only W-, W+ ( default is all Ws)
00089       SelectByCharge=cms.untracked.int32(0)
00090 
00091 )
00092 
00093 seltcMet = cms.EDFilter("WMuNuSelector",
00094       # Fill Basc Histograms? ->
00095       plotHistograms = cms.untracked.bool(False),
00096 
00097       # Input collections ->
00098       MuonTag = cms.untracked.InputTag("muons"),
00099       TrigTag = cms.untracked.InputTag("TriggerResults::HLT8E29"),
00100       #TrigTag = cms.untracked.InputTag("TriggerResults::HLT"),
00101       JetTag = cms.untracked.InputTag("antikt5CaloJets"),
00102       WMuNuCollectionTag = cms.untracked.InputTag("tcMetWMuNus"),
00103 
00104       # Preselection! 
00105       MuonTrig = cms.untracked.string("HLT_Mu9"),
00106       PtThrForZ1 = cms.untracked.double(20.0),
00107       PtThrForZ2 = cms.untracked.double(10.0),
00108       EJetMin = cms.untracked.double(40.),
00109       NJetMax = cms.untracked.int32(999999),
00110 
00111       # Main cuts ->
00112       UseTrackerPt = cms.untracked.bool(True),
00113       PtCut = cms.untracked.double(25.0),
00114       EtaCut = cms.untracked.double(2.1),
00115       IsRelativeIso = cms.untracked.bool(True),
00116       IsCombinedIso = cms.untracked.bool(False),
00117       IsoCut03 = cms.untracked.double(0.1),
00118       MtMin = cms.untracked.double(50.0),
00119       MtMax = cms.untracked.double(200.0),
00120       MetMin = cms.untracked.double(-999999.),
00121       MetMax = cms.untracked.double(999999.),
00122       AcopCut = cms.untracked.double(2.),
00123 
00124       # Muon quality cuts ->
00125       DxyCut = cms.untracked.double(0.2),
00126       NormalizedChi2Cut = cms.untracked.double(10.),
00127       TrackerHitsCut = cms.untracked.int32(11),
00128       IsAlsoTrackerMuon = cms.untracked.bool(True),
00129 
00130       # Select only W-, W+ ( default is all Ws)
00131       SelectByCharge=cms.untracked.int32(0)
00132 
00133 )
00134 
00135 selectCaloMetWMuNus = cms.Sequence(corMetWMuNus+selcorMet)
00136 
00137 selectPfMetWMuNus = cms.Sequence(pfMetWMuNus+selpfMet)
00138 
00139 selectTcMetWMuNus = cms.Sequence(tcMetWMuNus+seltcMet)
00140 
00141