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  triggerSummary = cms.InputTag("hltTriggerSummaryAOD"),
52  triggerResults = cms.InputTag("TriggerResults"),
53  ),
54 
55  ## Both 1D and 2D plots use the binnings defined here
56  binParams = cms.untracked.PSet(
57  ## parameters for fixed-width plots
58  NVertex = cms.untracked.vdouble( 20, 1, 50),
59  eta = cms.untracked.vdouble( 20, -2.40, 2.40),
60  phi = cms.untracked.vdouble( 20, -3.14, 3.14),
61  z0 = cms.untracked.vdouble( 10, -15.00, 15.00),
62  d0 = cms.untracked.vdouble( 10, -0.50, 0.50),
63  zMass = cms.untracked.vdouble( 50, 65.00, 115.00),
64  jpsiMass = cms.untracked.vdouble( 60, 0.00, 6.00),
65  charge = cms.untracked.vdouble( 2, -2.00, 2.00),
66  deltaR = cms.untracked.vdouble( 20, 0.00, 0.05),
67  phiCoarse = cms.untracked.vdouble( 10, -3.14, 3.14),
68  resolutionRel = cms.untracked.vdouble( 20, -0.15, 0.15),
69  resolutionEta = cms.untracked.vdouble( 20, -0.01, 0.01),
70  resolutionPhi = cms.untracked.vdouble( 20, -0.01, 0.01),
71  ## parameters for variable-width plots
72  etaCoarse = cms.untracked.vdouble(-2.4, -2.1, -1.6, -1.2, -0.8, 0.0,
73  0.8, 1.2, 1.6, 2.1, 2.4),
74  ptCoarse = cms.untracked.vdouble(10.0, 20.0, 40.0, 60.0, 80.0, 100.0, 200.0),
75  pt = cms.untracked.vdouble( 0.0, 2.0, 4.0,
76  6.0, 8.0, 10.0,
77  20.0, 30.0, 40.0,
78  100.0, 200.0, 400.0),
79  ),
80 
81  ## These parameters define which objects are used to fill plots
82  plotCuts = cms.PSet(
83  ## not applied on eta plots
84  maxEta = cms.untracked.double(2.10),
85  ## only fill plots for muons with pt > ceil(hltThreshold * minPtFactor)
86  ## ex: for HLT_Mu17, ceil(17 * 1.2 ) = 21, so we require pT > 21
87  minPtFactor = cms.untracked.double(1.20),
88  ## deltaR cuts
89  L1DeltaR = cms.untracked.double(0.30),
90  L2DeltaR = cms.untracked.double(0.30),
91  L3DeltaR = cms.untracked.double(0.05),
92  ),
93 
94  ## Only events passing all these triggers will be considered
95  requiredTriggers = cms.untracked.vstring(),
96 
97  ## This collection is used to fill most distributions
98  targetParams = cms.PSet(
99  ## The d0 and z0 cuts are required for the inner track of the
100  ## reco muons, taken with respect to the beamspot
101  d0Cut = cms.untracked.double(2.0),
102  z0Cut = cms.untracked.double(25.0),
103  ## cuts
104  recoCuts = cms.untracked.string("isGlobalMuon && abs(eta) < 2.4"),
105  hltCuts = cms.untracked.string("abs(eta) < 2.4"),
106  ),
107 
108  ## If this PSet is empty, then no "tag and probe" plots are produced;
109  ## the cuts used for the tags are specified by targetParams
110  probeParams = cms.PSet(
111  ## The d0 and z0 cuts are required for the inner track of the
112  ## reco muons, taken with respect to the beamspot
113  d0Cut = cms.untracked.double(2.0),
114  z0Cut = cms.untracked.double(25.0),
115  ## cuts
116  recoCuts = cms.untracked.string("isGlobalMuon && abs(eta) < 2.0"),
117  hltCuts = cms.untracked.string("abs(eta) < 2.0"),
118  ),
119 
120 )