Skip to content

Commit 1b079f1

Browse files
committed
Removed Zvtx
1 parent 49c756d commit 1b079f1

File tree

3 files changed

+15
-22
lines changed

3 files changed

+15
-22
lines changed

PWGHF/HFC/DataModel/CorrelationTables.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,7 @@ DECLARE_SOA_TABLE(LcHadronPairC, "AOD", "LCHPAIRC", //! Lc-Hadrons pairs Informa
186186
aod::hf_correlation_lc_hadron::PtHadron,
187187
aod::hf_correlation_lc_hadron::PoolBin,
188188
aod::hf_correlation_lc_hadron::IsAutoCorrelated,
189-
aod::hf_correlation_lc_hadron::Cent,
190-
aod::hf_correlation_lc_hadron::Zv);
189+
aod::hf_correlation_lc_hadron::Cent);
191190

192191
DECLARE_SOA_TABLE(LcHadronRecoInfo, "AOD", "LCHRECOINFO", //! Lc-Hadrons pairs Reconstructed Informations
193192
aod::hf_correlation_lc_hadron::MLc,

PWGHF/HFC/TableProducer/correlatorLcHadrons.cxx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ struct HfCorrelatorLcHadrons {
408408
int64_t timeStamp = bc.timestamp();
409409

410410
float cent=evaluateCentralityColl(collision);
411-
float zv=collision.posZ();
411+
412412

413413
int poolBin = corrBinning.getBin(std::make_tuple(collision.posZ(), collision.multFT0M()));
414414
int nTracks = 0;
@@ -501,8 +501,7 @@ struct HfCorrelatorLcHadrons {
501501
track.pt() * track.sign(),
502502
poolBin,
503503
correlationStatus,
504-
cent,
505-
zv);
504+
cent);
506505
entryLcHadronPairY(track.rapidity(MassProton) - hfHelper.yLc(candidate)); // only for proton as of now
507506
entryLcHadronRecoInfo(hfHelper.invMassLcToPKPi(candidate), false);
508507
entryLcHadronGenInfo(false, false, 0);
@@ -519,8 +518,7 @@ struct HfCorrelatorLcHadrons {
519518
track.pt() * track.sign(),
520519
poolBin,
521520
correlationStatus,
522-
cent,
523-
zv);
521+
cent);
524522
entryLcHadronPairY(track.rapidity(MassProton) - hfHelper.yLc(candidate)); // only for proton as of now
525523
entryLcHadronRecoInfo(hfHelper.invMassLcToPiKP(candidate), false);
526524
entryLcHadronGenInfo(false, false, 0);

