Skip to content

Commit 2637256

Browse files
author
Chiara De Martin
committed
fill missing bins in histo QA
1 parent 0e5b719 commit 2637256

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

EventFiltering/PWGLF/strangenessFilter.cxx

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,13 +668,18 @@ struct strangenessFilter {
668668
}
669669
hCandidate->Fill(5.5);
670670
}
671-
hCandidate->Fill(7.5);
671+
hCandidate->Fill(6.5); //OLD: eta dau (selection now applied in strangeness helper)
672+
hCandidate->Fill(7.5); //OLD: bachtopv (selection now applied in strangeness helper)
672673

673674
// not striclty needed as selection are applied beforehand - just as QA (no change in number expected)
674675
if (Cascv0radius < v0radius) {
675676
continue;
676677
}
677678
hCandidate->Fill(8.5);
679+
if (Casccascradius < cascradius) {
680+
continue;
681+
}
682+
hCandidate->Fill(9.5);
678683
if (v0DauCPA < v0cospa) {
679684
continue;
680685
}
@@ -683,7 +688,14 @@ struct strangenessFilter {
683688
continue;
684689
}
685690
hCandidate->Fill(11.5);
686-
691+
if (mStraHelper.cascade.cascadeDaughterDCA > dcacascdau) {
692+
continue;
693+
}
694+
hCandidate->Fill(12.5);
695+
if (std::fabs(LambdaMass - constants::physics::MassLambda) > masslambdalimit) {
696+
continue;
697+
}
698+
hCandidate->Fill(13.5);
687699
if (std::fabs(etaCasc) > eta) {
688700
continue;
689701
}
@@ -696,6 +708,20 @@ struct strangenessFilter {
696708
}
697709
hCandidate->Fill(15.5);
698710

711+
// Fill selections QA for Xi
712+
if (cascCPA > casccospaxi) {
713+
hCandidate->Fill(16.5);
714+
if (cascCPA > dcav0topv) {
715+
hCandidate->Fill(17.5);
716+
if (xiproperlifetime < properlifetimefactor * ctauxi) {
717+
hCandidate->Fill(18.5);
718+
if (std::fabs(yXi) < rapidity) {
719+
hCandidate->Fill(19.5);
720+
}
721+
}
722+
}
723+
}
724+
699725
const auto deltaMassXi = useSigmaBasedMassCutXi ? getMassWindow(stfilter::species::Xi, ptCasc) : ximasswindow;
700726
const auto deltaMassOmega = useSigmaBasedMassCutOmega ? getMassWindow(stfilter::species::Omega, ptCasc) : omegamasswindow;
701727

0 commit comments

Comments
 (0)