Skip to content

Commit 6a5ae21

Browse files
committed
fix O2linter and build error
1 parent 2872ed9 commit 6a5ae21

1 file changed

Lines changed: 15 additions & 14 deletions

File tree

PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackV0Extended.cxx

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12+
/// \file femtoUniversePairTaskTrackV0Extended.cxx
1213
/// \brief Tasks that build pairs of track particles and v0s
1314
/// \author Andi Mathis, TU München, andreas.mathis@ph.tum.de
1415
/// \author Zuzanna Chochulska, WUT Warsaw & CTU Prague, zchochul@cern.ch
@@ -141,7 +142,7 @@ struct FemtoUniversePairTaskTrackV0Extended {
141142
// Efficiency
142143
Configurable<std::string> confLocalEfficiency{"confLocalEfficiency", "", "Local path to efficiency .root file"};
143144

144-
static constexpr UInt_t V0ChildTable[][2] = {{0, 1}, {1, 0}, {1, 1}}; // Table to select the V0 children
145+
static constexpr unsigned int V0ChildTable[][2] = {{0, 1}, {1, 0}, {1, 1}}; // Table to select the V0 children
145146

146147
FemtoUniverseContainer<femtoUniverseContainer::EventType::same, femtoUniverseContainer::Observable::kstar> sameEventCont;
147148
FemtoUniverseContainer<femtoUniverseContainer::EventType::mixed, femtoUniverseContainer::Observable::kstar> mixedEventCont;
@@ -377,15 +378,15 @@ struct FemtoUniversePairTaskTrackV0Extended {
377378
auto groupPartsTwo = partsTwo->sliceByCached(aod::femtouniverseparticle::fdCollisionId, col.globalIndex(), cache);
378379
doSameEvent(col, parts, groupPartsOne, groupPartsTwo);
379380
}
380-
PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processSameEvent, "Enable processing same event for track - V0", false);
381+
PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processSameEvent, "Enable processing same event for track - V0", false);
381382

382383
void processSameEventMCReco(FilteredFDCollision const& col, FemtoRecoParticles const& parts, aod::FDMCParticles const& mcparts)
383384
{
384385
auto groupPartsOne = partsOneMCReco->sliceByCached(aod::femtouniverseparticle::fdCollisionId, col.globalIndex(), cache);
385386
auto groupPartsTwo = partsTwoMCReco->sliceByCached(aod::femtouniverseparticle::fdCollisionId, col.globalIndex(), cache);
386387
doSameEvent(col, parts, groupPartsOne, groupPartsTwo, mcparts);
387388
}
388-
PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processSameEventMCReco, "Enable processing same event for track - V0 MC Reco", false);
389+
PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processSameEventMCReco, "Enable processing same event for track - V0 MC Reco", false);
389390

390391
/// This function processes the same event for V0 - V0
391392
void processSameEventV0(FilteredFDCollision const& col, FemtoFullParticles const& parts)
@@ -461,7 +462,7 @@ struct FemtoUniversePairTaskTrackV0Extended {
461462
}
462463
}
463464

464-
PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processSameEventV0, "Enable processing same event for V0 - V0", false);
465+
PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processSameEventV0, "Enable processing same event for V0 - V0", false);
465466

466467
/// This function processes MC same events for Track - V0
467468
void processMCSameEvent(FilteredFDCollision const& col, FemtoFullParticles const& parts)
@@ -515,7 +516,7 @@ struct FemtoUniversePairTaskTrackV0Extended {
515516
}
516517
}
517518

518-
PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processMCSameEvent, "Enable processing same event for MC truth track - V0", false);
519+
PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processMCSameEvent, "Enable processing same event for MC truth track - V0", false);
519520

520521
/// This function processes MC same events for V0 - V0
521522
void processMCSameEventV0(FilteredFDCollision const& col, FemtoFullParticles const& /*parts*/)
@@ -556,7 +557,7 @@ struct FemtoUniversePairTaskTrackV0Extended {
556557
}
557558
}
558559

