Skip to content

Commit 91efd9e

Browse files
committed
fix the error
1 parent 76b4423 commit 91efd9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGHF/D2H/Tasks/taskFlowCharmHadrons.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ struct HfTaskFlowCharmHadrons {
343343

344344
/// Get the event selection flags
345345
/// \param hfevselflag is the event selection flag
346-
std::vector<int> getEventSelectionFlags(uint16_t hfevselflag)
346+
std::vector<int> getEventSelectionFlags(uint32_t hfevselflag)
347347
{
348348
return {
349349
TESTBIT(hfevselflag, o2::hf_evsel::EventRejection::NoSameBunchPileup),
@@ -373,7 +373,7 @@ struct HfTaskFlowCharmHadrons {
373373
float& sp,
374374
std::vector<float>& outputMl,
375375
float& occupancy,
376-
uint16_t& hfevselflag)
376+
uint32_t& hfevselflag)
377377
{
378378
if (occEstimator != 0) {
379379
std::vector<int> evtSelFlags = getEventSelectionFlags(hfevselflag);
@@ -784,7 +784,7 @@ struct HfTaskFlowCharmHadrons {
784784
float occupancy{-1.f};
785785
occupancy = getOccupancyColl(collision, occEstimator);
786786
registry.fill(HIST("trackOccVsFT0COcc"), collision.trackOccupancyInTimeRange(), collision.ft0cOccupancyInTimeRange());
787-
uint16_t hfevflag = hfEvSel.getHfCollisionRejectionMask<true, o2::hf_centrality::CentralityEstimator::None, aod::BCsWithTimestamps>(collision, centrality, ccdb, registry);
787+
uint32_t hfevflag = hfEvSel.getHfCollisionRejectionMask<true, o2::hf_centrality::CentralityEstimator::None, aod::BCsWithTimestamps>(collision, centrality, ccdb, registry);
788788
std::vector<int> evtSelFlags = getEventSelectionFlags(hfevflag);
789789
registry.fill(HIST("spReso/hSparseReso"), centrality, xQVecFT0c * xQVecFV0a + yQVecFT0c * yQVecFV0a,
790790
xQVecFT0c * xQVecBTot + yQVecFT0c * yQVecBTot,

0 commit comments

Comments
 (0)