CMS 3D CMS Logo

ewkElecDQM_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # DQM monitor module for EWK-WMuNu
4 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
5 ewkElecDQM = DQMEDAnalyzer('EwkElecDQM',
6 
7  stageL1Trigger = cms.uint32(1),
8 
9  # Input collections ->
10  TrigTag = cms.untracked.InputTag("TriggerResults::HLT"),
11 # MuonTag = cms.untracked.InputTag("muons"),
12  ElecTag = cms.untracked.InputTag("gedGsfElectrons"),
13  METTag = cms.untracked.InputTag("pfMet"),
14  METIncludesMuons = cms.untracked.bool(False),
15  JetTag = cms.untracked.InputTag("ak4PFJets"),
16 # JetTag = cms.untracked.InputTag("ak4CaloJets"),
17 # JetTag = cms.untracked.InputTag("sisCone5CaloJets"),
18  VertexTag= cms.untracked.InputTag("offlinePrimaryVertices"),
19  BeamSpotTag = cms.untracked.InputTag("offlineBeamSpot"),
20 
21  # Main cuts ->
22 # MuonTrig = cms.untracked.string("HLT_Mu9"),
23  ElecTrig = cms.untracked.vstring("HLT_Ele","HLT_DoubleEle","HLT_DoublePhoton","HLT_Photon","HLT_L1SingleEG"),
24 # ElecTrig = cms.untracked.vstring("*"),
25 # UseTrackerPt = cms.untracked.bool(True), # ??
26 # PtCut = cms.untracked.double(25.0),
27  PtCut = cms.untracked.double(10.0),
28 # EtaCut = cms.untracked.double(2.1),
29  EtaCut = cms.untracked.double(2.4),
30  SieieBarrel = cms.untracked.double(0.01),
31  SieieEndcap = cms.untracked.double(0.028),
32  DetainBarrel = cms.untracked.double(0.0071),
33  DetainEndcap = cms.untracked.double(0.0066),
34 # IsRelativeIso = cms.untracked.bool(True),
35 # IsCombinedIso = cms.untracked.bool(False),
36 # IsoCut03 = cms.untracked.double(0.1),
37  EcalIsoCutBarrel = cms.untracked.double(5.7),
38  EcalIsoCutEndcap = cms.untracked.double(5.0),
39  HcalIsoCutBarrel = cms.untracked.double(8.1),
40  HcalIsoCutEndcap = cms.untracked.double(3.4),
41  TrkIsoCutBarrel = cms.untracked.double(7.2),
42  TrkIsoCutEndcap = cms.untracked.double(5.1),
43  MtMin = cms.untracked.double(-999999),
44  MtMax = cms.untracked.double(999999.0),
45  MetMin = cms.untracked.double(-999999.),
46  MetMax = cms.untracked.double(999999.),
47 # AcopCut = cms.untracked.double(2.),
48 
49 # # Muon quality cuts ->
50 # DxyCut = cms.untracked.double(0.2),
51 # NormalizedChi2Cut = cms.untracked.double(10.),
52 # TrackerHitsCut = cms.untracked.int32(11),
53 # IsAlsoTrackerMuon = cms.untracked.bool(True),
54 
55 # # To suppress Zmm ->
56 # PtThrForZ1 = cms.untracked.double(20.0),
57 # PtThrForZ2 = cms.untracked.double(10.0),
58 
59  # To further suppress ttbar ->
60  EJetMin = cms.untracked.double(30.),
61  NJetMax = cms.untracked.int32(999999),
62 
63  # PU dependence
64  PUMax = cms.untracked.uint32(60),
65  PUBinCount = cms.untracked.uint32(12) # Bin size PUMax/PUBinCount
66 )
67 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
68 stage2L1Trigger.toModify(ewkElecDQM, stageL1Trigger = 2)