559-
PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processMCSameEventV0, "Enable processing same event for MC truth V0 - V0", false);
560+
PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processMCSameEventV0, "Enable processing same event for MC truth V0 - V0", false);
560561

561562
/// This function processes the mixed event for track - V0
562563
template <typename PartType, typename PartitionType, typename MCParticles = std::nullptr_t>
@@ -629,13 +630,13 @@ struct FemtoUniversePairTaskTrackV0Extended {
629630
{
630631
doMixedEvent(cols, parts, partsOne, partsTwo);
631632
}
632-
PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processMixedEvent, "Enable processing mixed event for track - V0", false);
633+
PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processMixedEvent, "Enable processing mixed event for track - V0", false);
633634

634635
void processMixedEventMCReco(FilteredFDCollisions const& cols, FemtoRecoParticles const& parts, aod::FDMCParticles const& mcparts)
635636
{
636637
doMixedEvent(cols, parts, partsOneMCReco, partsTwoMCReco, mcparts);
637638
}
638-
PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processMixedEventMCReco, "Enable processing mixed event for track - V0 for MC Reco", false);
639+
PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processMixedEventMCReco, "Enable processing mixed event for track - V0 for MC Reco", false);
639640

640641
/// This function processes the mixed event for V0 - V0
641642
void processMixedEventV0(FilteredFDCollisions const& cols, FemtoFullParticles const& parts)
@@ -703,7 +704,7 @@ struct FemtoUniversePairTaskTrackV0Extended {
703704
}
704705
}
705706
}
706-
PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processMixedEventV0, "Enable processing mixed events for V0 - V0", false);
707+
PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processMixedEventV0, "Enable processing mixed events for V0 - V0", false);
707708

708709
/// This function processes MC mixed events for Track - V0
709710
void processMCMixedEvent(FilteredFDCollisions const& cols, FemtoFullParticles const& parts)
@@ -751,7 +752,7 @@ struct FemtoUniversePairTaskTrackV0Extended {
751752
}
752753
}
753754

754-
PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processMCMixedEvent, "Enable processing mixed events for MC truth track - V0", false);
755+
PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processMCMixedEvent, "Enable processing mixed events for MC truth track - V0", false);
755756

756757
/// This function processes MC mixed events for V0 - V0
757758
void processMCMixedEventV0(FilteredFDCollisions const& cols, FemtoFullParticles const& /*parts*/)
@@ -789,7 +790,7 @@ struct FemtoUniversePairTaskTrackV0Extended {
789790
}
790791
}
791792

792-
PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processMCMixedEventV0, "Enable processing mixed events for MC truth V0 - V0", false);
793+
PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processMCMixedEventV0, "Enable processing mixed events for MC truth V0 - V0", false);
793794
///--------------------------------------------MC-------------------------------------------------///
794795

795796
/// This function fills MC truth particles from derived MC table
@@ -839,7 +840,7 @@ struct FemtoUniversePairTaskTrackV0Extended {
839840
}
840841
}
841842

842-
PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processMCTruth, "Process MC truth data", false);
843+
PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processMCTruth, "Process MC truth data", false);
843844

844845
void processMCReco(FemtoRecoParticles const& parts, aod::FDMCParticles const& mcparts)
845846
{
@@ -907,13 +908,13 @@ struct FemtoUniversePairTaskTrackV0Extended {
907908
}
908909
}
909910

910-
PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processMCReco, "Process MC reco data", false);
911+
PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processMCReco, "Process MC reco data", false);
911912
};
912913

913914
WorkflowSpec defineDataProcessing(configContext const& cfgc)
914915
{
915916
WorkflowSpec workflow{
916-
adaptAnalysisTask<femtoUniversePairTaskTrackV0Extended>(cfgc),
917+
adaptAnalysisTask<FemtoUniversePairTaskTrackV0Extended>(cfgc),
917918
};
918919
return workflow;
919920
}

0 commit comments

Comments
 (0)