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_IsoMu20_eta2p1_v",
14  "HLT_IsoMu24_eta2p1_v",
15  "HLT_IsoMu24_v",
16  "HLT_IsoMu30_eta2p1_v",
17  "HLT_IsoMu30_v",
18  "HLT_IsoMu34_eta2p1_v",
19  "HLT_IsoMu40_eta2p1_v",
20  "HLT_L1SingleMu12_v",
21  "HLT_Mu12_v",
22  "HLT_Mu15_eta2p1_v",
23  "HLT_Mu17_v",
24  "HLT_Mu24_eta2p1_v",
25  "HLT_Mu30_eta2p1_v",
26  "HLT_Mu40_v",
27  "HLT_Mu40_eta2p1_v",
28  "HLT_Mu50_eta2p1_v",
29  "HLT_Mu5_v",
30  "HLT_Mu8_v",
31  "HLT_RelIso1p0Mu17_v",
32  "HLT_RelIso1p0Mu5_v",
33  "HLT_DoubleMu5_IsoMu5_v",
34  "HLT_Mu13_Mu8_v",
35  "HLT_Mu17_Mu8_v",
36  "HLT_Mu17_TkMu8_v",
37  "HLT_Mu22_TkMu22_v",
38  "HLT_Mu22_TkMu8_v",
39  "HLT_TripleMu5_v",
40  "HLT_DoubleMu11_Acoplanarity03_v", #Added for forward physics
41  "HLT_Mu40_eta2p1_Track50_dEdx3p6_v", #Exotica
42  "HLT_Mu40_eta2p1_Track60_dEdx3p7_v"
43  ),
44 
45 #HLT_Mu15_eta2p1_TriCentral_40_20_20_BTagIP3D1stTrack_v3 matches HLT_Mu15_eta2p1_v
46 
47  ## All input tags are specified in this pset for convenience
48  inputTags = cms.PSet(
49  recoMuon = cms.InputTag("muons"),
50  beamSpot = cms.InputTag("offlineBeamSpot"),
51  offlinePVs = cms.InputTag("offlinePrimaryVertices"),
52  triggerSummary = cms.InputTag("hltTriggerSummaryAOD"),
53  triggerResults = cms.InputTag("TriggerResults")
54  ),
55 
56  ## Both 1D and 2D plots use the binnings defined here
57  binParams = cms.untracked.PSet(
58  ## parameters for fixed-width plots
59  NVertex = cms.untracked.vdouble( 20, 1, 50),
60  eta = cms.untracked.vdouble( 20, -2.40, 2.40),
61  phi = cms.untracked.vdouble( 20, -3.14, 3.14),
62  z0 = cms.untracked.vdouble( 10, -15.00, 15.00),
63  d0 = cms.untracked.vdouble( 10, -0.50, 0.50),
64  zMass = cms.untracked.vdouble( 50, 65.00, 115.00),
65  jpsiMass = cms.untracked.vdouble( 60, 0.00, 6.00),
66  charge = cms.untracked.vdouble( 2, -2.00, 2.00),
67  deltaR = cms.untracked.vdouble( 20, 0.00, 0.05),
68  phiCoarse = cms.untracked.vdouble( 10, -3.14, 3.14),
69  resolutionRel = cms.untracked.vdouble( 20, -0.15, 0.15),
70  resolutionEta = cms.untracked.vdouble( 20, -0.01, 0.01),
71  resolutionPhi = cms.untracked.vdouble( 20, -0.01, 0.01),
72  ## parameters for variable-width plots
73  etaCoarse = cms.untracked.vdouble(-2.4, -2.1, -1.6, -1.2, -0.8, 0.0,
74  0.8, 1.2, 1.6, 2.1, 2.4),
75  ptCoarse = cms.untracked.vdouble(10.0, 20.0, 40.0, 60.0, 80.0, 100.0, 200.0),
76  pt = cms.untracked.vdouble( 0.0, 2.0, 4.0,
77  6.0, 8.0, 10.0,
78  20.0, 30.0, 40.0,
79  100.0, 200.0, 400.0),
80  ),
81 
82  ## These parameters define which objects are used to fill plots
83  plotCuts = cms.PSet(
84  ## not applied on eta plots
85  maxEta = cms.untracked.double(2.10),
86  ## only fill plots for muons with pt > ceil(hltThreshold * minPtFactor)
87  ## ex: for HLT_Mu17, ceil(17 * 1.2 ) = 21, so we require pT > 21
88  minPtFactor = cms.untracked.double(1.20),
89  ## deltaR cuts
90  L1DeltaR = cms.untracked.double(0.30),
91  L2DeltaR = cms.untracked.double(0.30),
92  L3DeltaR = cms.untracked.double(0.05),
93  ),
94 
95  ## Only events passing all these triggers will be considered
96  requiredTriggers = cms.untracked.vstring(),
97 
98  ## This collection is used to fill most distributions
99  targetParams = cms.PSet(
100  ## The d0 and z0 cuts are required for the inner track of the
101  ## reco muons, taken with respect to the beamspot
102  d0Cut = cms.untracked.double(2.0),
103  z0Cut = cms.untracked.double(25.0),
104  ## cuts
105  recoCuts = cms.untracked.string("isGlobalMuon && abs(eta) < 2.4"),
106  hltCuts = cms.untracked.string("abs(eta) < 2.4"),
107  ),
108 
109  ## If this PSet is empty, then no "tag and probe" plots are produced;
110  ## the cuts used for the tags are specified by targetParams
111  probeParams = cms.PSet(
112  ## The d0 and z0 cuts are required for the inner track of the
113  ## reco muons, taken with respect to the beamspot
114  d0Cut = cms.untracked.double(2.0),
115  z0Cut = cms.untracked.double(25.0),
116  ## cuts
117  recoCuts = cms.untracked.string("isGlobalMuon && abs(eta) < 2.0"),
118  hltCuts = cms.untracked.string("abs(eta) < 2.0"),
119  ),
120 
121 )