CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTMuonOfflineAnalyzer_cfi.py
Go to the documentation of this file.
2 
3 hltMuonOfflineAnalyzer = cms.EDAnalyzer("HLTMuonOfflineAnalyzer",
4 
5  ## Used when fetching triggerSummary and triggerResults
6  hltProcessName = cms.string("HLT"),
7 
8  ## Location of plots in DQM
9  destination = cms.untracked.string("HLT/Muon/Distributions/globalMuons"),
10 
11  ## HLT paths passing any one of these regular expressions will be included
12  hltPathsToCheck = cms.vstring(
13  "HLT_Mu45_eta2p1_v1",
14  "HLT_Mu50_v",
15  "HLT_IsoMu24_v",
16  "HLT_IsoTkMu24_v",
17  "HLT_Mu17_Mu8_DZ_v",
18  "HLT_Mu17_TkMu8_DZ_v",
19  "HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_v",
20  "HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_v",
21  "HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_v",
22  "HLT_Mu17_TrkIsoVVL_TkMu8_TrkIsoVVL_DZ_v",
23  "HLT_IsoMu20_eta2p1_v",
24  "HLT_IsoTkMu20_eta2p1_v",
25  "HLT_IsoMu24_eta2p1_v",
26  "HLT_IsoTkMu24_eta2p1_v",
27  "HLT_Mu24_eta2p1_v",
28  "HLT_TkMu24_v",
29  "HLT_IsoMu27_v",
30  "HLT_IsoTkMu27_v",
31  "HLT_Mu27_v",
32  "HLT_TkMu27_v",
33  "HLT_IsoMu20_v1",
34  "HLT_Mu20_v1",
35  "HLT_IsoTkMu20_v1",
36  "HLT_TkMu20_v1",
37  "HLT_L1SingleMu16_v",
38  "HLT_L2Mu10_v",
39  "HLT_HIL1DoubleMu0", #for pp low pile up
40  "HLT_HIL1DoubleMu0BPTX", #for pp low pile up
41  "HLT_HIL2Mu3", #for HI
42  "HLT_HIL2Mu3BPTX", #for HI
43  "HLT_HIL2Mu7", #for HI
44  "HLT_HIL2Mu15", #for HI
45  "HLT_HIL2Mu3_NHitQ", #for HI
46  "HLT_HIL2DoubleMu0", #for HI
47  "HLT_HIL2DoubleMu0BPTX", #for HI
48  "HLT_HIL2DoubleMu0_NHitQ", #for HI
49  "HLT_HIL2DoubleMu3", #for HI
50  "HLT_HIL3Mu3", #for HI
51  "HLT_HIL3Mu3BPTX", #for HI
52  "HLT_HIL3DoubleMuOpen" #for HI
53  ),
54 
55 #HLT_Mu15_eta2p1_TriCentral_40_20_20_BTagIP3D1stTrack_v3 matches HLT_Mu15_eta2p1_v
56 
57  ## All input tags are specified in this pset for convenience
58  inputTags = cms.PSet(
59  recoMuon = cms.InputTag("muons"),
60  beamSpot = cms.InputTag("offlineBeamSpot"),
61  offlinePVs = cms.InputTag("offlinePrimaryVertices"),
62  triggerSummary = cms.InputTag("hltTriggerSummaryAOD"),
63  triggerResults = cms.InputTag("TriggerResults")
64  ),
65 
66  ## Both 1D and 2D plots use the binnings defined here
67  binParams = cms.untracked.PSet(
68  ## parameters for fixed-width plots
69  NVertex = cms.untracked.vdouble( 20, 1, 50),
70  eta = cms.untracked.vdouble( 20, -2.40, 2.40),
71  phi = cms.untracked.vdouble( 20, -3.14, 3.14),
72  z0 = cms.untracked.vdouble( 10, -15.00, 15.00),
73  d0 = cms.untracked.vdouble( 10, -0.50, 0.50),
74  zMass = cms.untracked.vdouble( 50, 65.00, 115.00),
75  jpsiMass = cms.untracked.vdouble( 60, 0.00, 6.00),
76  charge = cms.untracked.vdouble( 2, -2.00, 2.00),
77  deltaR = cms.untracked.vdouble( 20, 0.00, 0.05),
78  phiCoarse = cms.untracked.vdouble( 10, -3.14, 3.14),
79  resolutionRel = cms.untracked.vdouble( 20, -0.15, 0.15),
80  resolutionEta = cms.untracked.vdouble( 20, -0.01, 0.01),
81  resolutionPhi = cms.untracked.vdouble( 20, -0.01, 0.01),
82  ## parameters for variable-width plots
83  etaCoarse = cms.untracked.vdouble(-2.4, -2.1, -1.6, -1.2, -0.8, 0.0,
84  0.8, 1.2, 1.6, 2.1, 2.4),
85  ptCoarse = cms.untracked.vdouble(10.0, 20.0, 40.0, 60.0, 80.0, 100.0, 200.0),
86  pt = cms.untracked.vdouble( 0.0, 2.0, 4.0,
87  6.0, 8.0, 10.0,
88  20.0, 30.0, 40.0,
89  100.0, 200.0, 400.0),
90  ),
91 
92  ## These parameters define which objects are used to fill plots
93  plotCuts = cms.PSet(
94  ## not applied on eta plots
95  maxEta = cms.untracked.double(2.10),
96  ## only fill plots for muons with pt > ceil(hltThreshold * minPtFactor)
97  ## ex: for HLT_Mu17, ceil(17 * 1.2 ) = 21, so we require pT > 21
98  minPtFactor = cms.untracked.double(1.20),
99  ## deltaR cuts
100  L1DeltaR = cms.untracked.double(0.30),
101  L2DeltaR = cms.untracked.double(0.30),
102  L3DeltaR = cms.untracked.double(0.05),
103  ),
104 
105  ## Only events passing all these triggers will be considered
106  requiredTriggers = cms.untracked.vstring(),
107 
108  ## This collection is used to fill most distributions
109  targetParams = cms.PSet(
110  ## The d0 and z0 cuts are required for the inner track of the
111  ## reco muons, taken with respect to the beamspot
112  d0Cut = cms.untracked.double(2.0),
113  z0Cut = cms.untracked.double(25.0),
114  ## cuts
115  recoCuts = cms.untracked.string("isGlobalMuon && abs(eta) < 2.4"),
116  hltCuts = cms.untracked.string("abs(eta) < 2.4"),
117  ),
118 
119  ## If this PSet is empty, then no "tag and probe" plots are produced;
120  ## the cuts used for the tags are specified by targetParams
121  probeParams = cms.PSet(
122  ## The d0 and z0 cuts are required for the inner track of the
123  ## reco muons, taken with respect to the beamspot
124  d0Cut = cms.untracked.double(2.0),
125  z0Cut = cms.untracked.double(25.0),
126  ## cuts
127  recoCuts = cms.untracked.string("isGlobalMuon && abs(eta) < 2.0"),
128  hltCuts = cms.untracked.string("abs(eta) < 2.0"),
129  ),
130 
131 )