CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ZCounting_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
4 zcounting = DQMEDAnalyzer('ZCounting',
5  TriggerEvent = cms.InputTag('hltTriggerSummaryAOD','','HLT'),
6  TriggerResults = cms.InputTag('TriggerResults','','HLT'),
7  edmPVName = cms.untracked.string('offlinePrimaryVertices'),
8  edmName = cms.untracked.string('muons'),
9  edmTrackName = cms.untracked.string('generalTracks'),
10 
11  edmGsfEleName = cms.untracked.string('gedGsfElectrons'),
12  edmSCName = cms.untracked.string('particleFlowEGamma'),
13 
14  effAreasConfigFile = cms.FileInPath("RecoEgamma/ElectronIdentification/data/Summer16/effAreaElectrons_cone03_pfNeuHadronsAndPhotons_80X.txt"),
15 
16  rhoname = cms.InputTag('fixedGridRhoFastjetAll'),
17  beamspotName = cms.InputTag('offlineBeamSpot'),
18  conversionsName = cms.InputTag('conversions'),
19 
20  MuonTriggerNames = cms.vstring("HLT_IsoMu27_v*"),
21  MuonTriggerObjectNames = cms.vstring("hltL3crIsoL1sMu22Or25L1f0L2f10QL3f27QL3trkIsoFiltered0p07"),
22 
23  IDType = cms.untracked.string("Tight"),# Tight, Medium, Loose
24  IsoType = cms.untracked.string("NULL"), # Tracker-based, PF-based
25  IsoCut = cms.untracked.double(0.), # {0.05, 0.10} for Tracker-based, {0.15, 0.25} for PF-based
26 
27  PtCutL1 = cms.untracked.double(30.0),
28  PtCutL2 = cms.untracked.double(30.0),
29  EtaCutL1 = cms.untracked.double(2.4),
30  EtaCutL2 = cms.untracked.double(2.4),
31 
32  PtCutEleTag = cms.untracked.double(40.0),
33  PtCutEleProbe = cms.untracked.double(35.0),
34  EtaCutEleTag = cms.untracked.double(2.5),
35  EtaCutEleProbe = cms.untracked.double(2.5),
36  MassCutEleLow = cms.untracked.double(80.0),
37  MassCutEleHigh = cms.untracked.double(100.0),
38 
39  ElectronIDType = cms.untracked.string("TIGHT"),
40 
41  MassBin = cms.untracked.int32(50),
42  MassMin = cms.untracked.double(66.0),
43  MassMax = cms.untracked.double(116.0),
44 
45  LumiBin = cms.untracked.int32(2500),
46  LumiMin = cms.untracked.double(0.5),
47  LumiMax = cms.untracked.double(2500.5),
48 
49  PVBin = cms.untracked.int32(60),
50  PVMin = cms.untracked.double(0.5),
51  PVMax = cms.untracked.double(60.5),
52 
53  VtxNTracksFitMin = cms.untracked.double(0.),
54  VtxNdofMin = cms.untracked.double(4.),
55  VtxAbsZMax = cms.untracked.double(24.),
56  VtxRhoMax = cms.untracked.double(2.)
57  )
58 
59 
60 from Configuration.Eras.Modifier_run2_HLTconditions_2016_cff import run2_HLTconditions_2016
61 run2_HLTconditions_2016.toModify( zcounting, MuonTriggerNames = cms.vstring("HLT_IsoMu24_v*","HLT_IsoTkMu24_v*"),
62  MuonTriggerObjectNames = cms.vstring("hltL3crIsoL1sSingleMu22L1f0L2f10QL3f24QL3trkIsoFiltered0p07",
63  "hltL3fL1sMu22L1f0Tkf24QL3trkIsoFiltered0p09"),
64  PtCutL1 = cms.untracked.double(27.0),
65  PtCutL2 = cms.untracked.double(27.0)
66  )
67 
68 from Configuration.Eras.Modifier_run2_HLTconditions_2017_cff import run2_HLTconditions_2017
69 run2_HLTconditions_2017.toModify(zcounting, MuonTriggerNames = cms.vstring("HLT_IsoMu27_v*"),
70  MuonTriggerObjectNames = cms.vstring("hltL3crIsoL1sMu22Or25L1f0L2f10QL3f27QL3trkIsoFiltered0p07"),
71  PtCutL1 = cms.untracked.double(30.0),
72  PtCutL2 = cms.untracked.double(30.0)
73  )
74 
75 from Configuration.Eras.Modifier_run2_HLTconditions_2018_cff import run2_HLTconditions_2018
76 run2_HLTconditions_2018.toModify(zcounting, MuonTriggerNames = cms.vstring("HLT_IsoMu24_v*"),
77  MuonTriggerObjectNames = cms.vstring("hltL3crIsoL1sSingleMu22L1f0L2f10QL3f24QL3trkIsoFiltered0p07"),
78  PtCutL1 = cms.untracked.double(27.0),
79  PtCutL2 = cms.untracked.double(27.0)
80  )