Skip to content

Commit 0e27895

Browse files
authored
PWGLF: small bugfix in extra functionality
1 parent 97206eb commit 0e27895

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎PWGLF/TableProducer/strangederivedbuilder.cxx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ struct strangederivedbuilder {
217217

218218
if (doprocessBinnedGenerated) {
219219
// reserve space for generated vectors if that process enabled
220-
LOGF(info, "Binned generated processing enabled. Initialising...");
220+
LOGF(info, "Binned generated processing enabled. Initialising with %i elements...", hBinFinder->GetNcells());
221221
auto hBinFinder = histos.get<TH2>(HIST("h2dGenK0Short"));
222222
genK0Short.resize(hBinFinder->GetNcells(), 0);
223223
genLambda.resize(hBinFinder->GetNcells(), 0);
@@ -588,8 +588,8 @@ struct strangederivedbuilder {
588588
{
589589
// set to zero
590590
std::fill(genK0Short.begin(), genK0Short.end(), 0);
591-
std::fill(genLambda.begin(), genK0Short.end(), 0);
592-
std::fill(genAntiLambda.begin(), genK0Short.end(), 0);
591+
std::fill(genLambda.begin(), genLambda.end(), 0);
592+
std::fill(genAntiLambda.begin(), genAntiLambda.end(), 0);
593593
std::fill(genXiMinus.begin(), genXiMinus.end(), 0);
594594
std::fill(genXiPlus.begin(), genXiPlus.end(), 0);
595595
std::fill(genOmegaMinus.begin(), genOmegaMinus.end(), 0);

0 commit comments

Comments
 (0)