@@ -100,7 +100,6 @@ struct lambdapolsp {
100100 Configurable<int > cfgTPCcluster{" cfgTPCcluster" , 70 , " Number of TPC cluster" };
101101 Configurable<bool > isPVContributor{" isPVContributor" , true , " is PV contributor" };
102102 Configurable<bool > checkwithpub{" checkwithpub" , true , " checking results with published" };
103- Configurable<bool > useTPCTOF{" useTPCTOF" , true , " flag to use TPC and TOF" };
104103
105104 // Configs for V0
106105 Configurable<float > ConfV0PtMin{" ConfV0PtMin" , 0 .f , " Minimum transverse momentum of V0" };
@@ -120,8 +119,6 @@ struct lambdapolsp {
120119 Configurable<float > ConfDaughTPCnclsMin{" ConfDaughTPCnclsMin" , 50 .f , " V0 Daugh sel: Min. nCls TPC" };
121120 Configurable<double > ConfDaughDCAMin{" ConfDaughDCAMin" , 0 .08f , " V0 Daugh sel: Max. DCA Daugh to PV (cm)" };
122121 Configurable<float > ConfDaughPIDCuts{" ConfDaughPIDCuts" , 3 , " PID selections for Lambda daughters" };
123- Configurable<float > ConfDaughPIDTPCCuts{" ConfDaughPIDTPCCuts" , 3 , " PID selections for Lambda daughters in TPC" };
124- Configurable<float > ConfDaughPIDTOFCuts{" ConfDaughPIDTOFCuts" , 3 , " PID selections for Lambda daughters in TOF" };
125122
126123 Configurable<int > CentNbins{" CentNbins" , 16 , " Number of bins in cent histograms" };
127124 Configurable<float > lbinCent{" lbinCent" , 0.0 , " lower bin value in cent histograms" };
@@ -413,28 +410,11 @@ struct lambdapolsp {
413410 return false;
414411 }*/
415412
416- if (useTPCTOF) {
417- if (track.pt () < 0.5 && pid == 0 && TMath::Abs (track.tpcNSigmaPr ()) > ConfDaughPIDCuts) {
418- return false ;
419- }
420- if (track.pt () < 0.5 && pid == 1 && TMath::Abs (track.tpcNSigmaPi ()) > ConfDaughPIDCuts) {
421- return false ;
422- }
423- if (track.hasTOF ()) {
424- if (track.pt () > 0.5 && pid == 0 && TMath::Abs (track.tpcNSigmaPr ()) > ConfDaughPIDTPCCuts && TMath::Abs (track.tofNSigmaPr ()) > ConfDaughPIDTOFCuts) {
425- return false ;
426- }
427- if (track.pt () > 0.5 && pid == 1 && TMath::Abs (track.tpcNSigmaPi ()) > ConfDaughPIDTPCCuts && TMath::Abs (track.tofNSigmaPi ()) > ConfDaughPIDTOFCuts) {
428- return false ;
429- }
430- }
431- } else {
432- if (pid == 0 && TMath::Abs (track.tpcNSigmaPr ()) > ConfDaughPIDCuts) {
433- return false ;
434- }
435- if (pid == 1 && TMath::Abs (track.tpcNSigmaPi ()) > ConfDaughPIDCuts) {
436- return false ;
437- }
413+ if (pid == 0 && TMath::Abs (track.tpcNSigmaPr ()) > ConfDaughPIDCuts) {
414+ return false ;
415+ }
416+ if (pid == 1 && TMath::Abs (track.tpcNSigmaPi ()) > ConfDaughPIDCuts) {
417+ return false ;
438418 }
439419
440420 if (pid == 0 && pt < cfgDaughPrPt) {
@@ -477,7 +457,8 @@ struct lambdapolsp {
477457
478458 using EventCandidates = soa::Filtered<soa::Join<aod::Collisions, aod::EvSels, aod::FT0Mults, aod::FV0Mults, aod::TPCMults, aod::CentFV0As, aod::CentFT0Ms, aod::CentFT0Cs, aod::CentFT0As, aod::SPCalibrationTables, aod::Mults>>;
479459 // using AllTrackCandidates = soa::Join<aod::Tracks, aod::TracksExtra, aod::TracksDCA, aod::TrackSelection, aod::pidTPCFullPi, aod::pidTPCFullPr>;
480- using AllTrackCandidates = soa::Filtered<soa::Join<aod::Tracks, aod::TracksExtra, aod::TracksDCA, aod::TrackSelection, aod::pidTPCFullPi, aod::pidTPCFullPr, aod::pidTPCFullKa, aod::pidTOFFullPi, aod::pidTOFFullPr>>;
460+ // using AllTrackCandidates = soa::Filtered<soa::Join<aod::Tracks, aod::TracksExtra, aod::TracksDCA, aod::TrackSelection, aod::pidTPCFullPi, aod::pidTPCFullPr, aod::pidTPCFullKa, aod::pidTOFFullPi, aod::pidTOFFullPr>>;
461+ using AllTrackCandidates = soa::Filtered<soa::Join<aod::Tracks, aod::TracksExtra, aod::TracksDCA, aod::TrackSelection, aod::pidTPCFullPi, aod::pidTPCFullPr, aod::pidTPCFullKa>>;
481462 using ResoV0s = aod::V0Datas;
482463
483464 // void processData(EventCandidates::iterator const& collision, AllTrackCandidates const&, ResoV0s const& V0s, aod::BCs const&)
0 commit comments