Skip to content

Commit

Permalink
Merge pull request #7 from alibuild/alibot-cleanup-9390
Browse files Browse the repository at this point in the history
[PWGHF] Please consider the following formatting changes to #9390
  • Loading branch information
FDUEnrich authored Jan 22, 2025
2 parents 656dd81 + 44ae7b4 commit a9cb56f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
12 changes: 6 additions & 6 deletions PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ struct HfCandidateCreatorXic0Omegac0 {
registry.add("hKFcosPaV0ToCasc", "hKFcosPaV0ToCasc", kTH1D, {{5000, 0.8f, 1.1f}});
registry.add("hKFcosPaCascToOmegac", "hKFcosPaCascToOmegac", kTH1D, {{5000, 0.8f, 1.1f}});


hfEvSel.addHistograms(registry); // collision monitoring

df.setPropagateToPCA(propagateToPCA);
Expand Down Expand Up @@ -853,7 +852,7 @@ struct HfCandidateCreatorXic0Omegac0 {
}
registry.fill(HIST("hInvMassOmegaMinus"), massCasc);
kfOmega.TransportToDecayVertex();
//rej: Add competing rejection to minimize misidentified Xi impact. Reject if kfBachPionRej is Pion and the constructed cascade has Xi's invariant mass.
// rej: Add competing rejection to minimize misidentified Xi impact. Reject if kfBachPionRej is Pion and the constructed cascade has Xi's invariant mass.

//__________________________________________
//*>~<* step 3 : reconstruc Omegac0 with KF
Expand Down Expand Up @@ -1090,11 +1089,11 @@ struct HfCandidateCreatorXic0Omegac0 {
registry.fill(HIST("hKFParticleV0TopoChi2"), kfOmegac0Candidate.chi2NdfTopoV0ToCasc);
registry.fill(HIST("hKFParticleCascTopoChi2"), kfOmegac0Candidate.chi2NdfTopoCascToOmegac);
registry.fill(HIST("hKFParticlechi2TopoOmegacToPv"), kfOmegac0Candidate.chi2NdfTopoOmegacToPv);
registry.fill(HIST("hKFParticlechi2TopoCascToPv"), kfOmegac0Candidate.chi2NdfTopoCascToPv);
registry.fill(HIST("hKFParticlechi2TopoCascToPv"), kfOmegac0Candidate.chi2NdfTopoCascToPv);
registry.fill(HIST("hKFParticleDcaCharmBaryonDau"), kfOmegac0Candidate.kfDcaOmegacDau);
registry.fill(HIST("hKFParticleDcaXYCascBachToPv"), dcaxyCascBachelor);
registry.fill(HIST("hKFParticleDcaXYV0DauPosToPv"), dcaxyV0Dau0);
registry.fill(HIST("hKFParticleDcaXYV0DauNegToPv"), dcaxyV0Dau1);
registry.fill(HIST("hKFParticleDcaXYV0DauPosToPv"), dcaxyV0Dau0);
registry.fill(HIST("hKFParticleDcaXYV0DauNegToPv"), dcaxyV0Dau1);
registry.fill(HIST("hKfLambda_ldl"), kfOmegac0Candidate.ldlV0);
registry.fill(HIST("hKfOmega_ldl"), kfOmegac0Candidate.ldlCasc);
registry.fill(HIST("hKfOmegaC0_ldl"), kfOmegac0Candidate.ldlOmegac);
Expand Down Expand Up @@ -2502,4 +2501,5 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
return WorkflowSpec{
adaptAnalysisTask<HfCandidateCreatorXic0Omegac0>(cfgc),
adaptAnalysisTask<HfCandidateCreatorXic0Omegac0Mc>(cfgc)};
}
}

Check failure on line 2505 in PWGHF/TableProducer/candidateCreatorXic0Omegac0.cxx

View workflow job for this annotation

GitHub Actions / PR formatting / whitespace

Trailing spaces

Remove the trailing spaces at the end of the line.
7 changes: 3 additions & 4 deletions PWGHF/TableProducer/candidateSelectorOmegac0ToOmegaPi.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,7 @@ struct HfCandidateSelectorToOmegaPi {
TracksSel const& tracks,
TracksSelLf const& lfTracks)
{
if constexpr (std::is_same_v<CandidateType, aod::HfOmegacKf>)
{
if constexpr (std::is_same_v<CandidateType, aod::HfOmegacKf>) {
// looping over charm baryon candidates
for (const auto& candidate : candidates) {

Expand Down Expand Up @@ -626,8 +625,8 @@ struct HfCandidateSelectorToOmegaPi {
}

hfSelToOmegaPi(statusPidLambda, statusPidCascade, statusPidCharmBaryon, statusInvMassLambda, statusInvMassCascade, statusInvMassCharmBaryon, resultSelections, infoTpcStored, infoTofStored,
trackPiFromCharm.tpcNSigmaPi(), trackKaFromCasc.tpcNSigmaKa(), trackPiFromLam.tpcNSigmaPi(), trackPrFromLam.tpcNSigmaPr(),
trackPiFromCharm.tofNSigmaPi(), trackKaFromCasc.tofNSigmaKa(), trackPiFromLam.tofNSigmaPi(), trackPrFromLam.tofNSigmaPr());
trackPiFromCharm.tpcNSigmaPi(), trackKaFromCasc.tpcNSigmaKa(), trackPiFromLam.tpcNSigmaPi(), trackPrFromLam.tpcNSigmaPr(),
trackPiFromCharm.tofNSigmaPi(), trackKaFromCasc.tofNSigmaKa(), trackPiFromLam.tofNSigmaPi(), trackPrFromLam.tofNSigmaPr());

if (resultSelections) {
if (!statusPidLambda) {
Expand Down

0 comments on commit a9cb56f

Please sign in to comment.