From 12a8b90969e9ec6a6caeb82a79994145fa0496ad Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Tue, 16 Sep 2025 12:46:01 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGCF/DataModel/FemtoDerived.h | 4 ++-- .../Core/femtoDreamCollisionSelection.h | 16 ++++++++-------- .../TableProducer/femtoDreamProducerTask.cxx | 8 ++++---- .../Tasks/femtoDreamPairTaskTrackTrack.cxx | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/PWGCF/DataModel/FemtoDerived.h b/PWGCF/DataModel/FemtoDerived.h index ea42cd79f8b..911f55ab294 100644 --- a/PWGCF/DataModel/FemtoDerived.h +++ b/PWGCF/DataModel/FemtoDerived.h @@ -35,7 +35,7 @@ enum CollisionBinning { kMult, //! Bin collision in number of charged tracks for mixing kMultPercentile, //! Bin collision in multiplicity percentile for mixing kMultMultPercentile, //! Bin collision in number of charged tracks and multiplicity percentile for mixing - kMultPercentileQn, //! Bin collision in multiplicity percentile an qn value for mixing + kMultPercentileQn, //! Bin collision in multiplicity percentile an qn value for mixing kNCollisionBinning }; @@ -52,7 +52,7 @@ DECLARE_SOA_COLUMN(BitMaskTrackThree, bitmaskTrackThree, BitMaskType); //! Bit f DECLARE_SOA_COLUMN(Downsample, downsample, bool); //! Flag for downsampling -DECLARE_SOA_COLUMN(QnVal, qnVal, int); //! qn values for dividing events +DECLARE_SOA_COLUMN(QnVal, qnVal, int); //! qn values for dividing events DECLARE_SOA_COLUMN(Occupancy, occupancy, int); //! Occupancy of the event } // namespace femtodreamcollision diff --git a/PWGCF/FemtoDream/Core/femtoDreamCollisionSelection.h b/PWGCF/FemtoDream/Core/femtoDreamCollisionSelection.h index f6cf7af4db3..c8a3947b141 100644 --- a/PWGCF/FemtoDream/Core/femtoDreamCollisionSelection.h +++ b/PWGCF/FemtoDream/Core/femtoDreamCollisionSelection.h @@ -181,8 +181,8 @@ class FemtoDreamCollisionSelection /// \param col Collision /// \return whether or not the collisions fulfills the specified selections template - bool occupancySelection(C const& col, - int tpcOccupancyMin, int tpcOccupancyMax) + bool occupancySelection(C const& col, + int tpcOccupancyMin, int tpcOccupancyMax) { const auto occupancy = col.trackOccupancyInTimeRange(); if ((occupancy < tpcOccupancyMin || occupancy > tpcOccupancyMax)) { @@ -245,7 +245,7 @@ class FemtoDreamCollisionSelection mHistogramQn->add("Event/profileC22", "; cent; c22", kTProfile, {{10, 0, 100}}); mHistogramQn->add("Event/profileC24", "; cent; c24", kTProfile, {{10, 0, 100}}); - if (doQnSeparation){ + if (doQnSeparation) { for (int iqn(0); iqn < mumQnBins; ++iqn) { profilesC22.push_back(mHistogramQn->add(("Qn/profileC22_" + std::to_string(iqn)).c_str(), "; cent; c22", kTProfile, {{10, 0, 100}})); } @@ -400,7 +400,7 @@ class FemtoDreamCollisionSelection mHistogramQn->fill(HIST("Event/qnBin"), qnBin); if (qnBin >= 0 && qnBin < numQnBins) { std::get>(qnMults[qnBin])->Fill(mult); - } + } } return qnBin; @@ -482,8 +482,8 @@ class FemtoDreamCollisionSelection TComplex negEtaQStar = TComplex::Conjugate(negEtaQ); mHistogramQn->get(HIST("Event/profileC22"))->Fill(centrality, (negEtaQ * posEtaQStar).Re() / (negEtaMQ * posEtaMQ), (negEtaMQ * posEtaMQ)); - if (doQnSeparation && mQnBin >= 0 && mQnBin < numQnBins){ - std::get>(profilesC22[mQnBin])->Fill(centrality, (negEtaQ*posEtaQStar).Re()/(negEtaMQ*posEtaMQ), (negEtaMQ*posEtaMQ)); + if (doQnSeparation && mQnBin >= 0 && mQnBin < numQnBins) { + std::get>(profilesC22[mQnBin])->Fill(centrality, (negEtaQ * posEtaQStar).Re() / (negEtaMQ * posEtaMQ), (negEtaMQ * posEtaMQ)); } return; } @@ -501,8 +501,8 @@ class FemtoDreamCollisionSelection float mSphericityPtmin = 0.f; int mQnBin = -999; HistogramRegistry* mHistogramQn = nullptr; ///< For flow cumulant output - std::vector qnMults; /// Histograms of multiplicity (TH1F) per Qn bin. Stored as HistPtr (variant of shared_ptr) from HistogramManager. - std::vector profilesC22; /// Pofile Histograms of c22 per Qn bin + std::vector qnMults; /// Histograms of multiplicity (TH1F) per Qn bin. Stored as HistPtr (variant of shared_ptr) from HistogramManager. + std::vector profilesC22; /// Pofile Histograms of c22 per Qn bin TH2D* mReQthisEvt = nullptr; ///< For flow cumulant in an event TH2D* mImQthisEvt = nullptr; ///< For flow cumulant in an event TH2D* mReQ2thisEvt = nullptr; ///< For flow cumulant in an event diff --git a/PWGCF/FemtoDream/TableProducer/femtoDreamProducerTask.cxx b/PWGCF/FemtoDream/TableProducer/femtoDreamProducerTask.cxx index df237b71f28..900e33127df 100644 --- a/PWGCF/FemtoDream/TableProducer/femtoDreamProducerTask.cxx +++ b/PWGCF/FemtoDream/TableProducer/femtoDreamProducerTask.cxx @@ -771,8 +771,8 @@ struct femtoDreamProducerTask { !colCuts.isPileUpCollisionPbPb(col, OptionEvtSpecialSelections.ConfEvNoSameBunchPileup, OptionEvtSpecialSelections.ConfEvIsGoodITSLayersAll)) { return; } - if (OptionEvtSpecialSelections.ConfIsUseOccupancy && - !colCuts.occupancySelection(col, OptionEvtSpecialSelections.ConfTPCOccupancyMin, OptionEvtSpecialSelections.ConfTPCOccupancyMax)) { + if (OptionEvtSpecialSelections.ConfIsUseOccupancy && + !colCuts.occupancySelection(col, OptionEvtSpecialSelections.ConfTPCOccupancyMin, OptionEvtSpecialSelections.ConfTPCOccupancyMax)) { return; } } @@ -1209,7 +1209,7 @@ struct femtoDreamProducerTask { if (ConfUseItsPid.value) { fillCollisionsAndTracksAndV0AndCascade(col, tracks, tracksWithItsPid, fullV0s, fullCascades); } else { - fillCollisionsAndTracksAndV0AndCascade(col, tracks, tracks, fullV0s, fullCascades); + fillCollisionsAndTracksAndV0AndCascade(col, tracks, tracks, fullV0s, fullCascades); } } PROCESS_SWITCH(femtoDreamProducerTask, processData_CentPbPb, @@ -1276,7 +1276,7 @@ struct femtoDreamProducerTask { // get magnetic field for run initCCDB_Mag_Trig(col.bc_as()); // fill the tables - fillCollisionsAndTracksAndV0AndCascade(col, tracks, tracks, fullV0s, fullCascades); + fillCollisionsAndTracksAndV0AndCascade(col, tracks, tracks, fullV0s, fullCascades); } PROCESS_SWITCH(femtoDreamProducerTask, processMC_CentPbPb, "Provide MC data with centrality information for PbPb collisions", false); }; diff --git a/PWGCF/FemtoDream/Tasks/femtoDreamPairTaskTrackTrack.cxx b/PWGCF/FemtoDream/Tasks/femtoDreamPairTaskTrackTrack.cxx index d531665fbe0..beaf7dc471d 100644 --- a/PWGCF/FemtoDream/Tasks/femtoDreamPairTaskTrackTrack.cxx +++ b/PWGCF/FemtoDream/Tasks/femtoDreamPairTaskTrackTrack.cxx @@ -752,7 +752,7 @@ struct femtoDreamPairTaskTrackTrack { case femtodreamcollision::kMultMultPercentile: doMixedEvent_NotMasked(cols, parts, PartitionTrk1, PartitionTrk2, colBinningMultMultPercentile); break; - case femtodreamcollision::kMultPercentileQn: + case femtodreamcollision::kMultPercentileQn: doMixedEvent_NotMasked(cols, parts, PartitionTrk1, PartitionTrk2, colBinningMultPercentileqn); break; default: