@@ -337,6 +337,7 @@ struct HfCorrelatorLcScHadrons {
337337 Produces<aod::PairedV0InvMass> entryPairedV0InvMass;
338338 Produces<aod::V0InvMass> entryV0InvMass;
339339
340+ SliceCache cache;
340341 Service<o2::framework::O2DatabasePDG> pdg{};
341342
342343 struct : ConfigurableGroup {
@@ -389,7 +390,7 @@ struct HfCorrelatorLcScHadrons {
389390 Configurable<bool > calEffV0{" calEffV0" , false , " calculate lambda0 efficiency" };
390391 } cfgV0;
391392
392- // Event Mixing for the Data Mode
393+ // Event Mixing for the Data Mode
393394 // using SelCollisionsWithSc = soa::Join<aod::Collisions, aod::Mults, aod::EvSels>;
394395 using SelCollisions = soa::Filtered<soa::Join<aod::Collisions, aod::Mults, aod::EvSels, aod::LcSelection>>;
395396 using SelCollisionsMc = soa::Filtered<soa::Join<aod::McCollisions, aod::LcSelection, aod::MultsExtraMC>>; // collisionFilter applied
@@ -411,7 +412,7 @@ struct HfCorrelatorLcScHadrons {
411412 using TracksWithMc = soa::Filtered<soa::Join<aod::TracksWDca, aod::TrackSelection, aod::TracksExtra, o2::aod::McTrackLabels, aod::pidTPCFullPi, aod::pidTPCFullKa, aod::pidTPCFullPr, aod::pidTOFFullPi, aod::pidTOFFullKa, aod::pidTOFFullPr>>; // trackFilter applied
412413
413414 template <class T >
414- using hasStrangeTOFinV0 = decltype (std::declval<T&>().tofNSigmaLaPr());
415+ using HasStrangeTOFinV0 = decltype (std::declval<T&>().tofNSigmaLaPr());
415416
416417 // Filters for ME
417418 Filter collisionFilter = aod::hf_selection_lc_collision::lcSel == true ;
@@ -438,7 +439,6 @@ struct HfCorrelatorLcScHadrons {
438439 BinningType corrBinning{{binsZVtx, binsMultiplicity}, true };
439440 HistogramRegistry registry{" registry" , {}, OutputObjHandlingPolicy::AnalysisObject};
440441
441- SliceCache cache;
442442 int8_t chargeCand = 3 ;
443443 int8_t signSoftPion = 0 ;
444444 int leadingIndex = 0 ;
@@ -598,7 +598,7 @@ struct HfCorrelatorLcScHadrons {
598598 return false ;
599599 }
600600 if (track.hasTOF ()) {
601- if constexpr (std::experimental::is_detected<hasStrangeTOFinV0 , V0Type>::value) {
601+ if constexpr (std::experimental::is_detected<HasStrangeTOFinV0 , V0Type>::value) {
602602 // pid > 0: Proton from Lambda (LaPr)
603603 // pid < 0: Antiproton from Anti-Lambda (ALaPr)
604604 double strangeTOF = (pid > 0 ) ? v0.tofNSigmaLaPr () : v0.tofNSigmaALaPr ();
@@ -625,7 +625,7 @@ struct HfCorrelatorLcScHadrons {
625625 }
626626
627627 if (track.hasTOF ()) {
628- if constexpr (std::experimental::is_detected<hasStrangeTOFinV0 , V0Type>::value) {
628+ if constexpr (std::experimental::is_detected<HasStrangeTOFinV0 , V0Type>::value) {
629629 // A pion can belong to either a Lambda/Anti-Lambda decay or a K0s decay.
630630 // We evaluate both applicable hypotheses based on charge sign and pick the best match.
631631 double tofLa = (pid > 0 ) ? v0.tofNSigmaALaPi () : v0.tofNSigmaLaPi ();
@@ -1037,9 +1037,9 @@ struct HfCorrelatorLcScHadrons {
10371037 }
10381038
10391039 auto daughterParts = particle.daughters_as <aod::McParticles>();
1040- const int8_t NdaughtersV0 = 2 ;
1040+ const int8_t nDaughtersV0 = 2 ;
10411041
1042- if (daughterParts.size () != NdaughtersV0 ) {
1042+ if (daughterParts.size () != nDaughtersV0 ) {
10431043 continue ;
10441044 }
10451045
0 commit comments