CMS 3D CMS Logo

HiggsMonitoring_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Trigger.topMonitoring_cfi import topMonitoring
4 
5 hltHIGmonitoring = topMonitoring.clone(
6  #FolderName = 'HLT/Higgs/default/',
7  FolderName = 'HLT/HIG/default/',
8 
9  histoPSet = dict(
10  lsPSet = dict(
11  nbins = 2500,
12  xmin = 0.,
13  xmax = 2500.),
14 
15  metPSet = dict(
16  nbins = 30,
17  xmin = 0 ,
18  xmax = 300),
19 
20  ptPSet = dict(
21  nbins = 60 ,
22  xmin = 0 ,
23  xmax = 300),
24 
25  phiPSet = dict(
26  nbins = 32 ,
27  xmin = -3.2,
28  xmax = 3.2),
29 
30  etaPSet = dict(
31  nbins = 30 ,
32  xmin = -3.0,
33  xmax = 3.0),
34 
35  htPSet = dict(
36  nbins = 60 ,
37  xmin = 0 ,
38  xmax = 600),
39  # Marina
40  csvPSet = dict(
41  nbins = 50 ,
42  xmin = 0.0 ,
43  xmax = 1.0 ),
44 
45  DRPSet = dict(
46  nbins = 60 ,
47  xmin = 0.0 ,
48  xmax = 6.0),
49 
50  invMassPSet = dict(
51  nbins = 40 ,
52  xmin = 0.0 ,
53  xmax = 80.0),
54 
55  MHTPSet = dict(
56  nbins = 80 ,
57  xmin = 60 ,
58  xmax = 300),
59 
60  #MET and HT binning
61  metBinning = [0,20,40,60,80,100,125,150,175,200],
62  HTBinning = [0,20,40,60,80,100,125,150,175,200,300,400,500,700],
63  #Eta binning
64  eleEtaBinning = [-2.5,-2.4,-2.3,-2.2,-2.1,-2.0,-1.9,-1.8,-1.7,-1.566,-1.4442,-1.3,-1.2,-1.1,-1.0,-0.9,-0.8,-0.7,-0.6,-0.5,-0.4,-0.3,-0.2,-0.1,0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1.1,1.2,1.3,1.4442,1.566,1.7,1.8,1.9,2.0,2.1,2.2,2.3,2.4,2.5],
65  jetEtaBinning = [-4.7,-3.2,-3.0,-2.5,-2.1,-1.8,-1.5,-1.2,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.2,1.5,1.8,2.1,2.5,3.0,3.2,4.7],
66  muEtaBinning = [-2.4,-2.1,-1.7,-1.2,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.2,1.7,2.1,2.4],
67  #pt binning
68  elePtBinning = [0,3,5,8,10,15,20,25,30,40,50,60,80,120,200,400],
69  jetPtBinning = [0,3,5,8,10,15,20,25,30,40,50,60,80,120,200,400],
70  muPtBinning = [0,3,5,8,10,15,20,25,30,40,50,60,80,120,200,400],
71  #Eta binning 2D
72  eleEtaBinning2D = [-2.5,-2.4,-2.3,-2.2,-2.1,-2.0,-1.9,-1.8,-1.7,-1.566,-1.4442,-1.3,-1.2,-1.1,-1.0,-0.9,-0.8,-0.7,-0.6,-0.5,-0.4,-0.3,-0.2,-0.1,0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1.1,1.2,1.3,1.4442,1.566,1.7,1.8,1.9,2.0,2.1,2.2,2.3,2.4,2.5],
73  jetEtaBinning2D = [-4.7,-3.2,-3.0,-2.5,-2.1,-1.8,-1.5,-1.2,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.2,1.5,1.8,2.1,2.5,3.0,3.2,4.7],
74  muEtaBinning2D = [-2.4,-2.1,-1.7,-1.2,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.2,1.7,2.1,2.4],
75 
76  #pt binning 2D
77  elePtBinning2D = [0,15,20,30,40,60,80,100,200,400],
78  jetPtBinning2D = [0,15,20,30,40,60,80,100,200,400],
79  muPtBinning2D = [0,15,20,30,40,60,80,100,200,400],
80  #HT and phi binning 2D
81  HTBinning2D = [0,20,40,70,100,150,200,400,700],
82  phiBinning2D = [-3.1416,-2.5132,-1.8849,-1.2566,-0.6283,0,0.6283,1.2566,1.8849,2.5132,3.1416],
83  ),
84  applyLeptonPVcuts = True,
85  leptonPVcuts = dict(
86  dxy = 0.5,
87  dz = 1.),
88 
89  met = "pfMet", # pfMet
90  jets = "ak4PFJets", # ak4PFJets, ak4PFJetsCHS
91  electrons = "gedGsfElectrons", # while pfIsolatedElectronsEI are reco::PFCandidate !
92  muons = "muons", # while pfIsolatedMuonsEI are reco::PFCandidate !
93  vertices = "offlinePrimaryVertices",
94 
95  HTdefinition = 'pt>30 & abs(eta)<2.5',
96  leptJetDeltaRmin = 0.4,
97  eleSelection = 'pt > 7. && abs(eta) < 2.5',
98  muoSelection = 'pt > 5 && abs(eta) < 2.4 && (isGlobalMuon || (isTrackerMuon && numberOfMatches>0)) && muonBestTrackType != 2',
99  vertexSelection = '!isFake && ndof > 4 && abs(z) <= 24 && position.Rho <= 2',
100 
101  nmuons = 0,
102  nelectrons = 0,
103  njets = 0,
104 
105 
106  numGenericTriggerEventPSet = dict(
107  andOr = False,
108  andOrHlt = True,# True:=OR; False:=AND
109  verbosityLevel = 1,
110  hltInputTag = "TriggerResults::HLT",
111  errorReplyHlt = False ),
112 
113  denGenericTriggerEventPSet = dict(
114  andOr = False,
115  dcsInputTag = "scalersRawToDigi",
116  dcsRecordInputTag = "onlineMetaDataDigis",
117  dcsPartitions = [24, 25, 26, 27, 28, 29], # 24-27: strip, 28-29: pixel, we should add all other detectors !
118  andOrDcs = False,
119  errorReplyDcs = True,
120  verbosityLevel = 1)
121 )
122