Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
only use FIT info for response study
  • Loading branch information
aalkin committed Nov 24, 2023
commit caeb6b3de74842e57423321153cb8498fe3fc0ca
8 changes: 6 additions & 2 deletions PWGMM/Mult/Tasks/dndeta.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,9 @@ struct MultiplicityCounter {
}
NrecPerCol.emplace_back(Nrec);
NPVPerCol.emplace_back(collision.numContrib());
fillFIT(collision, NFT0APerCol, NFT0CPerCol, NFDDAPerCol, NFDDCPerCol);
if (responseStudy) {
fillFIT(collision, NFT0APerCol, NFT0CPerCol, NFDDAPerCol, NFDDCPerCol);
}

if constexpr (hasRecoCent<C>()) {
binnedRegistry.fill(HIST(Efficiency), static_cast<float>(EvEffBins::kSelected), c_gen);
Expand Down Expand Up @@ -1334,7 +1336,9 @@ struct MultiplicityCounter {
}
NrecPerCol.emplace_back(Nrec);
NPVPerCol.emplace_back(collision.numContrib());
fillFIT(collision, NFT0APerCol, NFT0CPerCol, NFDDAPerCol, NFDDCPerCol);
if (responseStudy) {
fillFIT(collision, NFT0APerCol, NFT0CPerCol, NFDDAPerCol, NFDDCPerCol);
}

if constexpr (hasRecoCent<C>()) {
binnedRegistry.fill(HIST(Efficiency), static_cast<float>(EvEffBins::kSelected), c_gen);
Expand Down