@@ -99,11 +99,11 @@ struct HfCorrelatorD0HadronsSelection {
9999 Configurable<float > ptCandMin{" ptCandMin" , -1 ., " min. cand. pT" };
100100 Configurable<float > centMin{" centMin" , 0 ., " Minimum Centrality" };
101101 Configurable<float > centMax{" centMax" , 100 ., " Maximum Centrality" };
102- Configurable<bool > useCentrality{" useCentality " , false , " Flag for centrality dependent analyses" };
102+ Configurable<bool > useCentrality{" useCentrality " , false , " Flag for centrality dependent analyses" };
103103
104104 SliceCache cache;
105105
106- using SelCollisions = soa::Join<aod::Collisions, aod::EvSels, aod ::CentFT0Ms>;
106+ using SelCollisions = soa::Join<aod::Collisions, aod::EvSels, Installation of another LAN connectionaod ::CentFT0Ms>;
107107
108108 Preslice<aod::HfCand2Prong> perCol = aod::hf_cand::collisionId;
109109
@@ -137,15 +137,15 @@ struct HfCorrelatorD0HadronsSelection {
137137 }
138138 float cent = 0 .;
139139 if (useCentrality) {
140- cent = collision.centFT0M ();
140+ cent = collision.centFT0M ();
141141 }
142142 if (useSel8) {
143143 isSel8 = collision.sel8 ();
144144 }
145145 if (selNoSameBunchPileUpColl) {
146146 isNosameBunchPileUp = collision.selection_bit (o2::aod::evsel::kNoSameBunchPileup );
147147 }
148- isCentInRange = (cent >= centMin && cent <=centMax);
148+ isCentInRange = (cent >= centMin && cent <= centMax);
149149 isSelColl = isD0Found && isSel8 && isNosameBunchPileUp && isCentInRange;
150150 collisionsWithSelD0 (isSelColl);
151151 }
@@ -266,7 +266,7 @@ struct HfCorrelatorD0Hadrons {
266266 ConfigurableAxis binsMultFT0M{" binsMultFT0M" , {10000 , 0 ., 10000 .}, " Multiplicity as FT0M signal amplitude" };
267267 ConfigurableAxis binsPosZ{" binsPosZ" , {100 , -10 ., 10 .}, " primary vertex z coordinate" };
268268 ConfigurableAxis binsPoolBin{" binsPoolBin" , {9 , 0 ., 9 .}, " PoolBin" };
269- ConfigurableAxis binsCentFt0m{" binsCentFT0m " , {100 , 0 ., 100 .}, " centrality percentile (FT0M)" };
269+ ConfigurableAxis binsCentFt0m{" binsCentFt0m " , {100 , 0 ., 100 .}, " Centrality percentile (FT0M)" };
270270
271271 BinningType corrBinning{{zPoolBins, multPoolBins}, true };
272272
@@ -295,7 +295,7 @@ struct HfCorrelatorD0Hadrons {
295295 AxisSpec axisBdtScoreBkg = {100 , 0 ., 1 ., " Bdt score background" };
296296 AxisSpec axisBdtScorePrompt = {100 , 0 ., 1 ., " Bdt score prompt" };
297297 AxisSpec axisOrigin = {10 , 0 ., 10 ., " Candidate origin" };
298- AxisSpec axisCent = {binsCentFt0m," Centrality" };
298+ AxisSpec axisCent = {binsCentFt0m, " Centrality" };
299299
300300 // Histograms for Data
301301 registry.add (" hPtCand" , " D0, D0bar candidates" , {HistType::kTH1F , {axisPtD}});
@@ -305,9 +305,9 @@ struct HfCorrelatorD0Hadrons {
305305 registry.add (" hEta" , " D0,D0bar candidates" , {HistType::kTH1F , {axisEta}});
306306 registry.add (" hPhi" , " D0,D0bar candidates" , {HistType::kTH1F , {axisPhi}});
307307 registry.add (" hY" , " D0,D0bar candidates" , {HistType::kTH1F , {axisRapidity}});
308- registry.add (" hCentFT0M" ," Centrality FT0M;centrality;entries" , {HistType::kTH1F ,{{100 , 0 ., 100 .}}});
308+ registry.add (" hCentFT0M" , " Centrality FT0M;centrality;entries" , {HistType::kTH1F , {{100 , 0 ., 100 .}}});
309309 registry.add (" hMultiplicityPreSelection" , " multiplicity prior to selection;multiplicity;entries" , {HistType::kTH1F , {axisMultiplicity}});
310- registry.add (" hMultiplicity" , " multiplicity;multiplicity;entries" , {HistType::kTH1F , {axisMultiplicity}});
310+ registry.add (" hMultiplicity" , " multiplicity;multiplicity;entries" , {HistType::kTH1F , {axisMultiplicity}});
311311 registry.add (" hMass" , " D0, D0bar candidates massVsPt" , {HistType::kTH2F , {{axisMassD}, {axisPtD}}});
312312 registry.add (" hMass1D" , " D0, D0bar candidates mass" , {HistType::kTH1F , {axisMassD}});
313313 registry.add (" hMassD01D" , " D0 candidates mass" , {HistType::kTH1F , {axisMassD}});
@@ -370,7 +370,7 @@ struct HfCorrelatorD0Hadrons {
370370 leadingIndex = findLeadingParticle (tracks, etaTrackMax.value );
371371 }
372372 float cent = 0 .;
373- if (useCentrality){
373+ if (useCentrality) {
374374 cent = collision.centFT0M ();
375375 }
376376
@@ -511,7 +511,7 @@ struct HfCorrelatorD0Hadrons {
511511 entryD0HadronGenInfo (false , false , 0 );
512512 entryD0HadronMlInfo (outputMlD0[0 ], outputMlD0[1 ], outputMlD0[2 ], outputMlD0bar[0 ], outputMlD0bar[1 ], outputMlD0bar[2 ]);
513513 entryTrackRecoInfo (track.dcaXY (), track.dcaZ (), track.tpcNClsCrossedRows ());
514- registry.fill (HIST (" hCentFT0M" ),cent );
514+ registry.fill (HIST (" hCentFT0M" ), cent );
515515
516516 } // end inner loop (tracks)
517517
@@ -637,7 +637,7 @@ struct HfCorrelatorD0Hadrons {
637637
638638 flagD0 = candidate.flagMcMatchRec () == o2::hf_decay::hf_cand_2prong::DecayChannelMain::D0ToPiK; // flagD0Signal 'true' if candidate matched to D0 (particle)
639639 flagD0bar = candidate.flagMcMatchRec () == -o2::hf_decay::hf_cand_2prong::DecayChannelMain::D0ToPiK; // flagD0Reflection 'true' if candidate, selected as D0 (particle), is matched to D0bar (antiparticle)
640- float cent = 100.0 ; // Centrality Placeholder: will be updated later
640+ float cent = 100.0 ; // Centrality Placeholder: will be updated later
641641 // ========== track loop starts here ========================
642642
643643 for (const auto & track : tracks) {
@@ -753,7 +753,7 @@ struct HfCorrelatorD0Hadrons {
753753 bool isD0Prompt = false ;
754754 bool isD0NonPrompt = false ;
755755 int trackOrigin = -1 ;
756- float cent = 100 .; // Centrality Placeholder: will be updated later
756+ float cent = 100 .; // Centrality Placeholder: will be updated later
757757
758758 for (const auto & particleTrigg : mcParticles) {
759759 if (std::abs (particleTrigg.pdgCode ()) != Pdg::kD0 ) {
@@ -879,7 +879,7 @@ struct HfCorrelatorD0Hadrons {
879879 invMassDstar2 = std::sqrt ((eKPi + ePion) * (eKPi + ePion) - pSum2);
880880 std::vector<float > outputMlD0 = {-1 ., -1 ., -1 .};
881881 std::vector<float > outputMlD0bar = {-1 ., -1 ., -1 .};
882- float cent = 100 .; // Centrality Placeholder: will be updated later
882+ float cent = 100 .; // Centrality Placeholder: will be updated later
883883
884884 if (candidate.isSelD0 () >= selectionFlagD0) {
885885 if ((std::abs (invMassDstar1 - HfHelper::invMassD0ToPiK (candidate)) - softPiMass) < ptSoftPionMax) {
@@ -945,7 +945,7 @@ struct HfCorrelatorD0Hadrons {
945945 registry.fill (HIST (" hD0PoolBin" ), poolBinD0);
946946 registry.fill (HIST (" hMultFT0M" ), c1.multFT0M ());
947947 registry.fill (HIST (" hZvtx" ), c1.posZ ());
948- float cent = 100 .; // Centrality Placeholder: will be updated later
948+ float cent = 100 .; // Centrality Placeholder: will be updated later
949949
950950 for (const auto & [candidate, particleAssoc] : o2::soa::combinations (o2::soa::CombinationsFullIndexPolicy (tracks1, tracks2))) {
951951
@@ -1092,7 +1092,7 @@ struct HfCorrelatorD0Hadrons {
10921092 if (std::abs (particleAssoc.pdgCode ()) == kPiPlus && indexMotherPi >= 0 && indexMotherD0 >= 0 && indexMotherPi == indexMotherD0) {
10931093 continue ;
10941094 }
1095- float cent = 100 .; // Centrality Placeholder: will be updated later
1095+ float cent = 100 .; // Centrality Placeholder: will be updated later
10961096 bool correlationStatus = false ;
10971097 int trackOrigin = RecoDecay::getCharmHadronOrigin (mcParticles, particleAssoc, true );
10981098 bool isD0Prompt = particleTrigg.originMcGen () == RecoDecay::OriginType::Prompt;
0 commit comments