You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
voidfillCorrelations(TTracks tracks1, TTracks tracks2, float posZ, int system) // function to fill the Output functions (sparse) and the delta eta and delta phi histograms
259
+
voidfillCorrelations(TTracks tracks1, TTracks tracks2, float posZ, int system, int runnum) // function to fill the Output functions (sparse) and the delta eta and delta phi histograms
if (tracks.size() < cfgMinMult || tracks.size() > cfgMaxMult) {
240
328
return;
241
329
}
242
-
if (tracks.size() < cfgMinMult || tracks.size() > cfgMaxMult) {
330
+
if (collision.trs() == 0) {
243
331
return;
244
332
}
245
333
246
334
int gapSide = collision.gapSide();
247
335
constint minGapSide = 0;
248
336
constint maxGapSide = 2;
249
-
if (gapSide < minGapSide || gapSide > maxGapSide) {
337
+
if (gapSide > minGapSide && gapSide < maxGapSide) {
250
338
return;
251
339
}
252
340
@@ -256,9 +344,11 @@ struct FlowCorrelationsUpc {
256
344
return;
257
345
}
258
346
347
+
int runIndex = collision.runNumber();
348
+
259
349
registry.fill(HIST("eventcount"), SameEvent); // because its same event i put it in the 1 bin
260
350
fillYield(collision, tracks);
261
-
fillCorrelations<CorrelationContainer::kCFStepReconstructed>(tracks, tracks, collision.posZ(), SameEvent); // fill the SE histogram and Sparse
351
+
fillCorrelations<CorrelationContainer::kCFStepReconstructed>(tracks, tracks, collision.posZ(), SameEvent, runIndex); // fill the SE histogram and Sparse
262
352
}
263
353
PROCESS_SWITCH(FlowCorrelationsUpc, processSame, "Process same event", true);
264
354
@@ -275,8 +365,8 @@ struct FlowCorrelationsUpc {
275
365
SameKindPair<UDCollisionsFull, UdTracksFull, MixedBinning> pairs{binningOnVtxAndMult, cfgMinMixEventNum, -1, collisions, tracksTuple, &cache}; // -1 is the number of the bin to skip
276
366
277
367
for (autoconst& [collision1, tracks1, collision2, tracks2] : pairs) {
278
-
registry.fill(HIST("eventcount"), MixedEvent); // fill the mixed event in the 3 bin
registry.fill(HIST("eventcount"), MixedEvent); // fill the mixed event in the 3 bin
369
+
fillCorrelations<CorrelationContainer::kCFStepReconstructed>(tracks1, tracks2, collision1.posZ(), MixedEvent, collision1.runNumber()); // fill the ME histogram and Sparse
0 commit comments