@@ -278,6 +278,7 @@ struct FlowEseTask {
278278 const auto histogram = histEse.find (name);
279279 if (histogram == histEse.end ()) {
280280 LOGF (fatal, " Could not find ESE histogram %s" , name.c_str ());
281+ return nullptr ;
281282 }
282283 return static_cast <T*>(histogram->second );
283284 }
@@ -1016,7 +1017,7 @@ struct FlowEseTask {
10161017 if (cfgUSESP)
10171018 qvecMag *= std::sqrt (std::pow (collision.qvecIm ()[3 + (nmode - 2 ) * 28 ], 2 ) + std::pow (collision.qvecRe ()[3 + (nmode - 2 ) * 28 ], 2 ));
10181019
1019- if (fillRegular && nmode == CorrLevel[0 ] && cfgFullCheck) { // //////////
1020+ if (nmode == CorrLevel[0 ] && cfgFullCheck) { // //////////
10201021 if (lambdaTag) {
10211022 histos.fill (HIST (" psi2/h_lambda_cos" ), v0.mLambda (), v0.pt (), angle * weight, centrality, relphi);
10221023 histos.fill (HIST (" psi2/h_lambda_cos2" ), v0.mLambda (), v0.pt (), angle * angle, centrality, relphi);
@@ -1117,7 +1118,7 @@ struct FlowEseTask {
11171118 histos.fill (HIST (" psi2/QA/sinPhi_al" ), v0.mAntiLambda (), v0.pt (), std::sin (v0.phi () * 2.0 ), centrality);
11181119 }
11191120 }
1120- } else if (fillRegular && nmode == CorrLevel[1 ]) {
1121+ } else if (nmode == CorrLevel[1 ]) {
11211122 if (lambdaTag) {
11221123 histos.fill (HIST (" psi3/h_lambda_cos" ), v0.mLambda (), v0.pt (), angle * weight, centrality, relphi);
11231124 histos.fill (HIST (" psi3/h_lambda_cos2" ), v0.mLambda (), v0.pt (), angle * angle, centrality, relphi);
@@ -1148,7 +1149,7 @@ struct FlowEseTask {
11481149 histos.fill (HIST (" psi3/h_alambda_coscos" ), v0.mAntiLambda (), v0.pt (), angle * std::cos (relphi), centrality, weight);
11491150 }
11501151 }
1151- } else if (fillRegular && nmode == CorrLevel[2 ]) {
1152+ } else if (nmode == CorrLevel[2 ]) {
11521153 if (lambdaTag) {
11531154 histos.fill (HIST (" psi4/h_lambda_cos" ), v0.mLambda (), v0.pt (), angle * weight, centrality, relphi);
11541155 histos.fill (HIST (" psi4/h_lambda_cos2" ), v0.mLambda (), v0.pt (), angle * angle, centrality, relphi);
0 commit comments