CMS 3D CMS Logo

METplusTrackMonitor_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Trigger.metPlusTrackMonitoring_cfi import metPlusTrackMonitoring
4 # Define 100 logarithmic bins from 10^0 to 10^3 GeV
5 binsLogX_METplusTrack = []
6 nBinsLogX_METplusTrack = 100
7 powerLo_METplusTrack = 0.0
8 powerHi_METplusTrack = 3.0
9 binPowerWidth_METplusTrack = (powerHi_METplusTrack - powerLo_METplusTrack) / nBinsLogX_METplusTrack
10 for ibin in range(nBinsLogX_METplusTrack + 1):
11  binsLogX_METplusTrack.append( pow(10, powerLo_METplusTrack + ibin * binPowerWidth_METplusTrack) )
12 
13 hltMETplusTrackMonitoring = metPlusTrackMonitoring.clone(
14  FolderName = 'HLT/EXO/MET/MET105_IsoTrk50/',
15  histoPSet = dict(
16  lsPSet = dict(
17  nbins = 250 ,
18  xmin = 0.,
19  xmax = 2500.),
20 
21  metPSet = dict(
22  nbins = 100,
23  xmin = -0.5,
24  xmax = 999.5),
25 
26  ptPSet = dict(
27  nbins = 100,
28  xmin = -0.5,
29  xmax = 999.5),
30 
31  etaPSet = dict(
32  nbins = 24,
33  xmin = -2.4,
34  xmax = 2.4),
35 
36  phiPSet = dict(
37  nbins = 32,
38  xmin = -3.2,
39  xmax = 3.2),
40 
41  metBinning = binsLogX_METplusTrack,
42  ptBinning = binsLogX_METplusTrack
43  ),
44  met = "caloMet", # caloMet
45  jets = "ak4PFJets", # ak4PFJets, ak4PFJetsCHS
46  muons = "muons", # while pfIsolatedMuonsEI are reco::PFCandidate !
47 
48  muonSelection = 'pt>26 && abs(eta)<2.1 && (pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt-0.5*pfIsolationR04.sumPUPt)/pt<0.12',
49  vtxSelection = 'ndof>=4 && abs(z)<24.0 && position.Rho<2.0',
50  nmuons = 1,
51  leadJetEtaCut = 2.4,
52 
53  numGenericTriggerEventPSet = dict(
54  andOr = False,
55  #dbLabel = "ExoDQMTrigger", # it does not exist yet, we should consider the possibility of using the DB, but as it is now it will need a label per path !
56  andOrHlt = True,# True:=OR; False:=AND
57  hltInputTag = "TriggerResults::HLT",
58  hltPaths = ["HLT_MET105_IsoTrk50_v*"], # HLT_ZeroBias_v
59  #hltDBKey = "EXO_HLT_MET",
60  errorReplyHlt = False,
61  verbosityLevel = 0
62  ),
63 
64  denGenericTriggerEventPSet = dict(
65  andOr = False ,
66  dcsInputTag = "scalersRawToDigi",
67  dcsRecordInputTag = "onlineMetaDataDigis",
68  dcsPartitions = [24, 25, 26, 27, 28, 29], # 24-27: strip, 28-29: pixel, we should add all other detectors !
69  andOrDcs = False,
70  errorReplyDcs = True,
71  verbosityLevel = 1,
72  hltPaths = ["HLT_IsoMu27_v*"])
73 )
74 
constexpr int pow(int x)
Definition: conifer.h:24