Skip to content
Merged
Changes from all commits
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
7 changes: 3 additions & 4 deletions PWGHF/HFC/TableProducer/correlatorFlowCharmHadronsReduced.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ struct HfCorrelatorFlowCharmHadronsReduced {
if (!fillSparses && !fillTables) {
LOGP(fatal, "At least one of fillSparses or fillTables must be true!");
}
if ( (binsPtTrig.value.size() != (bdtScore0PtMaxs.value.size() + 1) || binsPtTrig.value.size() != (bdtScore1PtMins.value.size() + 1))) {
if ((binsPtTrig.value.size() != (bdtScore0PtMaxs.value.size() + 1) || binsPtTrig.value.size() != (bdtScore1PtMins.value.size() + 1))) {
LOGP(fatal, "The size of bdtScore0PtMaxs and bdtScore1PtMins must be the one of binsPtTrig minus one!");
}

Expand Down Expand Up @@ -245,7 +245,7 @@ struct HfCorrelatorFlowCharmHadronsReduced {
/// \param ptTrig is the pT of the charm candidate
template <typename TCand>
bool isSelBdtScoreCut(TCand const& cand,
double ptTrig)
double ptTrig)
{
for (size_t iPt = 0; iPt < binsPtTrig.value.size() - 1; iPt++) {
if (ptTrig >= binsPtTrig.value[iPt] && ptTrig < binsPtTrig.value[iPt + 1]) {
Expand Down Expand Up @@ -507,7 +507,7 @@ struct HfCorrelatorFlowCharmHadronsReduced {
PROCESS_SWITCH(HfCorrelatorFlowCharmHadronsReduced, processMixedEventHadHadWMultMix, "Process Mixed Event for Had-Had with multiplicity pools", false);

void processCharmTriggers(aod::HfcRedTrigCharms const& trigCands,
aod::HfcRedCorrColls const&)
aod::HfcRedCorrColls const&)
{
for (const auto& trigCand : trigCands) {
auto collision = trigCand.template hfcRedCorrColl_as<o2::aod::HfcRedCorrColls>();
Expand All @@ -521,7 +521,6 @@ struct HfCorrelatorFlowCharmHadronsReduced {
}
}
PROCESS_SWITCH(HfCorrelatorFlowCharmHadronsReduced, processCharmTriggers, "Process charm trigger info", false);

};

WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
Expand Down
Loading