CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TnPEfficiencyPostProcessor_cff.py
Go to the documentation of this file.
2 
3 JpsiPars = cms.untracked.PSet(
4  MassDimension = cms.untracked.int32(2),
5  FitFunction = cms.untracked.string("GaussianPlusLinear"),
6  ExpectedMean = cms.untracked.double(3.1),
7  ExpectedSigma = cms.untracked.double(0.03),
8  Width = cms.untracked.double(0),
9  FitRangeLow = cms.untracked.double(2.8),
10  FitRangeHigh = cms.untracked.double(3.4),
11  SignalRangeLow = cms.untracked.double(2.95),
12  SignalRangeHigh = cms.untracked.double(3.25)
13 )
14 
15 jpsiClient = cms.EDAnalyzer("DQMGenericTnPClient",
16  MyDQMrootFolder = cms.untracked.string("HLT/Muon/Distributions"),
17  # Set this if you want to save info about each fit
18  #SavePlotsInRootFileName = cms.untracked.string("fittingPlots.root"),
19  SavePlotsInRootFileName = cms.untracked.string(""),
20  Verbose = cms.untracked.bool(False),
21  Efficiencies = cms.untracked.VPSet(
22  JpsiPars.clone(
23  NumeratorMEname = cms.untracked.string("HLT_Mu3/probeJpsiMuon/diMuonMassVsPt_L3Filtered"),
24  DenominatorMEname = cms.untracked.string("HLT_Mu3/probeJpsiMuon/diMuonMassVsPt_All"),
25  EfficiencyMEname = cms.untracked.string("HLT_Mu3/probeJpsiMuon/effVsPt"),
26  ),
27  JpsiPars.clone(
28  NumeratorMEname = cms.untracked.string("HLT_Mu3/probeJpsiMuon/diMuonMassVsEta_L3Filtered"),
29  DenominatorMEname = cms.untracked.string("HLT_Mu3/probeJpsiMuon/diMuonMassVsEta_All"),
30  EfficiencyMEname = cms.untracked.string("HLT_Mu3/probeJpsiMuon/effVsEta"),
31  ),
32  JpsiPars.clone(
33  NumeratorMEname = cms.untracked.string("HLT_Mu3/probeJpsiMuon/diMuonMassVsPhi_L3Filtered"),
34  DenominatorMEname = cms.untracked.string("HLT_Mu3/probeJpsiMuon/diMuonMassVsPhi_All"),
35  EfficiencyMEname = cms.untracked.string("HLT_Mu3/probeJpsiMuon/effVsPhi"),
36  ),
37  JpsiPars.clone(
38  NumeratorMEname = cms.untracked.string("HLT_Mu5/probeJpsiMuon/diMuonMassVsPt_L3Filtered"),
39  DenominatorMEname = cms.untracked.string("HLT_Mu5/probeJpsiMuon/diMuonMassVsPt_All"),
40  EfficiencyMEname = cms.untracked.string("HLT_Mu5/probeJpsiMuon/effVsPt"),
41  ),
42  JpsiPars.clone(
43  NumeratorMEname = cms.untracked.string("HLT_Mu5/probeJpsiMuon/diMuonMassVsEta_L3Filtered"),
44  DenominatorMEname = cms.untracked.string("HLT_Mu5/probeJpsiMuon/diMuonMassVsEta_All"),
45  EfficiencyMEname = cms.untracked.string("HLT_Mu5/probeJpsiMuon/effVsEta"),
46  ),
47  JpsiPars.clone(
48  NumeratorMEname = cms.untracked.string("HLT_Mu5/probeJpsiMuon/diMuonMassVsPhi_L3Filtered"),
49  DenominatorMEname = cms.untracked.string("HLT_Mu5/probeJpsiMuon/diMuonMassVsPhi_All"),
50  EfficiencyMEname = cms.untracked.string("HLT_Mu5/probeJpsiMuon/effVsPhi"),
51  ),
52  JpsiPars.clone(
53  NumeratorMEname = cms.untracked.string("HLT_Mu9/probeJpsiMuon/diMuonMassVsPt_L3Filtered"),
54  DenominatorMEname = cms.untracked.string("HLT_Mu9/probeJpsiMuon/diMuonMassVsPt_All"),
55  EfficiencyMEname = cms.untracked.string("HLT_Mu9/probeJpsiMuon/effVsPt"),
56  ),
57  JpsiPars.clone(
58  NumeratorMEname = cms.untracked.string("HLT_Mu9/probeJpsiMuon/diMuonMassVsEta_L3Filtered"),
59  DenominatorMEname = cms.untracked.string("HLT_Mu9/probeJpsiMuon/diMuonMassVsEta_All"),
60  EfficiencyMEname = cms.untracked.string("HLT_Mu9/probeJpsiMuon/effVsEta"),
61  ),
62  JpsiPars.clone(
63  NumeratorMEname = cms.untracked.string("HLT_Mu9/probeJpsiMuon/diMuonMassVsPhi_L3Filtered"),
64  DenominatorMEname = cms.untracked.string("HLT_Mu9/probeJpsiMuon/diMuonMassVsPhi_All"),
65  EfficiencyMEname = cms.untracked.string("HLT_Mu9/probeJpsiMuon/effVsPhi"),
66  )
67  )
68 )
69 
70 UpsilonPars = cms.untracked.PSet(
71  MassDimension = cms.untracked.int32(2),
72  FitFunction = cms.untracked.string("GaussianPlusLinear"),
73  ExpectedMean = cms.untracked.double(9.45),
74  ExpectedSigma = cms.untracked.double(0.05),
75  Width = cms.untracked.double(0),
76  FitRangeLow = cms.untracked.double(8.5),
77  FitRangeHigh = cms.untracked.double(10.5),
78  SignalRangeLow = cms.untracked.double(9.),
79  SignalRangeHigh = cms.untracked.double(10.)
80 )
81 
82 upsilonClient = cms.EDAnalyzer("DQMGenericTnPClient",
83  MyDQMrootFolder = cms.untracked.string("HLT/Muon/Distributions"),
84  # Set this if you want to save info about each fit
85  #SavePlotsInRootFileName = cms.untracked.string("fittingPlots.root"),
86  SavePlotsInRootFileName = cms.untracked.string(""),
87  Verbose = cms.untracked.bool(False),
88  Efficiencies = cms.untracked.VPSet(
89  UpsilonPars.clone(
90  NumeratorMEname = cms.untracked.string("HLT_Mu3/probeUpsilonMuon/diMuonMassVsPt_L3Filtered"),
91  DenominatorMEname = cms.untracked.string("HLT_Mu3/probeUpsilonMuon/diMuonMassVsPt_All"),
92  EfficiencyMEname = cms.untracked.string("HLT_Mu3/probeUpsilonMuon/effVsPt"),
93  ),
94  UpsilonPars.clone(
95  NumeratorMEname = cms.untracked.string("HLT_Mu3/probeUpsilonMuon/diMuonMassVsEta_L3Filtered"),
96  DenominatorMEname = cms.untracked.string("HLT_Mu3/probeUpsilonMuon/diMuonMassVsEta_All"),
97  EfficiencyMEname = cms.untracked.string("HLT_Mu3/probeUpsilonMuon/effVsEta"),
98  ),
99  UpsilonPars.clone(
100  NumeratorMEname = cms.untracked.string("HLT_Mu3/probeUpsilonMuon/diMuonMassVsPhi_L3Filtered"),
101  DenominatorMEname = cms.untracked.string("HLT_Mu3/probeUpsilonMuon/diMuonMassVsPhi_All"),
102  EfficiencyMEname = cms.untracked.string("HLT_Mu3/probeUpsilonMuon/effVsPhi"),
103  ),
104  UpsilonPars.clone(
105  NumeratorMEname = cms.untracked.string("HLT_Mu5/probeUpsilonMuon/diMuonMassVsPt_L3Filtered"),
106  DenominatorMEname = cms.untracked.string("HLT_Mu5/probeUpsilonMuon/diMuonMassVsPt_All"),
107  EfficiencyMEname = cms.untracked.string("HLT_Mu5/probeUpsilonMuon/effVsPt"),
108  ),
109  UpsilonPars.clone(
110  NumeratorMEname = cms.untracked.string("HLT_Mu5/probeUpsilonMuon/diMuonMassVsEta_L3Filtered"),
111  DenominatorMEname = cms.untracked.string("HLT_Mu5/probeUpsilonMuon/diMuonMassVsEta_All"),
112  EfficiencyMEname = cms.untracked.string("HLT_Mu5/probeUpsilonMuon/effVsEta"),
113  ),
114  UpsilonPars.clone(
115  NumeratorMEname = cms.untracked.string("HLT_Mu5/probeUpsilonMuon/diMuonMassVsPhi_L3Filtered"),
116  DenominatorMEname = cms.untracked.string("HLT_Mu5/probeUpsilonMuon/diMuonMassVsPhi_All"),
117  EfficiencyMEname = cms.untracked.string("HLT_Mu5/probeUpsilonMuon/effVsPhi"),
118  ),
119  UpsilonPars.clone(
120  NumeratorMEname = cms.untracked.string("HLT_Mu9/probeUpsilonMuon/diMuonMassVsPt_L3Filtered"),
121  DenominatorMEname = cms.untracked.string("HLT_Mu9/probeUpsilonMuon/diMuonMassVsPt_All"),
122  EfficiencyMEname = cms.untracked.string("HLT_Mu9/probeUpsilonMuon/effVsPt"),
123  ),
124  UpsilonPars.clone(
125  NumeratorMEname = cms.untracked.string("HLT_Mu9/probeUpsilonMuon/diMuonMassVsEta_L3Filtered"),
126  DenominatorMEname = cms.untracked.string("HLT_Mu9/probeUpsilonMuon/diMuonMassVsEta_All"),
127  EfficiencyMEname = cms.untracked.string("HLT_Mu9/probeUpsilonMuon/effVsEta"),
128  ),
129  UpsilonPars.clone(
130  NumeratorMEname = cms.untracked.string("HLT_Mu9/probeUpsilonMuon/diMuonMassVsPhi_L3Filtered"),
131  DenominatorMEname = cms.untracked.string("HLT_Mu9/probeUpsilonMuon/diMuonMassVsPhi_All"),
132  EfficiencyMEname = cms.untracked.string("HLT_Mu9/probeUpsilonMuon/effVsPhi"),
133  )
134  )
135 )
136 
137 ZPars = cms.untracked.PSet(
138  MassDimension = cms.untracked.int32(2),
139  FitFunction = cms.untracked.string("VoigtianPlusExponential"),
140  ExpectedMean = cms.untracked.double(91.),
141  ExpectedSigma = cms.untracked.double(1.),
142  FixedWidth = cms.untracked.double(2.5),
143  FitRangeLow = cms.untracked.double(65),
144  FitRangeHigh = cms.untracked.double(115),
145  SignalRangeLow = cms.untracked.double(81),
146  SignalRangeHigh = cms.untracked.double(101)
147 )
148 
149 zClient = cms.EDAnalyzer("DQMGenericTnPClient",
150  MyDQMrootFolder = cms.untracked.string("HLT/Muon/Distributions"),
151  # Set this if you want to save info about each fit
152  #SavePlotsInRootFileName = cms.untracked.string("fittingPlots.root"),
153  Verbose = cms.untracked.bool(False),
154  Efficiencies = cms.untracked.VPSet(
155  ZPars.clone(
156  NumeratorMEname = cms.untracked.string("HLT_Mu3/probeZMuon/diMuonMassVsPt_L3Filtered"),
157  DenominatorMEname = cms.untracked.string("HLT_Mu3/probeZMuon/diMuonMassVsPt_All"),
158  EfficiencyMEname = cms.untracked.string("HLT_Mu3/probeZMuon/effVsPt"),
159  ),
160  ZPars.clone(
161  NumeratorMEname = cms.untracked.string("HLT_Mu3/probeZMuon/diMuonMassVsEta_L3Filtered"),
162  DenominatorMEname = cms.untracked.string("HLT_Mu3/probeZMuon/diMuonMassVsEta_All"),
163  EfficiencyMEname = cms.untracked.string("HLT_Mu3/probeZMuon/effVsEta"),
164  ),
165  ZPars.clone(
166  NumeratorMEname = cms.untracked.string("HLT_Mu3/probeZMuon/diMuonMassVsPhi_L3Filtered"),
167  DenominatorMEname = cms.untracked.string("HLT_Mu3/probeZMuon/diMuonMassVsPhi_All"),
168  EfficiencyMEname = cms.untracked.string("HLT_Mu3/probeZMuon/effVsPhi"),
169  ),
170  ZPars.clone(
171  NumeratorMEname = cms.untracked.string("HLT_Mu5/probeZMuon/diMuonMassVsPt_L3Filtered"),
172  DenominatorMEname = cms.untracked.string("HLT_Mu5/probeZMuon/diMuonMassVsPt_All"),
173  EfficiencyMEname = cms.untracked.string("HLT_Mu5/probeZMuon/effVsPt"),
174  ),
175  ZPars.clone(
176  NumeratorMEname = cms.untracked.string("HLT_Mu5/probeZMuon/diMuonMassVsEta_L3Filtered"),
177  DenominatorMEname = cms.untracked.string("HLT_Mu5/probeZMuon/diMuonMassVsEta_All"),
178  EfficiencyMEname = cms.untracked.string("HLT_Mu5/probeZMuon/effVsEta"),
179  ),
180  ZPars.clone(
181  NumeratorMEname = cms.untracked.string("HLT_Mu5/probeZMuon/diMuonMassVsPhi_L3Filtered"),
182  DenominatorMEname = cms.untracked.string("HLT_Mu5/probeZMuon/diMuonMassVsPhi_All"),
183  EfficiencyMEname = cms.untracked.string("HLT_Mu5/probeZMuon/effVsPhi"),
184  ),
185  ZPars.clone(
186  NumeratorMEname = cms.untracked.string("HLT_Mu9/probeZMuon/diMuonMassVsPt_L3Filtered"),
187  DenominatorMEname = cms.untracked.string("HLT_Mu9/probeZMuon/diMuonMassVsPt_All"),
188  EfficiencyMEname = cms.untracked.string("HLT_Mu9/probeZMuon/effVsPt"),
189  ),
190  ZPars.clone(
191  NumeratorMEname = cms.untracked.string("HLT_Mu9/probeZMuon/diMuonMassVsEta_L3Filtered"),
192  DenominatorMEname = cms.untracked.string("HLT_Mu9/probeZMuon/diMuonMassVsEta_All"),
193  EfficiencyMEname = cms.untracked.string("HLT_Mu9/probeZMuon/effVsEta"),
194  ),
195  ZPars.clone(
196  NumeratorMEname = cms.untracked.string("HLT_Mu9/probeZMuon/diMuonMassVsPhi_L3Filtered"),
197  DenominatorMEname = cms.untracked.string("HLT_Mu9/probeZMuon/diMuonMassVsPhi_All"),
198  EfficiencyMEname = cms.untracked.string("HLT_Mu9/probeZMuon/effVsPhi"),
199  )
200  )
201 )
202 
203 tagAndProbeEfficiencyPostProcessor = cms.Sequence(jpsiClient*upsilonClient*zClient)
204