Skip to content

Commit d86f01d

Browse files
committed
clang-format
1 parent 0e41522 commit d86f01d

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

PWGCF/Flow/Tasks/flowGfwEse.cxx

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ struct FlowGfwEse {
242242
};
243243

244244
O2_DEFINE_CONFIGURABLE(cfgAnalysisType, bool, true, "true for ese, false for mean-pT");
245-
const std::string shapesel = cfgAnalysisType ? "ese" : "mpt";
245+
const std::string shapesel = cfgAnalysisType ? "ese" : "mpt";
246246
static constexpr int EseBins = 100;
247247

248248
// region indices for consistency flag
@@ -550,12 +550,12 @@ struct FlowGfwEse {
550550
for (int jese = 0; jese < EseBins; ++jese) {
551551
if (it->pTDif) {
552552
for (int i = 0; i < fSecondAxis->GetNbins(); ++i) {
553-
std::string name = Form("%s_%d_%s_pt_%d",shapesel.c_str(), jese, it->Head.c_str(), i + 1);
553+
std::string name = Form("%s_%d_%s_pt_%d", shapesel.c_str(), jese, it->Head.c_str(), i + 1);
554554
std::string title = it->Head + std::string("_ptDiff");
555555
oba->Add(new TNamed(name.c_str(), title.c_str()));
556556
}
557557
} else {
558-
std::string name = Form("%s_%d_%s",shapesel.c_str(), jese, it->Head.c_str());
558+
std::string name = Form("%s_%d_%s", shapesel.c_str(), jese, it->Head.c_str());
559559
std::string title = it->Head + std::string("_ese");
560560
oba->Add(new TNamed(name.c_str(), title.c_str()));
561561
}
@@ -795,7 +795,7 @@ struct FlowGfwEse {
795795
continue;
796796
auto val = fGFW->Calculate(corrconfigs.at(l_ind), 0, kFALSE).real() / dnx;
797797
if (std::abs(val) < 1) {
798-
(dt == kGen) ? fFCgen->FillProfile(corrconfigs.at(l_ind).Head.c_str(), centmult, val, (cfgUseMultiplicityFlowWeights) ? dnx : 1.0, rndm) : fFC->FillProfile(Form("%s_%i_%s",shapesel.c_str(), qPtmp, corrconfigs.at(l_ind).Head.c_str()), centmult, val, (cfgUseMultiplicityFlowWeights) ? dnx : 1.0, rndm);
798+
(dt == kGen) ? fFCgen->FillProfile(corrconfigs.at(l_ind).Head.c_str(), centmult, val, (cfgUseMultiplicityFlowWeights) ? dnx : 1.0, rndm) : fFC->FillProfile(Form("%s_%i_%s", shapesel.c_str(), qPtmp, corrconfigs.at(l_ind).Head.c_str()), centmult, val, (cfgUseMultiplicityFlowWeights) ? dnx : 1.0, rndm);
799799
(dt == kGen) ? fFCptgen->fillVnPtProfiles(centmult, val, (cfgUseMultiplicityFlowWeights) ? dnx : 1.0, rndm, o2::analysis::gfwflowese::configs.GetpTCorrMasks()[l_ind]) : fFCpt->fillVnPtProfiles(centmult, val, (cfgUseMultiplicityFlowWeights) ? dnx : 1.0, rndm, o2::analysis::gfwflowese::configs.GetpTCorrMasks()[l_ind]);
800800
if (cfgRunByRun && cfgFillFlowRunByRun && dt != kGen && l_ind == 0) {
801801
tpfsList[run][pfCorr22]->Fill(centmult, val, (cfgUseMultiplicityFlowWeights) ? dnx : 1.0);
@@ -1200,25 +1200,23 @@ struct FlowGfwEse {
12001200
}
12011201
PROCESS_SWITCH(FlowGfwEse, processData, "Process analysis for non-derived data", true);
12021202

1203-
//void processMptq2(soa::Filtered<soa::Join<aod::Collisions, aod::EvSels, aod::Mults, aod::CentFT0Cs, aod::CentFT0CVariant1s, aod::CentFT0Ms, aod::CentFV0As, aod::CentNTPVs, aod::CentNGlobals, aod::CentMFTs, aod::Qvectors, aod::QPercentileFT0Cs/*, aod::MeanPtShape*/>::iterator const& collision, aod::BCsWithTimestamps const&, GFWTracks const& tracks)
1203+
// void processMptq2(soa::Filtered<soa::Join<aod::Collisions, aod::EvSels, aod::Mults, aod::CentFT0Cs, aod::CentFT0CVariant1s, aod::CentFT0Ms, aod::CentFV0As, aod::CentNTPVs, aod::CentNGlobals, aod::CentMFTs, aod::Qvectors, aod::QPercentileFT0Cs/*, aod::MeanPtShape*/>::iterator const& collision, aod::BCsWithTimestamps const&, GFWTracks const& tracks)
12041204

1205-
void processMptq2(soa::Filtered<soa::Join<aod::Collisions, aod::EvSels, aod::Mults, aod::CentFT0Cs, aod::CentFT0CVariant1s, aod::CentFT0Ms, aod::CentFV0As, aod::CentNTPVs, aod::CentNGlobals, aod::CentMFTs, aod::Qvectors, aod::QPercentileFT0Cs, aod::MeanPtShapes, aod::MeanPts>>::iterator const& collision, aod::BCsWithTimestamps const&/*, GFWTracks const& tracks*/)
1205+
void processMptq2(soa::Filtered<soa::Join<aod::Collisions, aod::EvSels, aod::Mults, aod::CentFT0Cs, aod::CentFT0CVariant1s, aod::CentFT0Ms, aod::CentFV0As, aod::CentNTPVs, aod::CentNGlobals, aod::CentMFTs, aod::Qvectors, aod::QPercentileFT0Cs, aod::MeanPtShapes, aod::MeanPts>>::iterator const& collision, aod::BCsWithTimestamps const& /*, GFWTracks const& tracks*/)
12061206
{
12071207
float count{0.5};
1208-
registry.fill(HIST("mptcorr/eventcounter"),count++);
1208+
registry.fill(HIST("mptcorr/eventcounter"), count++);
12091209
const auto centr = collision.centFT0C();
12101210
const auto qPerc = collision.qPERCFT0C();
12111211
const auto mPt = collision.fMEANPTSHAPE();
12121212
const auto mPtv = collision.fMEANPT();
12131213
if (qPerc[0] < 0 || mPt[0] < 0)
12141214
return;
1215-
registry.fill(HIST("mptcorr/eventcounter"),count++);
1215+
registry.fill(HIST("mptcorr/eventcounter"), count++);
12161216
registry.fill(HIST("mptcorr/h3_cent_q2_meanptperc"), centr, qPerc[0], mPt[0]);
1217-
registry.fill(HIST("mptcorr/h3_cent_q2_mptvalue"), centr, qPerc[0], mPtv[0]);
1218-
1217+
registry.fill(HIST("mptcorr/h3_cent_q2_mptvalue"), centr, qPerc[0], mPtv[0]);
12191218
}
12201219
PROCESS_SWITCH(FlowGfwEse, processMptq2, "Process analysis for mpt-q2 correlation", false);
1221-
12221220
};
12231221

12241222
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)

0 commit comments

Comments
 (0)