@@ -103,6 +103,7 @@ struct FlowGFWOmegaXi {
103103 O2_DEFINE_CONFIGURABLE (cfgtpccrossoverfindable, int , 1 , " minimum number of Ratio crossed rows over findable clusters" )
104104 O2_DEFINE_CONFIGURABLE (cfgcheckDauTPC, bool , true , " check daughter tracks TPC or not" )
105105 O2_DEFINE_CONFIGURABLE (cfgcheckDauTOF, bool , false , " check daughter tracks TOF or not" )
106+ O2_DEFINE_CONFIGURABLE (cfgcheckCascSign, bool , false , " check cascades sign or not" )
106107 O2_DEFINE_CONFIGURABLE (cfgCasc_rapidity, float , 0.5 , " rapidity" )
107108 O2_DEFINE_CONFIGURABLE (cfgtpcNSigmaCascPion, float , 3 , " NSigmaCascPion" )
108109 O2_DEFINE_CONFIGURABLE (cfgtpcNSigmaCascProton, float , 3 , " NSigmaCascProton" )
@@ -183,8 +184,7 @@ struct FlowGFWOmegaXi {
183184 int nMultBins = 0 ;
184185 TAxis* fMultAxis = nullptr ;
185186
186- int nPhiBins = 60 ;
187- TAxis* fPhiAxis = new TAxis(nPhiBins, 0 , constants::math::TwoPI);
187+ TAxis* fPhiAxis = new TAxis(60 , 0 , constants::math::TwoPI);
188188
189189 TAxis* fOmegaMass = nullptr ;
190190
@@ -348,8 +348,8 @@ struct FlowGFWOmegaXi {
348348 corrconfigs.push_back (fGFW ->GetCorrelatorConfig (" poiLambdaPdpt {2} refN10 {-2}" , " Lambda10Gap22a" , kTRUE ));
349349 corrconfigs.push_back (fGFW ->GetCorrelatorConfig (" poiLambdaNdpt {2} refP10 {-2}" , " Lambda10Gap22b" , kTRUE ));
350350 corrconfigs.push_back (fGFW ->GetCorrelatorConfig (" poiLambdafulldpt reffull {2 2 -2 -2}" , " Xi10Gap24a" , kTRUE ));
351- corrconfigs.push_back (fGFW ->GetCorrelatorConfig (" refP10 {2} refN10 {-2}" , " Ref10Gap22a " , kFALSE ));
352- corrconfigs.push_back (fGFW ->GetCorrelatorConfig (" reffull reffull {2 2 -2 -2}" , " Ref10Gap24" , kFALSE ));
351+ corrconfigs.push_back (fGFW ->GetCorrelatorConfig (" refP10 {2} refN10 {-2}" , " Ref10Gap22 " , kFALSE ));
352+ corrconfigs.push_back (fGFW ->GetCorrelatorConfig (" reffull {2 2 -2 -2}" , " Ref10Gap24" , kFALSE ));
353353 corrconfigs.push_back (fGFW ->GetCorrelatorConfig (" poiK0sP {2} refN10 {-2}" , " K0s10Gap22inta" , kFALSE ));
354354 corrconfigs.push_back (fGFW ->GetCorrelatorConfig (" poiK0sN {2} refP10 {-2}" , " K0s10Gap22intb" , kFALSE ));
355355 corrconfigs.push_back (fGFW ->GetCorrelatorConfig (" poiLambdaP {2} refN10 {-2}" , " Lambda10Gap22inta" , kFALSE ));
@@ -678,7 +678,6 @@ struct FlowGFWOmegaXi {
678678 for (auto & v0 : V0s) {
679679 auto v0posdau = v0.posTrack_as <DaughterTracks>();
680680 auto v0negdau = v0.negTrack_as <DaughterTracks>();
681- // check tpc
682681 int PDGCode = 0 ;
683682 // fill QA
684683 registry.fill (HIST (" hqaarm_podobefore" ), v0.alpha (), v0.qtarm ());
@@ -769,13 +768,17 @@ struct FlowGFWOmegaXi {
769768 continue ;
770769 }
771770 int PDGCode = 0 ;
772- if (casc.sign () < 0 && std::fabs (casc.yOmega ()) < cfgCasc_rapidity && std::fabs (bachelor.tpcNSigmaKa ()) < cfgtpcNSigmaCascKaon && std::fabs (posdau.tpcNSigmaPr ()) < cfgtpcNSigmaCascProton && std::fabs (negdau.tpcNSigmaPi ()) < cfgtpcNSigmaCascPion && std::fabs (bachelor.tofNSigmaKa ()) < cfgtofNSigmaCascKaon && std::fabs (posdau.tofNSigmaPr ()) < cfgtofNSigmaCascProton && std::fabs (negdau.tofNSigmaPi ()) < cfgtofNSigmaCascPion) {
771+ if ((!cfgcheckCascSign || casc.sign () < 0 ) && std::fabs (casc.yOmega ()) < cfgCasc_rapidity &&
772+ (!cfgcheckDauTPC || (std::fabs (bachelor.tpcNSigmaKa ()) < cfgtpcNSigmaCascKaon && std::fabs (posdau.tpcNSigmaPr ()) < cfgtpcNSigmaCascProton && std::fabs (negdau.tpcNSigmaPi ()) < cfgtpcNSigmaCascPion)) &&
773+ (!cfgcheckDauTOF || (std::fabs (bachelor.tofNSigmaKa ()) < cfgtofNSigmaCascKaon && std::fabs (posdau.tofNSigmaPr ()) < cfgtofNSigmaCascProton && std::fabs (negdau.tofNSigmaPi ()) < cfgtofNSigmaCascPion))) {
773774 registry.fill (HIST (" InvMassOmegaMinus_all" ), casc.pt (), casc.mOmega (), casc.eta (), cent);
774775 if (!setCurrentParticleWeights (weff, wacc, casc, vtxz, 4 ))
775776 continue ;
776777 PDGCode = kOmegaMinus ;
777778 CandNum_all[3 ] = CandNum_all[3 ] + 1 ;
778- } else if (casc.sign () < 0 && std::fabs (casc.yXi ()) < cfgCasc_rapidity && std::fabs (bachelor.tpcNSigmaPi ()) < cfgtpcNSigmaCascPion && std::fabs (posdau.tpcNSigmaPr ()) < cfgtpcNSigmaCascProton && std::fabs (negdau.tpcNSigmaPi ()) < cfgtpcNSigmaCascPion && std::fabs (bachelor.tofNSigmaPi ()) < cfgtofNSigmaCascPion && std::fabs (posdau.tofNSigmaPr ()) < cfgtofNSigmaCascProton && std::fabs (negdau.tofNSigmaPi ()) < cfgtofNSigmaCascPion) {
779+ } else if ((!cfgcheckCascSign || casc.sign () < 0 ) && std::fabs (casc.yXi ()) < cfgCasc_rapidity &&
780+ (!cfgcheckDauTPC || (std::fabs (bachelor.tpcNSigmaPi ()) < cfgtpcNSigmaCascPion && std::fabs (posdau.tpcNSigmaPr ()) < cfgtpcNSigmaCascProton && std::fabs (negdau.tpcNSigmaPi ()) < cfgtpcNSigmaCascPion)) &&
781+ (!cfgcheckDauTOF || (std::fabs (bachelor.tofNSigmaPi ()) < cfgtofNSigmaCascPion && std::fabs (posdau.tofNSigmaPr ()) < cfgtofNSigmaCascProton && std::fabs (negdau.tofNSigmaPi ()) < cfgtofNSigmaCascPion))) {
779782 registry.fill (HIST (" InvMassXiMinus_all" ), casc.pt (), casc.mXi (), casc.eta (), cent);
780783 if (!setCurrentParticleWeights (weff, wacc, casc, vtxz, 3 ))
781784 continue ;
@@ -808,6 +811,12 @@ struct FlowGFWOmegaXi {
808811 continue ;
809812 if (negdau.tpcNClsFound () < cfgtpcclusters)
810813 continue ;
814+ if (bachelor.tpcNClsFindable () < cfgtpcclufindable)
815+ continue ;
816+ if (posdau.tpcNClsFindable () < cfgtpcclufindable)
817+ continue ;
818+ if (negdau.tpcNClsFindable () < cfgtpcclufindable)
819+ continue ;
811820 if (bachelor.itsNCls () < cfgitsclusters)
812821 continue ;
813822 if (posdau.itsNCls () < cfgitsclusters)
0 commit comments