We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c08545 commit 41f9e93Copy full SHA for 41f9e93
PWGUD/Tasks/flowCorrelationsUpc.cxx
@@ -225,8 +225,17 @@ struct FlowCorrelationsUpc {
225
226
void processSame(UDCollisionsFull::iterator const& collision, UdTracksFull const& tracks)
227
{
228
+ if (std::abs(collision.posZ()) > cfgZVtxCut) {
229
+ return;
230
+ }
231
+ if (tracks.size() < cfgMinMult || tracks.size() > cfgMaxMult) {
232
233
234
+
235
int gapSide = collision.gapSide();
- if (gapSide < 0 || gapSide > 2) {
236
+ const int minGapSide = 0;
237
+ const int maxGapSide = 2;
238
+ if (gapSide < minGapSide || gapSide > maxGapSide) {
239
return;
240
}
241
0 commit comments