CMS 3D CMS Logo

V0Monitor_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 KshortMonitoring = v0Monitor.clone(
6  FolderName = "Tracking/V0Monitoring/Ks",
7  v0 = 'generalV0Candidates:Kshort',
8  histoPSet = v0Monitor.histoPSet.clone(
9  massPSet = v0Monitor.histoPSet.massPSet.clone(
10  nbins = 100,
11  xmin = 0.400,
12  xmax = 0.600
13  )
14  )
15 )
16 
17 LambdaMonitoring = v0Monitor.clone(
18  FolderName = "Tracking/V0Monitoring/Lambda",
19  v0 = 'generalV0Candidates:Lambda',
20  histoPSet = v0Monitor.histoPSet.clone(
21  massPSet = v0Monitor.histoPSet.massPSet.clone(
22  nbins = 100,
23  xmin = 1.050,
24  xmax = 1.250
25  )
26  )
27 )
28 
29 voMonitoringSequence = cms.Sequence(
30  KshortMonitoring
31  + LambdaMonitoring
32 )
33 
35 
36 # tracker ON
37 KshortMonitoringCommon = KshortMonitoring.clone(
38  genericTriggerEventPSet = genericTriggerEventFlag4fullTracker
39 )
40 KshortMonitoringCommon.setLabel("KshortMonitoringCommon")
41 
42 LambdaMonitoringCommon = LambdaMonitoring.clone(
43  genericTriggerEventPSet = genericTriggerEventFlag4fullTracker
44 )
45 LambdaMonitoringCommon.setLabel("LambdaMonitoringCommon")
46 
47 voMonitoringCommonSequence = cms.Sequence(
48  KshortMonitoringCommon
49  + LambdaMonitoringCommon
50 )
51 
52 
53 # tracker ON + ZeroBias selection
54 KshortMonitoringMB = KshortMonitoring.clone(
55  FolderName = "Tracking/V0Monitoring/HIP_OOTpu_INpu/Ks",
56  genericTriggerEventPSet = genericTriggerEventFlag4fullTrackerAndHLTdb
57 )
58 KshortMonitoringMB.setLabel("KshortMonitoringMB")
59 
60 LambdaMonitoringMB = LambdaMonitoring.clone(
61  FolderName = "Tracking/V0Monitoring/HIP_OOTpu_INpu/Lambda",
62  genericTriggerEventPSet = genericTriggerEventFlag4fullTrackerAndHLTdb
63 )
64 LambdaMonitoringMB.setLabel("LambdaMonitoringMB")
65 
66 # tracker ON + no HIP no OOT selection (HLT_ZeroBias_FirstCollisionAfterAbortGap)
67 KshortMonitoringZBnoHIPnoOOT = KshortMonitoring.clone(
68  FolderName = "Tracking/V0Monitoring/noHIP_noOOTpu_INpu/Ks",
69  genericTriggerEventPSet = genericTriggerEventFlag4fullTrackerAndHLTnoHIPnoOOTdb
70 )
71 KshortMonitoringZBnoHIPnoOOT.setLabel("KshortMonitoringZBnoHIPnoOOT")
72 
73 LambdaMonitoringZBnoHIPnoOOT = LambdaMonitoring.clone(
74  FolderName = "Tracking/V0Monitoring/noHIP_noOOTpu_INpu/Lambda",
75  genericTriggerEventPSet = genericTriggerEventFlag4fullTrackerAndHLTnoHIPnoOOTdb
76 )
77 LambdaMonitoringZBnoHIPnoOOT.setLabel("LambdaMonitoringZBnoHIPnoOOT")
78 
79 # tracker ON + HIP no OOT selection (HLT_ZeroBias_FirstCollisionInTrain)
80 KshortMonitoringZBHIPnoOOT = KshortMonitoring.clone(
81  FolderName = "Tracking/V0Monitoring/HIP_noOOTpu_INpu/Ks",
82  genericTriggerEventPSet = genericTriggerEventFlag4fullTrackerAndHLTHIPnoOOTdb
83 )
84 KshortMonitoringZBHIPnoOOT.setLabel("KshortMonitoringZBHIPnoOOT")
85 
86 LambdaMonitoringZBHIPnoOOT = LambdaMonitoring.clone(
87  FolderName = "Tracking/V0Monitoring/HIP_noOOTpu_INpu/Lambda",
88  genericTriggerEventPSet = genericTriggerEventFlag4fullTrackerAndHLTHIPnoOOTdb
89 )
90 LambdaMonitoringZBHIPnoOOT.setLabel("LambdaMonitoringZBHIPnoOOT")
91 
92 # tracker ON + HIP OOT selection (HLT_ZeroBias_FirstBXAfterTrain)
93 KshortMonitoringZBHIPOOT = KshortMonitoring.clone(
94  FolderName = "Tracking/V0Monitoring/HIP_OOTpu_noINpu/Ks",
95  genericTriggerEventPSet = genericTriggerEventFlag4fullTrackerAndHLTHIPOOTdb
96 )
97 KshortMonitoringZBHIPOOT.setLabel("KshortMonitoringZBHIPOOT")
98 
99 LambdaMonitoringZBHIPOOT = LambdaMonitoring.clone(
100  FolderName = "Tracking/V0Monitoring/HIP_OOTpu_noINpu/Lambda",
101  genericTriggerEventPSet = genericTriggerEventFlag4fullTrackerAndHLTHIPOOTdb
102 )
103 LambdaMonitoringZBHIPOOT.setLabel("LambdaMonitoringZBHIPOOT")
104 
105 voMonitoringMBSequence = cms.Sequence(
106  KshortMonitoringMB
107  + LambdaMonitoringMB
108 )
109 
110 voMonitoringZBnoHIPnoOOTSequence = cms.Sequence(
111  KshortMonitoringZBnoHIPnoOOT
112  + LambdaMonitoringZBnoHIPnoOOT
113 )
114 
115 voMonitoringZBHIPnoOOTSequence = cms.Sequence(
116  KshortMonitoringZBHIPnoOOT
117  + LambdaMonitoringZBHIPnoOOT
118 )
119 
120 voMonitoringZBHIPOOTSequence = cms.Sequence(
121  KshortMonitoringZBHIPOOT
122  + LambdaMonitoringZBHIPOOT
123 )
124 
125 
126 
128 KshortWlxy16 = vertexCompositeCandidateCollectionSelector.clone(
129  v0 = 'generalV0Candidates:Kshort'
130 )
131 
132 LambdaWlxy16 = vertexCompositeCandidateCollectionSelector.clone(
133  v0 = 'generalV0Candidates:Lambda'
134 )
135 
136 KshortWlxy16Monitoring = KshortMonitoring.clone(
137  v0 = 'KshortWlxy16',
138  FolderName = "Tracking/V0Monitoring/Ks/Lxy16"
139 )
140 
141 LambdaWlxy16Monitoring = LambdaMonitoring.clone(
142  v0 = 'LambdaWlxy16',
143  FolderName = "Tracking/V0Monitoring/Lambda/Lxy16"
144 )
145 
146 voWcutMonitoringSequence = cms.Sequence(
147  KshortWlxy16*KshortWlxy16Monitoring
148  + LambdaWlxy16*LambdaWlxy16Monitoring
149 )
150 
151 KshortWlxy16MonitoringCommon = KshortMonitoringCommon.clone(
152  v0 = 'KshortWlxy16',
153  FolderName = "Tracking/V0Monitoring/Ks/Lxy16"
154 )
155 
156 LambdaWlxy16MonitoringCommon = LambdaMonitoringCommon.clone(
157  v0 = 'LambdaWlxy16',
158  FolderName = "Tracking/V0Monitoring/Lambda/Lxy16"
159 )
160 
161 voWcutMonitoringCommonSequence = cms.Sequence(
162  KshortWlxy16*KshortWlxy16MonitoringCommon
163  +LambdaWlxy16*LambdaWlxy16MonitoringCommon
164 )
165 
166 KshortWlxy16MonitoringMB = KshortMonitoringMB.clone(
167  v0 = 'KshortWlxy16',
168  FolderName = "Tracking/V0Monitoring/HIP_OOTpu_INpu/Ks/Lxy16"
169 )
170 
171 LambdaWlxy16MonitoringMB = LambdaMonitoringMB.clone(
172  v0 = 'LambdaWlxy16',
173  FolderName = "Tracking/V0Monitoring/HIP_OOTpu_INpu/Lambda/Lxy16"
174 )
175 
176 voWcutMonitoringMBSequence = cms.Sequence(
177  KshortWlxy16*KshortWlxy16MonitoringMB
178  +LambdaWlxy16*LambdaWlxy16MonitoringMB
179 )
180 
181 KshortWlxy16MonitoringZBnoHIPnoOOT = KshortMonitoringZBnoHIPnoOOT.clone(
182  v0 = 'KshortWlxy16',
183  FolderName = "Tracking/V0Monitoring/noHIP_noOOTpu_INpu/Ks/Lxy16"
184 )
185 
186 LambdaWlxy16MonitoringZBnoHIPnoOOT = LambdaMonitoringZBnoHIPnoOOT.clone(
187  v0 = 'LambdaWlxy16',
188  FolderName = "Tracking/V0Monitoring/noHIP_noOOTpu_INpu/Lambda/Lxy16"
189 )
190 
191 voWcutMonitoringZBnoHIPnoOOTSequence = cms.Sequence(
192  KshortWlxy16*KshortWlxy16MonitoringZBnoHIPnoOOT
193  +LambdaWlxy16*LambdaWlxy16MonitoringZBnoHIPnoOOT
194 )
195 
196 KshortWlxy16MonitoringZBHIPnoOOT = KshortMonitoringZBHIPnoOOT.clone(
197  v0 = 'KshortWlxy16',
198  FolderName = "Tracking/V0Monitoring/HIP_noOOTpu_INpu/Ks/Lxy16"
199 )
200 
201 LambdaWlxy16MonitoringZBHIPnoOOT = LambdaMonitoringZBHIPnoOOT.clone(
202  v0 = 'LambdaWlxy16',
203  FolderName = "Tracking/V0Monitoring/HIP_noOOTpu_INpu/Lambda/Lxy16"
204 )
205 
206 voWcutMonitoringZBHIPnoOOTSequence = cms.Sequence(
207  KshortWlxy16*KshortWlxy16MonitoringZBHIPnoOOT
208  +LambdaWlxy16*LambdaWlxy16MonitoringZBHIPnoOOT
209 )
210 
211 KshortWlxy16MonitoringZBHIPOOT = KshortMonitoringZBHIPOOT.clone(
212  v0 = 'KshortWlxy16',
213  FolderName = "Tracking/V0Monitoring/HIP_OOTpu_noINpu/Ks/Lxy16"
214 )
215 
216 LambdaWlxy16MonitoringZBHIPOOT = LambdaMonitoringZBHIPOOT.clone(
217  v0 = 'LambdaWlxy16',
218  FolderName = "Tracking/V0Monitoring/HIP_OOTpu_noINpu/Lambda/Lxy16"
219 )
220 
221 voWcutMonitoringZBHIPOOTSequence = cms.Sequence(
222  KshortWlxy16*KshortWlxy16MonitoringZBHIPOOT
223  +LambdaWlxy16*LambdaWlxy16MonitoringZBHIPOOT
224 )