diff --git a/Common/Tools/EventSelectionTools.h b/Common/Tools/EventSelectionTools.h index c04b2f51b62..31a2b48b062 100644 --- a/Common/Tools/EventSelectionTools.h +++ b/Common/Tools/EventSelectionTools.h @@ -731,7 +731,7 @@ class EventSelectionModule return; // dummy process } for (const auto& col : collisions) { - auto bc = col.template bc_as>(); + auto bc = col.template bc_as>(); uint64_t timestamp = timestamps[bc.globalIndex()]; EventSelectionParams* par = ccdb->template getForTimeStamp("EventSelection/EventSelectionParams", timestamp); bool* applySelection = par->getSelection(evselOpts.muonSelection); @@ -837,7 +837,7 @@ class EventSelectionModule if (mapGlobalBcWithTVX.size() == 0) { LOGP(error, "FT0 table is empty or corrupted. Filling evsel table with dummy values"); for (const auto& col : cols) { - auto bc = col.template bc_as>(); + auto bc = col.template bc_as>(); int32_t foundBC = bc.globalIndex(); int32_t foundFT0 = bcselbuffer[bc.globalIndex()].foundFT0Id; int32_t foundFV0 = bcselbuffer[bc.globalIndex()].foundFV0Id; @@ -877,7 +877,7 @@ class EventSelectionModule // first loop to match collisions to TVX, also extract other per-collision information for further use for (const auto& col : cols) { int32_t colIndex = col.globalIndex(); - auto bc = col.template bc_as>(); + auto bc = col.template bc_as>(); vCollVz[colIndex] = col.posZ(); @@ -977,7 +977,7 @@ class EventSelectionModule if (vIsVertexTPC[colIndex] > 0 && vIsVertexTOF[colIndex] == 0 && vIsVertexHighPtTPC[colIndex] == 0) { float weightedTime = vWeightedTimesTPCnoTOFnoTRD[colIndex]; float weightedSigma = vWeightedSigmaTPCnoTOFnoTRD[colIndex]; - auto bc = col.template bc_as>(); + auto bc = col.template bc_as>(); int64_t globalBC = bc.globalBC(); int64_t meanBC = globalBC + TMath::Nint(weightedTime / bcNS); int64_t sigmaBC = TMath::CeilNint(weightedSigma / bcNS);