Skip to content

Commit 973a393

Browse files
committed
Add new process function for mixing
1 parent c532592 commit 973a393

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
@@ -204,6 +204,7 @@ struct lambdaspincorrderived {
204204
Configurable<std::string> ConfWeightPathLAL2{"ConfWeightPathLAL2", "Users/s/skundu/My/Object/spincorr/cent010LL", "Weight path 2"};
205205
Configurable<std::string> ConfWeightPathALL2{"ConfWeightPathALL2", "Users/s/skundu/My/Object/spincorr/cent010LL", "Weight path 2"};
206206

207+
207208
// Mixing /////////
208209

209210
Configurable<int> cfgV5NeighborPt{"cfgV5NeighborPt", 0, "v5: neighbor bins in pT (use symmetric ±N, edge-safe)"};
@@ -1800,6 +1801,7 @@ struct lambdaspincorrderived {
18001801
out.erase(std::unique(out.begin(), out.end()), out.end());
18011802
}
18021803

1804+
18031805
static inline void collectNeighborBinsClamp(int b, int nBins, int nNeighbor, std::vector<int>& out)
18041806
{
18051807
out.clear();
@@ -1940,7 +1942,6 @@ struct lambdaspincorrderived {
19401942
continue; // same-event ordering
19411943
}
19421944

1943-
// no shared daughters (same-event)
19441945
if (t1.protonIndex() == t2.protonIndex())
19451946
continue;
19461947
if (t1.pionIndex() == t2.pionIndex())
@@ -2184,6 +2185,7 @@ struct lambdaspincorrderived {
21842185
continue;
21852186

21862187
const int status = mcacc::v0Status(t1);
2188+
21872189
if (status < 0 || status >= nStat) {
21882190
continue;
21892191
}

0 commit comments

Comments
 (0)