@@ -45,6 +45,8 @@ struct doublephimeson {
4545 Configurable<int > strategyPID2{" strategyPID2" , 0 , " PID strategy 2" };
4646 Configurable<float > minPhiMass{" minPhiMass" , 1.01 , " Minimum phi mass" };
4747 Configurable<float > maxPhiMass{" maxPhiMass" , 1.03 , " Maximum phi mass" };
48+ Configurable<float > minExoticMass{" minExoticMass" , 2.4 , " Minimum Exotic mass" };
49+ Configurable<float > maxExoticMass{" maxExoticMass" , 3.2 , " Maximum Exotic mass" };
4850 Configurable<bool > additionalEvsel{" additionalEvsel" , false , " Additional event selection" };
4951 Configurable<bool > isDeep{" isDeep" , true , " Store deep angle" };
5052 Configurable<float > cutMinNsigmaTPC{" cutMinNsigmaTPC" , -2.5 , " nsigma cut TPC" };
@@ -332,14 +334,20 @@ struct doublephimeson {
332334 if (!selectionPID (phitrackd2.phid2TPC (), phitrackd2.phid2TOF (), phitrackd2.phid2TOFHit (), strategyPID2, kaonminusd2pt)) {
333335 continue ;
334336 }
335- if (phitrackd1.phid1Index () == phitrackd2.phid1Index ()) {
336- continue ;
337- }
338- if (phitrackd1.phid2Index () == phitrackd2.phid2Index ()) {
337+ // if (phitrackd1.phid1Index() == phitrackd2.phid1Index()) {
338+ // continue;
339+ // }
340+ // if (phitrackd1.phid2Index() == phitrackd2.phid2Index()) {
341+ // continue;
342+ // }
343+ if (phitrackd1.phid1Index () == phitrackd2.phid1Index () && phitrackd1.phid2Index () == phitrackd2.phid2Index ()) {
339344 continue ;
340345 }
341346 Phid2.SetXYZM (phitrackd2.phiPx (), phitrackd2.phiPy (), phitrackd2.phiPz (), phitrackd2.phiMass ());
342347 exotic = Phid1 + Phid2;
348+ if (exotic.M () < minExoticMass || exotic.M () > maxExoticMass) {
349+ continue ;
350+ }
343351 // auto cosThetaStar = getCosTheta(exotic, Phid1);
344352 // auto kstar = getkstar(Phid1, Phid2);
345353 auto deltaR = TMath::Sqrt (TMath::Power (Phid1.Phi () - Phid2.Phi (), 2.0 ) + TMath::Power (Phid1.Eta () - Phid2.Eta (), 2.0 ));
0 commit comments