Skip to content

Commit 2098a14

Browse files
authored
Merge pull request #10 from alibuild/alibot-cleanup-12946
[PWGCF] Please consider the following formatting changes to #12946
2 parents abd0ced + 12a8b90 commit 2098a14

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

PWGCF/DataModel/FemtoDerived.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ enum CollisionBinning {
3535
kMult, //! Bin collision in number of charged tracks for mixing
3636
kMultPercentile, //! Bin collision in multiplicity percentile for mixing
3737
kMultMultPercentile, //! Bin collision in number of charged tracks and multiplicity percentile for mixing
38-
kMultPercentileQn, //! Bin collision in multiplicity percentile an qn value for mixing
38+
kMultPercentileQn, //! Bin collision in multiplicity percentile an qn value for mixing
3939
kNCollisionBinning
4040
};
4141

@@ -52,7 +52,7 @@ DECLARE_SOA_COLUMN(BitMaskTrackThree, bitmaskTrackThree, BitMaskType); //! Bit f
5252

5353
DECLARE_SOA_COLUMN(Downsample, downsample, bool); //! Flag for downsampling
5454

55-
DECLARE_SOA_COLUMN(QnVal, qnVal, int); //! qn values for dividing events
55+
DECLARE_SOA_COLUMN(QnVal, qnVal, int); //! qn values for dividing events
5656
DECLARE_SOA_COLUMN(Occupancy, occupancy, int); //! Occupancy of the event
5757
} // namespace femtodreamcollision
5858

