Skip to content

Commit 2ef76d7

Browse files
authored
Update candidateSelectorOmegac0ToOmegaPi.cxx
1 parent dc5e655 commit 2ef76d7

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

PWGHF/TableProducer/candidateSelectorOmegac0ToOmegaPi.cxx

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -551,21 +551,20 @@ struct HfCandidateSelectorToOmegaPi {
551551
registry.fill(HIST("hSelctauOmegac"), 1);
552552
}
553553

554-
// Chi2Geo/NDF V0&Casc&OmegaKa selection
555-
if ((candidate.chi2GeoV0() > KfconfigurableGroup.v0Chi2OverNdfMax) || (candidate.chi2GeoV0() < 0) || (candidate.chi2GeoCasc() > KfconfigurableGroup.cascChi2OverNdfMax) || (candidate.chi2GeoCasc() < 0) || (candidate.chi2GeoOmegaKa() > KfconfigurableGroup.omegaKaChi2OverNdfMax) || (candidate.chi2GeoOmegaKa() < 0)) {
554+
// Chi2Geo/NDF V0&Casc&Omegac selection
555+
if ((candidate.v0Chi2OverNdf() > KfconfigurableGroup.v0Chi2OverNdfMax) || (candidate.v0Chi2OverNdf() < 0) || (candidate.cascChi2OverNdf() > KfconfigurableGroup.cascChi2OverNdfMax) || (candidate.cascChi2OverNdf() < 0) || (candidate.omegacChi2OverNdf() > KfconfigurableGroup.omegacChi2OverNdfMax) || (candidate.omegacChi2OverNdf() < 0)) {
556556
resultSelections = false;
557-
registry.fill(HIST("hSelChi2GeooverNDFV0_Casc_OmegaKa"), 0);
557+
registry.fill(HIST("hSelChi2GeooverNDFV0_Casc_Omegac"), 0);
558558
} else {
559-
registry.fill(HIST("hSelChi2GeooverNDFV0_Casc_OmegaKa"), 1);
559+
registry.fill(HIST("hSelChi2GeooverNDFV0_Casc_Omegac"), 1);
560560
}
561-
562-
// Chi2Topo/NDF selection
563-
if ((candidate.chi2TopoV0ToCasc() > KfconfigurableGroup.chi2TopoV0ToCascMax) || (candidate.chi2TopoV0ToCasc() < 0) || (candidate.chi2TopoKaToCasc() > KfconfigurableGroup.chi2TopoKaToCascMax) || (candidate.chi2TopoKaToCasc() < 0) || (candidate.chi2TopoCascToOmegaKa() > KfconfigurableGroup.chi2TopoCascToOmegaKaMax) || (candidate.chi2TopoCascToOmegaKa() < 0) || (candidate.chi2TopoKaToOmegaKa() > KfconfigurableGroup.chi2TopoKaToOmegaKaMax) || (candidate.chi2TopoKaToOmegaKa() < 0) ||
564-
(candidate.chi2TopoOmegaKaToPv() > KfconfigurableGroup.chi2TopoOmegaKaToPvMax) || (candidate.chi2TopoOmegaKaToPv() < 0) || (candidate.chi2TopoCascToPv() > KfconfigurableGroup.chi2TopoCascToPvMax) || (candidate.chi2TopoCascToPv() < 0) || (candidate.chi2TopoKaFromOmegaKaToPv() > KfconfigurableGroup.chi2TopoKaFromOmegaKaToPvMax) || (candidate.chi2TopoKaFromOmegaKaToPv() < 0)) {
561+
562+
// Chi2Topo/NDF (chi2TopoV0ToCasc chi2TopoOmegacToPv chi2TopoCascToOmegac chi2TopoCascToPv) selection (???????????/NDF of which particle????????)
563+
if ((candidate.chi2TopoV0ToCasc() > KfconfigurableGroup.chi2TopoV0ToCascMax) || (candidate.chi2TopoV0ToCasc() < 0) || (candidate.chi2TopoOmegacToPv() > KfconfigurableGroup.chi2TopoOmegacToPvMax) || (candidate.chi2TopoOmegacToPv() < 0) || (candidate.chi2TopoCascToOmegac() > KfconfigurableGroup.chi2TopoCascToOmegacMax) || (candidate.chi2TopoCascToOmegac() < 0) || (candidate.chi2TopoCascToPv() > KfconfigurableGroup.chi2TopoCascToPvMax) || (candidate.chi2TopoCascToPv() < 0)) {
565564
resultSelections = false;
566-
registry.fill(HIST("hSelChi2TopooverNDFV0_Casc_OmegaKa"), 0);
565+
registry.fill(HIST("hSelChi2TopooverNDFV0_Casc_Omegac"), 0);
567566
} else {
568-
registry.fill(HIST("hSelChi2TopooverNDFV0_Casc_OmegaKa"), 1);
567+
registry.fill(HIST("hSelChi2TopooverNDFV0_Casc_Omegac"), 1);
569568
}
570569

571570
// DecaylengthXY of Omegac&Casc&V0 selection

0 commit comments

Comments
 (0)