@@ -352,19 +352,6 @@ struct FlowTask {
352352 }
353353 delete oba;
354354
355- gfwConfigs.SetCorrs (cfgUserPtVnCorrConfig->GetCorrs ());
356- gfwConfigs.SetHeads (cfgUserPtVnCorrConfig->GetHeads ());
357- gfwConfigs.SetpTDifs (cfgUserPtVnCorrConfig->GetpTDifs ());
358- // Mask 1: vn-[pT], 2: vn-[pT^2], 4: vn-[pT^3]
359- gfwConfigs.SetpTCorrMasks (cfgUserPtVnCorrConfig->GetpTCorrMasks ());
360- gfwConfigs.Print ();
361- fFCpt ->setUseCentralMoments (cfgUseCentralMoments);
362- fFCpt ->setUseGapMethod (true );
363- fFCpt ->initialise (axisIndependent, cfgMpar, gfwConfigs, cfgNbootstrap);
364- for (auto i = 0 ; i < gfwConfigs.GetSize (); ++i) {
365- corrconfigsPtVn.push_back (fGFW ->GetCorrelatorConfig (gfwConfigs.GetCorrs ()[i], gfwConfigs.GetHeads ()[i], gfwConfigs.GetpTDifs ()[i]));
366- }
367-
368355 // eta region
369356 fGFW ->AddRegion (" full" , -0.8 , 0.8 , 1 , 1 );
370357 fGFW ->AddRegion (" refN00" , -0.8 , 0 ., 1 , 1 ); // gap0 negative region
@@ -448,6 +435,19 @@ struct FlowTask {
448435 }
449436 fGFW ->CreateRegions ();
450437
438+ gfwConfigs.SetCorrs (cfgUserPtVnCorrConfig->GetCorrs ());
439+ gfwConfigs.SetHeads (cfgUserPtVnCorrConfig->GetHeads ());
440+ gfwConfigs.SetpTDifs (cfgUserPtVnCorrConfig->GetpTDifs ());
441+ // Mask 1: vn-[pT], 2: vn-[pT^2], 4: vn-[pT^3]
442+ gfwConfigs.SetpTCorrMasks (cfgUserPtVnCorrConfig->GetpTCorrMasks ());
443+ gfwConfigs.Print ();
444+ fFCpt ->setUseCentralMoments (cfgUseCentralMoments);
445+ fFCpt ->setUseGapMethod (true );
446+ fFCpt ->initialise (axisIndependent, cfgMpar, gfwConfigs, cfgNbootstrap);
447+ for (auto i = 0 ; i < gfwConfigs.GetSize (); ++i) {
448+ corrconfigsPtVn.push_back (fGFW ->GetCorrelatorConfig (gfwConfigs.GetCorrs ()[i], gfwConfigs.GetHeads ()[i], gfwConfigs.GetpTDifs ()[i]));
449+ }
450+
451451 if (cfgUseAdditionalEventCut) {
452452 fMultPVCutLow = new TF1 (" fMultPVCutLow" , " [0]+[1]*x+[2]*x*x+[3]*x*x*x+[4]*x*x*x*x - 3.5*([5]+[6]*x+[7]*x*x+[8]*x*x*x+[9]*x*x*x*x)" , 0 , 100 );
453453 fMultPVCutLow ->SetParameters (3257.29 , -121.848 , 1.98492 , -0.0172128 , 6.47528e-05 , 154.756 , -1.86072 , -0.0274713 , 0.000633499 , -3.37757e-06 );
0 commit comments