Skip to content

Commit ebf13af

Browse files
committed
Add new process function for mixing
1 parent afabca5 commit ebf13af

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ struct lambdaspincorrderived {
202202
Configurable<std::string> ConfWeightPathLAL2{"ConfWeightPathLAL2", "Users/s/skundu/My/Object/spincorr/cent010LL", "Weight path 2"};
203203
Configurable<std::string> ConfWeightPathALL2{"ConfWeightPathALL2", "Users/s/skundu/My/Object/spincorr/cent010LL", "Weight path 2"};
204204

205+
205206
// Mixing /////////
206207

207208
Configurable<int> cfgV5NeighborPt{"cfgV5NeighborPt", 0, "v5: neighbor bins in pT (use symmetric ±N, edge-safe)"};
@@ -1775,6 +1776,7 @@ struct lambdaspincorrderived {
17751776
out.erase(std::unique(out.begin(), out.end()), out.end());
17761777
}
17771778

1779+
17781780
static inline void collectNeighborBinsClamp(int b, int nBins, int nNeighbor, std::vector<int>& out)
17791781
{
17801782
out.clear();
@@ -1915,7 +1917,6 @@ struct lambdaspincorrderived {
19151917
continue; // same-event ordering
19161918
}
19171919

1918-
// no shared daughters (same-event)
19191920
if (t1.protonIndex() == t2.protonIndex())
19201921
continue;
19211922
if (t1.pionIndex() == t2.pionIndex())
@@ -2149,6 +2150,7 @@ struct lambdaspincorrderived {
21492150
continue;
21502151

21512152
const int status = mcacc::v0Status(t1);
2153+
21522154
if (status < 0 || status >= nStat) {
21532155
continue;
21542156
}

0 commit comments

Comments
 (0)