PWGHF/HFC/Tasks/taskCorrelationLcHadrons.cxx

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,6 @@ struct HfTaskCorrelationLcHadrons {
190190
ConfigurableAxis binsMultFT0M{"binsMultFT0M", {600, 0., 8000.}, "Multiplicity as FT0M signal amplitude"};
191191
ConfigurableAxis binsPoolBin{"binsPoolBin", {9, 0., 9.}, "PoolBin"};
192192
ConfigurableAxis binscentFT0M{"binsCentFT0M", {100, 0.,100.}, "Centrality percentile (FT0M)"};
193-
ConfigurableAxis binsvz{"binspositionZ", {20, -10.,10.}, "Bins for vz"};
194-
195193

196194
HistogramRegistry registry{"registry", {}, OutputObjHandlingPolicy::AnalysisObject};
197195

@@ -211,10 +209,8 @@ struct HfTaskCorrelationLcHadrons {
211209
AxisSpec axisCorrelationState = {2, 0., 2., ""};
212210
AxisSpec axisSignPair = {4, 1., 5.};
213211
AxisSpec axisCentFT0M= {binscentFT0M, "Centrality percentile (FT0M)"};
214-
AxisSpec axisvz= {binsvz,"bins position vz"};
215-
216-
217212

213+
218214
// Histograms for data analysis
219215
registry.add("hBdtScorePrompt", "Lc BDT prompt score", {HistType::kTH1F, {axisBdtScore}});
220216
registry.add("hBdtScoreBkg", "Lc BDT bkg score", {HistType::kTH1F, {axisBdtScore}});
@@ -227,16 +223,16 @@ struct HfTaskCorrelationLcHadrons {
227223
registry.add("hDeltaEtaPtIntSidebands", stringLcHadron + stringSideband + stringDeltaEta + "entries", {HistType::kTH1F, {axisDeltaEta}});
228224
registry.add("hDeltaPhiPtIntSidebands", stringLcHadron + stringSideband + stringDeltaPhi + "entries", {HistType::kTH1F, {axisDeltaPhi}});
229225
registry.add("hCorrel2DPtIntSidebands", stringLcHadron + stringSideband + stringDeltaPhi + stringDeltaEta + "entries", {HistType::kTH2F, {{axisDeltaPhi}, {axisDeltaEta}}});
230-
registry.add("hCorrel2DVsPtSidebands", stringLcHadron + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + "entries", {HistType::kTHnSparseD, {{axisvz},{axisDeltaPhi}, {axisDeltaEta}, {axisPtCorr}, {axisPtHadron},{axisCentFT0M}, {axisPoolBin}}});
226+
registry.add("hCorrel2DVsPtSidebands", stringLcHadron + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + "entries", {HistType::kTHnSparseD, {{axisDeltaPhi}, {axisDeltaEta}, {axisPtCorr}, {axisPtHadron},{axisCentFT0M}, {axisPoolBin}}});
231227
registry.add("hDeltaEtaPtIntSidebandLeft", stringLcHadron + "Left" + stringSideband + stringDeltaEta, {HistType::kTH1F, {axisDeltaEta}});
232228
registry.add("hDeltaPhiPtIntSidebandLeft", stringLcHadron + "Left" + stringSideband + stringDeltaPhi, {HistType::kTH1F, {axisDeltaPhi}});
233229
registry.add("hDeltaEtaPtIntSidebandRight", stringLcHadron + "Right" + stringSideband + stringDeltaEta, {HistType::kTH1F, {axisDeltaEta}});
234230
registry.add("hDeltaPhiPtIntSidebandRight", stringLcHadron + "Right" + stringSideband + stringDeltaPhi, {HistType::kTH1F, {axisDeltaPhi}});
235231

236232
if (!fillSign) {
237-
registry.add("hCorrel2DVsPtSidebandLeft", stringLcHadron + "Left" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + "entries", {HistType::kTHnSparseD, {{axisvz},{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron},{axisCentFT0M}, {axisPoolBin}}});
238-
registry.add("hCorrel2DVsPtSidebandRight", stringLcHadron + "Right" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + "entries", {HistType::kTHnSparseD, {{axisvz},{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron},{axisCentFT0M}, {axisPoolBin}}});
239-
registry.add("hCorrel2DVsPtSignalRegion", stringLcHadron + stringSignal + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + "entries", {HistType::kTHnSparseD, {{axisvz},{axisDeltaPhi}, {axisDeltaEta}, {axisPtCorr}, {axisPtHadron},{axisCentFT0M},{axisPoolBin}}});
233+
registry.add("hCorrel2DVsPtSidebandLeft", stringLcHadron + "Left" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + "entries", {HistType::kTHnSparseD, {{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron},{axisCentFT0M}, {axisPoolBin}}});
234+
registry.add("hCorrel2DVsPtSidebandRight", stringLcHadron + "Right" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + "entries", {HistType::kTHnSparseD, {{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron},{axisCentFT0M}, {axisPoolBin}}});
235+
registry.add("hCorrel2DVsPtSignalRegion", stringLcHadron + stringSignal + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + "entries", {HistType::kTHnSparseD, {{axisDeltaPhi}, {axisDeltaEta}, {axisPtCorr}, {axisPtHadron},{axisCentFT0M},{axisPoolBin}}});
240236
registry.get<THnSparse>(HIST("hCorrel2DVsPtSidebandLeft"))->Sumw2();
241237
registry.get<THnSparse>(HIST("hCorrel2DVsPtSidebandRight"))->Sumw2();
242238
registry.get<THnSparse>(HIST("hCorrel2DVsPtSignalRegion"))->Sumw2();
@@ -454,7 +450,7 @@ struct HfTaskCorrelationLcHadrons {
454450
// define variables for widely used quantities
455451
float deltaPhi = pairEntry.deltaPhi();
456452
float centr= pairEntry.cent();
457-
float posiZ= pairEntry.zv();
453+
458454
float deltaEta = pairEntry.deltaEta();
459455
double ptLc = std::abs(pairEntry.ptLc());
460456
double ptHadron = std::abs(pairEntry.ptHadron());
@@ -523,7 +519,7 @@ struct HfTaskCorrelationLcHadrons {
523519
if (fillSign) {
524520
registry.fill(HIST("hCorrel2DVsPtSignSignalRegion"), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin, efficiencyWeight);
525521
} else {
526-
registry.fill(HIST("hCorrel2DVsPtSignalRegion"), posiZ,deltaPhi, deltaEta, ptLc, ptHadron, centr, poolBin, efficiencyWeight);
522+
registry.fill(HIST("hCorrel2DVsPtSignalRegion"), deltaPhi, deltaEta, ptLc, ptHadron, centr, poolBin, efficiencyWeight);
527523
}
528524
registry.fill(HIST("hCorrel2DPtIntSignalRegion"), deltaPhi, deltaEta, efficiencyWeight);
529525
registry.fill(HIST("hDeltaEtaPtIntSignalRegion"), deltaEta, efficiencyWeight);
@@ -534,11 +530,11 @@ struct HfTaskCorrelationLcHadrons {
534530
if (fillSign) {
535531
registry.fill(HIST("hCorrel2DVsPtSignSidebandLeft"), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin, efficiencyWeight);
536532
} else {
537-
registry.fill(HIST("hCorrel2DVsPtSidebandLeft"), posiZ, deltaPhi, deltaEta, ptLc, ptHadron,centr,poolBin, efficiencyWeight);
533+
registry.fill(HIST("hCorrel2DVsPtSidebandLeft"), deltaPhi, deltaEta, ptLc, ptHadron,centr,poolBin, efficiencyWeight);
538534
}
539535
registry.fill(HIST("hDeltaEtaPtIntSidebandLeft"), deltaEta, efficiencyWeight);
540536
registry.fill(HIST("hDeltaPhiPtIntSidebandLeft"), deltaPhi, efficiencyWeight);
541-
registry.fill(HIST("hCorrel2DVsPtSidebands"),posiZ, deltaPhi, deltaEta, ptLc, ptHadron, centr, poolBin, efficiencyWeight);
537+
registry.fill(HIST("hCorrel2DVsPtSidebands"), deltaPhi, deltaEta, ptLc, ptHadron, centr, poolBin, efficiencyWeight);
542538
registry.fill(HIST("hCorrel2DPtIntSidebands"), deltaPhi, deltaEta, efficiencyWeight);
543539
registry.fill(HIST("hDeltaEtaPtIntSidebands"), deltaEta, efficiencyWeight);
544540
registry.fill(HIST("hDeltaPhiPtIntSidebands"), deltaPhi, efficiencyWeight);
@@ -548,11 +544,11 @@ struct HfTaskCorrelationLcHadrons {
548544
if (fillSign) {
549545
registry.fill(HIST("hCorrel2DVsPtSignSidebandRight"), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin, efficiencyWeight);
550546
} else {
551-
registry.fill(HIST("hCorrel2DVsPtSidebandRight"), posiZ, deltaPhi, deltaEta, ptLc, ptHadron, centr, poolBin, efficiencyWeight);
547+
registry.fill(HIST("hCorrel2DVsPtSidebandRight"), deltaPhi, deltaEta, ptLc, ptHadron, centr, poolBin, efficiencyWeight);
552548
}
553549
registry.fill(HIST("hDeltaEtaPtIntSidebandRight"), deltaEta, efficiencyWeight);
554550
registry.fill(HIST("hDeltaPhiPtIntSidebandRight"), deltaPhi, efficiencyWeight);
555-
registry.fill(HIST("hCorrel2DVsPtSidebands"), posiZ,deltaPhi, deltaEta, ptLc, ptHadron, centr, poolBin, efficiencyWeight);
551+
registry.fill(HIST("hCorrel2DVsPtSidebands"), deltaPhi, deltaEta, ptLc, ptHadron, centr, poolBin, efficiencyWeight);
556552
registry.fill(HIST("hCorrel2DPtIntSidebands"), deltaPhi, deltaEta, efficiencyWeight);
557553
registry.fill(HIST("hDeltaEtaPtIntSidebands"), deltaEta, efficiencyWeight);
558554
registry.fill(HIST("hDeltaPhiPtIntSidebands"), deltaPhi, efficiencyWeight);

0 commit comments

Comments
 (0)