@@ -701,7 +701,7 @@ struct FemtoUniverseProducerTask {
701701 particle.mlProbD0 ()[0 ], // getter decayVtxX
702702 particle.mlProbD0 ()[1 ], // getter decayVtxY
703703 particle.mlProbD0 ()[2 ], // getter decayVtxZ
704- -999 .); // Additional info for D0/D0bar
704+ -999 .); // Additional info for D0/D0bar
705705 } else if constexpr (isD0barML) {
706706 outputDebugParts (-999 ., -999 ., -999 ., -999 ., -999 ., -999 ., -999 ., -999 ., -999 .,
707707 -999 ., -999 ., -999 ., -999 ., -999 ., -999 ., -999 ., -999 .,
@@ -710,7 +710,7 @@ struct FemtoUniverseProducerTask {
710710 particle.mlProbD0bar ()[0 ], // getter decayVtxX
711711 particle.mlProbD0bar ()[1 ], // getter decayVtxY
712712 particle.mlProbD0bar ()[2 ], // getter decayVtxZ
713- -999 .); // Additional info for D0/D0bar
713+ -999 .); // Additional info for D0/D0bar
714714 } else {
715715 outputDebugParts (-999 ., -999 ., -999 ., -999 ., -999 ., -999 ., -999 ., -999 ., -999 .,
716716 -999 ., -999 ., -999 ., -999 ., -999 ., -999 ., -999 ., -999 .,
@@ -817,26 +817,21 @@ struct FemtoUniverseProducerTask {
817817 if (hfCand.isSelD0 () == 1 && hfCand.isSelD0bar () == 0 ) {
818818 hfCandOrigin = aod::femtouniverse_mc_particle::ParticleOriginMCTruth::kPrompt ;
819819 pdgCode = 421 ;
820- }
821- else if (hfCand.isSelD0 () == 0 && hfCand.isSelD0bar () == 1 ) {
820+ } else if (hfCand.isSelD0 () == 0 && hfCand.isSelD0bar () == 1 ) {
822821 hfCandOrigin = aod::femtouniverse_mc_particle::ParticleOriginMCTruth::kPrompt ;
823822 pdgCode = -421 ;
824- }
825- else {
823+ } else {
826824 hfCandOrigin = aod::femtouniverse_mc_particle::ParticleOriginMCTruth::kFake ;
827825 pdgCode = 0 ;
828826 }
829- }
830- else {
827+ } else {
831828 if (hfCand.isSelD0 () == 1 && hfCand.isSelD0bar () == 0 ) {
832829 hfCandOrigin = aod::femtouniverse_mc_particle::ParticleOriginMCTruth::kNonPrompt ;
833830 pdgCode = 421 ;
834- }
835- else if (hfCand.isSelD0 () == 0 && hfCand.isSelD0bar () == 1 ) {
831+ } else if (hfCand.isSelD0 () == 0 && hfCand.isSelD0bar () == 1 ) {
836832 hfCandOrigin = aod::femtouniverse_mc_particle::ParticleOriginMCTruth::kNonPrompt ;
837833 pdgCode = -421 ;
838- }
839- else {
834+ } else {
840835 hfCandOrigin = aod::femtouniverse_mc_particle::ParticleOriginMCTruth::kFake ;
841836 pdgCode = 0 ;
842837 }
@@ -1519,8 +1514,8 @@ struct FemtoUniverseProducerTask {
15191514 hfCand.eta (),
15201515 hfCand.phi (),
15211516 aod::femtouniverseparticle::ParticleType::kD0 ,
1522- -999 , // cut, CutContainerType
1523- -999 , // PID, CutContainerType
1517+ -999 , // cut, CutContainerType
1518+ -999 , // PID, CutContainerType
15241519 mlProbD0D0barBg, // saving the probability for ML score class 1
15251520 indexChildID,
15261521 invMassD0, // D0 mass (mLambda)
@@ -1529,8 +1524,8 @@ struct FemtoUniverseProducerTask {
15291524 if (confIsDebug) {
15301525 fillDebugParticle<false , true , false >(postrack); // QA for positive daughter
15311526 fillDebugParticle<false , true , false >(negtrack); // QA for negative daughter
1532- if (hfCand.isSelD0 () == 1 && hfCand.isSelD0bar () == 0 ) {
1533- fillDebugD0D0barML<true , false >(hfCand); // QA for D0/D0bar
1527+ if (hfCand.isSelD0 () == 1 && hfCand.isSelD0bar () == 0 ) {
1528+ fillDebugD0D0barML<true , false >(hfCand); // QA for D0/D0bar
15341529 } else if (hfCand.isSelD0 () == 0 && hfCand.isSelD0bar () == 1 ) {
15351530 fillDebugD0D0barML<false , true >(hfCand);
15361531 } else {
@@ -2201,12 +2196,12 @@ struct FemtoUniverseProducerTask {
22012196
22022197 Preslice<soa::Join<aod::HfCand2Prong, aod::HfCand2ProngMcRec, aod::HfSelD0, aod::HfMlD0>> perCollisionD0s = aod::track::collisionId;
22032198 void processTrackD0MC (aod::McCollisions const & mccols,
2204- aod::TracksWMc const &,
2205- soa::Join<aod::Collisions, aod::EvSels, aod::Mults, aod::McCollisionLabels> const & collisions,
2206- soa::Filtered<soa::Join<aod::FemtoFullTracks, aod::McTrackLabels>> const & tracks,
2207- soa::Join<aod::McParticles, aod::HfCand2ProngMcGen> const & hfMcGenCands,
2208- soa::Join<aod::HfCand2Prong, aod::HfCand2ProngMcRec, aod::HfSelD0, aod::HfMlD0> const & hfMcRecoCands,
2209- aod::BCsWithTimestamps const &)
2199+ aod::TracksWMc const &,
2200+ soa::Join<aod::Collisions, aod::EvSels, aod::Mults, aod::McCollisionLabels> const & collisions,
2201+ soa::Filtered<soa::Join<aod::FemtoFullTracks, aod::McTrackLabels>> const & tracks,
2202+ soa::Join<aod::McParticles, aod::HfCand2ProngMcGen> const & hfMcGenCands,
2203+ soa::Join<aod::HfCand2Prong, aod::HfCand2ProngMcRec, aod::HfSelD0, aod::HfMlD0> const & hfMcRecoCands,
2204+ aod::BCsWithTimestamps const &)
22102205 {
22112206 // MC Reco
22122207 std::set<int > recoMcIds;
@@ -2219,18 +2214,18 @@ struct FemtoUniverseProducerTask {
22192214 const auto colcheck = fillCollisions<true >(col, tracks);
22202215 if (colcheck) {
22212216 fillTracks<true >(tracks);
2222- fillD0D0barUsingML<true >(col, groupedTracks, groupedD0s);
2223- for (const auto & track : groupedTracks) {
2224- if (trackCuts.isSelectedMinimal (track))
2225- recoMcIds.insert (track.mcParticleId ());
2226- }
2217+ fillD0D0barUsingML<true >(col, groupedTracks, groupedD0s);
2218+ for (const auto & track : groupedTracks) {
2219+ if (trackCuts.isSelectedMinimal (track))
2220+ recoMcIds.insert (track.mcParticleId ());
2221+ }
22272222 }
22282223 }
22292224 // MC Truth
22302225 for (const auto & mccol : mccols) {
22312226 auto groupedMCParticles = hfMcGenCands.sliceBy (perMCCollision, mccol.globalIndex ());
22322227 auto groupedCollisions = collisions.sliceBy (recoCollsPerMCColl, mccol.globalIndex ());
2233- fillMCTruthCollisions (groupedCollisions, groupedMCParticles); // fills the reco collisions for mc collision
2228+ fillMCTruthCollisions (groupedCollisions, groupedMCParticles); // fills the reco collisions for mc collision
22342229 fillMCTruthParticlesD0<decltype (groupedMCParticles), true , true >(groupedMCParticles, recoMcIds); // fills mc particles
22352230 }
22362231 }
0 commit comments