PWGCF/FemtoDream/Core/femtoDreamCollisionSelection.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ class FemtoDreamCollisionSelection
181181
/// \param col Collision
182182
/// \return whether or not the collisions fulfills the specified selections
183183
template <typename C>
184-
bool occupancySelection(C const& col,
185-
int tpcOccupancyMin, int tpcOccupancyMax)
184+
bool occupancySelection(C const& col,
185+
int tpcOccupancyMin, int tpcOccupancyMax)
186186
{
187187
const auto occupancy = col.trackOccupancyInTimeRange();
188188
if ((occupancy < tpcOccupancyMin || occupancy > tpcOccupancyMax)) {
@@ -245,7 +245,7 @@ class FemtoDreamCollisionSelection
245245
mHistogramQn->add<TProfile>("Event/profileC22", "; cent; c22", kTProfile, {{10, 0, 100}});
246246
mHistogramQn->add<TProfile>("Event/profileC24", "; cent; c24", kTProfile, {{10, 0, 100}});
247247

248-
if (doQnSeparation){
248+
if (doQnSeparation) {
249249
for (int iqn(0); iqn < mumQnBins; ++iqn) {
250250
profilesC22.push_back(mHistogramQn->add<TProfile>(("Qn/profileC22_" + std::to_string(iqn)).c_str(), "; cent; c22", kTProfile, {{10, 0, 100}}));
251251
}
@@ -400,7 +400,7 @@ class FemtoDreamCollisionSelection
400400
mHistogramQn->fill(HIST("Event/qnBin"), qnBin);
401401
if (qnBin >= 0 && qnBin < numQnBins) {
402402
std::get<std::shared_ptr<TH1>>(qnMults[qnBin])->Fill(mult);
403-
}
403+
}
404404
}
405405

406406
return qnBin;
@@ -482,8 +482,8 @@ class FemtoDreamCollisionSelection
482482
TComplex negEtaQStar = TComplex::Conjugate(negEtaQ);
483483

484484
mHistogramQn->get<TProfile>(HIST("Event/profileC22"))->Fill(centrality, (negEtaQ * posEtaQStar).Re() / (negEtaMQ * posEtaMQ), (negEtaMQ * posEtaMQ));
485-
if (doQnSeparation && mQnBin >= 0 && mQnBin < numQnBins){
486-
std::get<std::shared_ptr<TProfile>>(profilesC22[mQnBin])->Fill(centrality, (negEtaQ*posEtaQStar).Re()/(negEtaMQ*posEtaMQ), (negEtaMQ*posEtaMQ));
485+
if (doQnSeparation && mQnBin >= 0 && mQnBin < numQnBins) {
486+
std::get<std::shared_ptr<TProfile>>(profilesC22[mQnBin])->Fill(centrality, (negEtaQ * posEtaQStar).Re() / (negEtaMQ * posEtaMQ), (negEtaMQ * posEtaMQ));
487487
}
488488
return;
489489
}
@@ -501,8 +501,8 @@ class FemtoDreamCollisionSelection
501501
float mSphericityPtmin = 0.f;
502502
int mQnBin = -999;
503503
HistogramRegistry* mHistogramQn = nullptr; ///< For flow cumulant output
504-
std::vector<HistPtr> qnMults; /// Histograms of multiplicity (TH1F) per Qn bin. Stored as HistPtr (variant of shared_ptr) from HistogramManager.
505-
std::vector<HistPtr> profilesC22; /// Pofile Histograms of c22 per Qn bin
504+
std::vector<HistPtr> qnMults; /// Histograms of multiplicity (TH1F) per Qn bin. Stored as HistPtr (variant of shared_ptr) from HistogramManager.
505+
std::vector<HistPtr> profilesC22; /// Pofile Histograms of c22 per Qn bin
506506
TH2D* mReQthisEvt = nullptr; ///< For flow cumulant in an event
507507
TH2D* mImQthisEvt = nullptr; ///< For flow cumulant in an event
508508
TH2D* mReQ2thisEvt = nullptr; ///< For flow cumulant in an event

PWGCF/FemtoDream/TableProducer/femtoDreamProducerTask.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -771,8 +771,8 @@ struct femtoDreamProducerTask {
771771
!colCuts.isPileUpCollisionPbPb(col, OptionEvtSpecialSelections.ConfEvNoSameBunchPileup, OptionEvtSpecialSelections.ConfEvIsGoodITSLayersAll)) {
772772
return;
773773
}
774-
if (OptionEvtSpecialSelections.ConfIsUseOccupancy &&
775-
!colCuts.occupancySelection(col, OptionEvtSpecialSelections.ConfTPCOccupancyMin, OptionEvtSpecialSelections.ConfTPCOccupancyMax)) {
774+
if (OptionEvtSpecialSelections.ConfIsUseOccupancy &&
775+
!colCuts.occupancySelection(col, OptionEvtSpecialSelections.ConfTPCOccupancyMin, OptionEvtSpecialSelections.ConfTPCOccupancyMax)) {
776776
return;
777777
}
778778
}
@@ -1209,7 +1209,7 @@ struct femtoDreamProducerTask {
12091209
if (ConfUseItsPid.value) {
12101210
fillCollisionsAndTracksAndV0AndCascade<false, true, true, true, false>(col, tracks, tracksWithItsPid, fullV0s, fullCascades);
12111211
} else {
1212-
fillCollisionsAndTracksAndV0AndCascade<false, false, true, true, false>(col, tracks, tracks, fullV0s, fullCascades);
1212+
fillCollisionsAndTracksAndV0AndCascade<false, false, true, true, false>(col, tracks, tracks, fullV0s, fullCascades);
12131213
}
12141214
}
12151215
PROCESS_SWITCH(femtoDreamProducerTask, processData_CentPbPb,
@@ -1276,7 +1276,7 @@ struct femtoDreamProducerTask {
12761276
// get magnetic field for run
12771277
initCCDB_Mag_Trig(col.bc_as<aod::BCsWithTimestamps>());
12781278
// fill the tables
1279-
fillCollisionsAndTracksAndV0AndCascade<true, false, true, true, false>(col, tracks, tracks, fullV0s, fullCascades);
1279+
fillCollisionsAndTracksAndV0AndCascade<true, false, true, true, false>(col, tracks, tracks, fullV0s, fullCascades);
12801280
}
12811281
PROCESS_SWITCH(femtoDreamProducerTask, processMC_CentPbPb, "Provide MC data with centrality information for PbPb collisions", false);
12821282
};

PWGCF/FemtoDream/Tasks/femtoDreamPairTaskTrackTrack.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ struct femtoDreamPairTaskTrackTrack {
752752
case femtodreamcollision::kMultMultPercentile:
753753
doMixedEvent_NotMasked<false>(cols, parts, PartitionTrk1, PartitionTrk2, colBinningMultMultPercentile);
754754
break;
755-
case femtodreamcollision::kMultPercentileQn:
755+
case femtodreamcollision::kMultPercentileQn:
756756
doMixedEvent_NotMasked<false>(cols, parts, PartitionTrk1, PartitionTrk2, colBinningMultPercentileqn);
757757
break;
758758
default:

0 commit comments

Comments
 (0)