@@ -66,13 +66,11 @@ namespace
6666{
6767std::vector<std::shared_ptr<TProfile>> refV2;
6868std::vector<std::shared_ptr<TProfile3D>> phiV2;
69- std::vector<std::shared_ptr<TProfile3D>> lsPhiV2;
7069std::vector<std::shared_ptr<TProfile3D>> k0V2;
7170std::vector<std::shared_ptr<TProfile3D>> lambdaV2;
7271
7372std::vector<std::vector<std::shared_ptr<TProfile>>> refBoot;
7473std::vector<std::vector<std::shared_ptr<TProfile3D>>> phiBoot;
75- std::vector<std::vector<std::shared_ptr<TProfile3D>>> lsPhiBoot;
7674std::vector<std::vector<std::shared_ptr<TProfile3D>>> k0Boot;
7775std::vector<std::vector<std::shared_ptr<TProfile3D>>> lambdaBoot;
7876} // namespace
@@ -316,7 +314,6 @@ struct ResonancesGfwFlow {
316314
317315 refBoot.resize (cfgNbootstrap);
318316 phiBoot.resize (cfgNbootstrap);
319- lsPhiBoot.resize (cfgNbootstrap);
320317 k0Boot.resize (cfgNbootstrap);
321318 lambdaBoot.resize (cfgNbootstrap);
322319
@@ -331,14 +328,6 @@ struct ResonancesGfwFlow {
331328 } // end of bootstrap condition
332329 } // end of phi loop
333330
334- if (cfgUseLsPhi && configs.GetHeads ()[i].starts_with (" LsPhi" )) {
335- lsPhiV2.push_back (histos.add <TProfile3D>(Form (" h%spt" , configs.GetHeads ()[i].c_str ()), " " , {HistType::kTProfile3D , {axisPt, axisPhiMass, axisMultiplicity}}));
336- if (cfgUseBootStrap) {
337- for (int j = 0 ; j < cfgNbootstrap; ++j) {
338- phiBoot[j].push_back (histos.add <TProfile3D>(Form (" BootStrap/h%spt_boot_%d" , configs.GetHeads ()[i].c_str (), j), " " , {HistType::kTProfile3D , {axisPt, axisPhiMass, axisMultiplicity}}));
339- }
340- } // end of bootstrap condition
341- }
342331 if (resoSwitchVals[K0][kUseParticle ] && configs.GetHeads ()[i].starts_with (" K0" )) {
343332 k0V2.push_back (histos.add <TProfile3D>(Form (" h%spt" , configs.GetHeads ()[i].c_str ()), " " , {HistType::kTProfile3D , {axisPt, axisK0Mass, axisMultiplicity}}));
344333 if (cfgUseBootStrap) {
@@ -1000,20 +989,11 @@ struct ResonancesGfwFlow {
1000989 double pt = mom.Pt ();
1001990 double invMass = mom.M ();
1002991 double phi = mom.Phi ();
1003- bool withinPtPOI = (cfgCutPtPOIMin < pt) && (pt < cfgCutPtPOIMax); // within POI pT range
1004- bool withinPtRef = (cfgCutPtMin < pt) && (pt < cfgCutPtMax);
1005992
1006993 phi = RecoDecay::constrainAngle (phi, 0.0 , 1 ); // constrain azimuthal angle to [0,2pi]
1007994
1008995 if (std::abs (mom.Rapidity ()) < resoCutVals[PHI][kRapidity ]) {
1009996 histos.fill (hist, invMass, pt, collision.centFT0C ());
1010- double weff = 1 ;
1011- double waccPOI = 1 ;
1012-
1013- if (withinPtPOI)
1014- fGFW ->Fill (mom.Eta (), ((fPtAxis ->FindBin (pt) - 1 ) * fPhiMassAxis ->GetNbins ()) + (fPhiMassAxis ->FindBin (invMass) - 1 ), phi, weff * waccPOI, 512 );
1015- if (withinPtPOI && withinPtRef)
1016- fGFW ->Fill (mom.Eta (), ((fPtAxis ->FindBin (pt) - 1 ) * fPhiMassAxis ->GetNbins ()) + (fPhiMassAxis ->FindBin (invMass) - 1 ), phi, weff * waccPOI, 1024 );
1017997 }
1018998 } // end of positive combinations loop
1019999 return ;
@@ -1409,7 +1389,7 @@ struct ResonancesGfwFlow {
14091389 }
14101390 } // End of v0 loop
14111391
1412- // Filling the cumulant profiles
1392+ // Filling cumulant profiles
14131393 double r = fRndm ->Rndm ();
14141394 int bootId = static_cast <int >(r * 10 );
14151395
@@ -1423,15 +1403,6 @@ struct ResonancesGfwFlow {
14231403 }
14241404 } // end of phi condition
14251405
1426- if (cfgUseLsPhi && corrconfigs.at (i).Head .starts_with (" LsPhi" )) {
1427- int pIndex = findComponent (lsPhiV2, Form (" h%spt" , corrconfigs.at (i).Head .c_str ()));
1428- fillProfileBoot3D (corrconfigs.at (i), lsPhiV2[pIndex], cent, fPhiMassAxis );
1429-
1430- if (cfgUseBootStrap) {
1431- fillProfileBoot3D (corrconfigs.at (i), phiBoot[bootId][pIndex], cent, fPhiMassAxis );
1432- }
1433- } // end of LikeSign phi condition
1434-
14351406 if (resoSwitchVals[K0][kUseParticle ] && corrconfigs.at (i).Head .starts_with (" K0" )) {
14361407 int pIndex = findComponent (k0V2, Form (" h%spt" , corrconfigs.at (i).Head .c_str ()));
14371408 fillProfileBoot3D (corrconfigs.at (i), k0V2[pIndex], cent, fK0MassAxis );
0 commit comments