@@ -895,26 +895,25 @@ struct k892hadronphoton {
895895 histos.fill (HIST (MainDir[mode]) + HIST (" /h2dArmenteros" ), kstar.photonAlpha (), kstar.photonQt ());
896896 histos.fill (HIST (MainDir[mode]) + HIST (" /h2dArmenteros" ), kstar.kshortAlpha (), kstar.kshortQt ());
897897
898- if (kstar.kshortAlpha () < 1 ) {
899- histos.fill (HIST (MainDir[mode]) + HIST (" /KShort/h2dTPCvsTOFNSigma_KShortPi" ), kstar.kshortPosPiTPCNSigma (), kstar.kshortPiTOFNSigma ());
900- histos.fill (HIST (MainDir[mode]) + HIST (" /KShort/h2dTPCvsTOFNSigma_KShortPi" ), kstar.kshortNegPiTPCNSigma (), kstar.kshortPiTOFNSigma ());
901- histos.fill (HIST (MainDir[mode]) + HIST (" /KShort/hKShortDCANegToPV" ), kstar.kshortDCANegPV ());
902- histos.fill (HIST (MainDir[mode]) + HIST (" /KShort/hKShortDCAPosToPV" ), kstar.kshortDCAPosPV ());
903- histos.fill (HIST (MainDir[mode]) + HIST (" /KShort/hKShortpT" ), kstar.kshortPt ());
904- histos.fill (HIST (MainDir[mode]) + HIST (" /KShort/hKShortMass" ), kstar.kshortMass ());
905- histos.fill (HIST (MainDir[mode]) + HIST (" /KShort/h3dKShortMass" ), centrality, kstar.kshortPt (), kstar.kshortMass ());
906-
907- histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/hMass" ), kstar.kstarMass ());
908- histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/hPt" ), kstar.pt ());
909- histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/hY" ), kstar.kstarY ());
910- histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/hRadius" ), kstar.radius ());
911- histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/h2dRadiusVspT" ), kstar.radius (), kstar.pt ());
912- histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/hDCAPairDau" ), kstar.dcadaughters ());
913- histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/hDCAPairDauVsPt" ), kstar.dcadaughters (), kstar.pt ());
914- histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/h3dMass" ), centrality, kstar.pt (), kstar.kstarMass ());
915- histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/h3dOPAngleVsMass" ), kstar.opAngle (), kstar.pt (), kstar.kstarMass ());
916- histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/h2dOPAngleVsPt" ), kstar.opAngle (), kstar.pt ());
917- }
898+ histos.fill (HIST (MainDir[mode]) + HIST (" /KShort/h2dTPCvsTOFNSigma_KShortPi" ), kstar.kshortPosPiTPCNSigma (), kstar.kshortPiTOFNSigma ());
899+ histos.fill (HIST (MainDir[mode]) + HIST (" /KShort/h2dTPCvsTOFNSigma_KShortPi" ), kstar.kshortNegPiTPCNSigma (), kstar.kshortPiTOFNSigma ());
900+ histos.fill (HIST (MainDir[mode]) + HIST (" /KShort/hKShortDCANegToPV" ), kstar.kshortDCANegPV ());
901+ histos.fill (HIST (MainDir[mode]) + HIST (" /KShort/hKShortDCAPosToPV" ), kstar.kshortDCAPosPV ());
902+ histos.fill (HIST (MainDir[mode]) + HIST (" /KShort/hKShortpT" ), kstar.kshortPt ());
903+ histos.fill (HIST (MainDir[mode]) + HIST (" /KShort/hKShortMass" ), kstar.kshortMass ());
904+ histos.fill (HIST (MainDir[mode]) + HIST (" /KShort/h3dKShortMass" ), centrality, kstar.kshortPt (), kstar.kshortMass ());
905+
906+ histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/hMass" ), kstar.kstarMass ());
907+ histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/hPt" ), kstar.pt ());
908+ histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/hY" ), kstar.kstarY ());
909+ histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/hRadius" ), kstar.radius ());
910+ histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/h2dRadiusVspT" ), kstar.radius (), kstar.pt ());
911+ histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/hDCAPairDau" ), kstar.dcadaughters ());
912+ histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/hDCAPairDauVsPt" ), kstar.dcadaughters (), kstar.pt ());
913+ histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/h3dMass" ), centrality, kstar.pt (), kstar.kstarMass ());
914+ histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/h3dOPAngleVsMass" ), kstar.opAngle (), kstar.pt (), kstar.kstarMass ());
915+ histos.fill (HIST (MainDir[mode]) + HIST (" /KStar/h2dOPAngleVsPt" ), kstar.opAngle (), kstar.pt ());
916+
918917 // _______________________________________
919918 // MC specific
920919 if (doprocessMonteCarlo) {
@@ -1133,31 +1132,31 @@ struct k892hadronphoton {
11331132
11341133 // Separating kshort selections:
11351134 fillSelHistos<8 >(cand, PDG_t::kK0Short );
1136- if (cand. kshortAlpha () < 1 ) { // KShort selection
1137- // TPC Selection
1138- if (kshortSelections.fselKShortTPCPID && (TMath::Abs (cand.kshortPosPiTPCNSigma ()) > kshortSelections.KShortMaxTPCNSigmas ))
1139- return false ;
1140- if (kshortSelections.fselKShortTPCPID && (TMath::Abs (cand.kshortNegPiTPCNSigma ()) > kshortSelections.KShortMaxTPCNSigmas ))
1141- return false ;
1135+
1136+ // TPC Selection
1137+ if (kshortSelections.fselKShortTPCPID && (TMath::Abs (cand.kshortPosPiTPCNSigma ()) > kshortSelections.KShortMaxTPCNSigmas ))
1138+ return false ;
1139+ if (kshortSelections.fselKShortTPCPID && (TMath::Abs (cand.kshortNegPiTPCNSigma ()) > kshortSelections.KShortMaxTPCNSigmas ))
1140+ return false ;
11421141
1143- // // TOF Selection
1144- // if (kshortSelections.fselKShortTOFPID && (TMath::Abs(cand.kshortPiTOFNSigma()) > kshortSelections.KShortPiMaxTOFNSigmas))
1145- // return false;
1146- // if (kshortSelections.fselKShortTOFPID && (TMath::Abs(cand.lambdaPiTOFNSigma()) > kshortSelections.KShortPiMaxTOFNSigmas))
1147- // return false;
1142+ // // TOF Selection
1143+ // if (kshortSelections.fselKShortTOFPID && (TMath::Abs(cand.kshortPiTOFNSigma()) > kshortSelections.KShortPiMaxTOFNSigmas))
1144+ // return false;
1145+ // if (kshortSelections.fselKShortTOFPID && (TMath::Abs(cand.lambdaPiTOFNSigma()) > kshortSelections.KShortPiMaxTOFNSigmas))
1146+ // return false;
11481147
1149- // DCA Selection
1150- fillSelHistos<9 >(cand, PDG_t::kK0Short );
1151- if ((TMath::Abs (cand.kshortDCAPosPV ()) < kshortSelections.KShortMinDCAPosToPv ) || (TMath::Abs (cand.kshortDCANegPV ()) < kshortSelections.KShortMinDCANegToPv ))
1152- return false ;
1148+ // DCA Selection
1149+ fillSelHistos<9 >(cand, PDG_t::kK0Short );
1150+ if ((TMath::Abs (cand.kshortDCAPosPV ()) < kshortSelections.KShortMinDCAPosToPv ) || (TMath::Abs (cand.kshortDCANegPV ()) < kshortSelections.KShortMinDCANegToPv ))
1151+ return false ;
11531152
1154- // Mass Selection
1155- fillSelHistos<10 >(cand, PDG_t::kK0Short );
1156- if (TMath::Abs (cand.kshortMass () - o2::constants::physics::MassK0Short) > kshortSelections.KShortWindow )
1157- return false ;
1153+ // Mass Selection
1154+ fillSelHistos<10 >(cand, PDG_t::kK0Short );
1155+ if (TMath::Abs (cand.kshortMass () - o2::constants::physics::MassK0Short) > kshortSelections.KShortWindow )
1156+ return false ;
11581157
1159- fillSelHistos<11 >(cand, PDG_t::kK0Short );
1160- }
1158+ fillSelHistos<11 >(cand, PDG_t::kK0Short );
1159+
11611160 return true ;
11621161 }
11631162
0 commit comments