Skip to content

Commit e2bc8c8

Browse files
committed
Removed Zvtx
1 parent 6edb446 commit e2bc8c8

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
@@ -386,7 +386,7 @@ struct HfCorrelatorLcHadrons {
386386
int64_t timeStamp = bc.timestamp();
387387

388388
float cent=evaluateCentralityColl(collision);
389-
float zv=collision.posZ();
389+
390390

391391
int poolBin = corrBinning.getBin(std::make_tuple(collision.posZ(), collision.multFT0M()));
392392
int nTracks = 0;
@@ -479,8 +479,7 @@ struct HfCorrelatorLcHadrons {
479479
track.pt() * track.sign(),
480480
poolBin,
481481
correlationStatus,
482-
cent,
483-
zv);
482+
cent);
484483
entryLcHadronPairY(track.y() - hfHelper.yLc(candidate));
485484
entryLcHadronRecoInfo(hfHelper.invMassLcToPKPi(candidate), false);
486485
entryLcHadronGenInfo(false, false, 0);
@@ -497,8 +496,7 @@ struct HfCorrelatorLcHadrons {
497496
track.pt() * track.sign(),
498497
poolBin,
499498
correlationStatus,
500-
cent,
501-
zv);
499+
cent);
502500
entryLcHadronPairY(track.y() - hfHelper.yLc(candidate));
503501
entryLcHadronRecoInfo(hfHelper.invMassLcToPiKP(candidate), false);
504502
entryLcHadronGenInfo(false, false, 0);

PWGHF/HFC/Tasks/taskCorrelationLcHadrons.cxx

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,6 @@ struct HfTaskCorrelationLcHadrons {
163163
ConfigurableAxis binsMultFT0M{"binsMultFT0M", {600, 0., 8000.}, "Multiplicity as FT0M signal amplitude"};
164164
ConfigurableAxis binsPoolBin{"binsPoolBin", {9, 0., 9.}, "PoolBin"};
165165
ConfigurableAxis binscentFT0M{"binsCentFT0M", {100, 0.,100.}, "Centrality percentile (FT0M)"};
166-
ConfigurableAxis binsvz{"binspositionZ", {20, -10.,10.}, "Bins for vz"};
167-
168166

169167
HistogramRegistry registry{"registry", {}, OutputObjHandlingPolicy::AnalysisObject};
170168

@@ -184,10 +182,8 @@ struct HfTaskCorrelationLcHadrons {
184182
AxisSpec axisCorrelationState = {2, 0., 2., ""};
185183
AxisSpec axisSignPair = {4, 1., 5.};
186184
AxisSpec axisCentFT0M= {binscentFT0M, "Centrality percentile (FT0M)"};
187-
AxisSpec axisvz= {binsvz,"bins position vz"};
188-
189-
190185

186+
191187
// Histograms for data analysis
192188
registry.add("hBdtScorePrompt", "Lc BDT prompt score", {HistType::kTH1F, {axisBdtScore}});
193189
registry.add("hBdtScoreBkg", "Lc BDT bkg score", {HistType::kTH1F, {axisBdtScore}});
@@ -200,16 +196,16 @@ struct HfTaskCorrelationLcHadrons {
200196
registry.add("hDeltaEtaPtIntSidebands", stringLcHadron + stringSideband + stringDeltaEta + "entries", {HistType::kTH1F, {axisDeltaEta}});
201197
registry.add("hDeltaPhiPtIntSidebands", stringLcHadron + stringSideband + stringDeltaPhi + "entries", {HistType::kTH1F, {axisDeltaPhi}});
202198
registry.add("hCorrel2DPtIntSidebands", stringLcHadron + stringSideband + stringDeltaPhi + stringDeltaEta + "entries", {HistType::kTH2F, {{axisDeltaPhi}, {axisDeltaEta}}});
203-
registry.add("hCorrel2DVsPtSidebands", stringLcHadron + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + "entries", {HistType::kTHnSparseD, {{axisvz},{axisDeltaPhi}, {axisDeltaEta}, {axisPtCorr}, {axisPtHadron},{axisCentFT0M}, {axisPoolBin}}});
199+
registry.add("hCorrel2DVsPtSidebands", stringLcHadron + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + "entries", {HistType::kTHnSparseD, {{axisDeltaPhi}, {axisDeltaEta}, {axisPtCorr}, {axisPtHadron},{axisCentFT0M}, {axisPoolBin}}});
204200
registry.add("hDeltaEtaPtIntSidebandLeft", stringLcHadron + "Left" + stringSideband + stringDeltaEta, {HistType::kTH1F, {axisDeltaEta}});
205201
registry.add("hDeltaPhiPtIntSidebandLeft", stringLcHadron + "Left" + stringSideband + stringDeltaPhi, {HistType::kTH1F, {axisDeltaPhi}});
206202
registry.add("hDeltaEtaPtIntSidebandRight", stringLcHadron + "Right" + stringSideband + stringDeltaEta, {HistType::kTH1F, {axisDeltaEta}});
207203
registry.add("hDeltaPhiPtIntSidebandRight", stringLcHadron + "Right" + stringSideband + stringDeltaPhi, {HistType::kTH1F, {axisDeltaPhi}});
208204

209205
if (!fillSign) {
210-
registry.add("hCorrel2DVsPtSidebandLeft", stringLcHadron + "Left" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + "entries", {HistType::kTHnSparseD, {{axisvz},{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron},{axisCentFT0M}, {axisPoolBin}}});
211-
registry.add("hCorrel2DVsPtSidebandRight", stringLcHadron + "Right" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + "entries", {HistType::kTHnSparseD, {{axisvz},{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron},{axisCentFT0M}, {axisPoolBin}}});
212-
registry.add("hCorrel2DVsPtSignalRegion", stringLcHadron + stringSignal + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + "entries", {HistType::kTHnSparseD, {{axisvz},{axisDeltaPhi}, {axisDeltaEta}, {axisPtCorr}, {axisPtHadron},{axisCentFT0M},{axisPoolBin}}});
206+
registry.add("hCorrel2DVsPtSidebandLeft", stringLcHadron + "Left" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + "entries", {HistType::kTHnSparseD, {{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron},{axisCentFT0M}, {axisPoolBin}}});
207+
registry.add("hCorrel2DVsPtSidebandRight", stringLcHadron + "Right" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + "entries", {HistType::kTHnSparseD, {{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron},{axisCentFT0M}, {axisPoolBin}}});
208+
registry.add("hCorrel2DVsPtSignalRegion", stringLcHadron + stringSignal + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + "entries", {HistType::kTHnSparseD, {{axisDeltaPhi}, {axisDeltaEta}, {axisPtCorr}, {axisPtHadron},{axisCentFT0M},{axisPoolBin}}});
213209
registry.get<THnSparse>(HIST("hCorrel2DVsPtSidebandLeft"))->Sumw2();
214210
registry.get<THnSparse>(HIST("hCorrel2DVsPtSidebandRight"))->Sumw2();
215211
registry.get<THnSparse>(HIST("hCorrel2DVsPtSignalRegion"))->Sumw2();
@@ -427,7 +423,7 @@ struct HfTaskCorrelationLcHadrons {
427423
// define variables for widely used quantities
428424
float deltaPhi = pairEntry.deltaPhi();
429425
float centr= pairEntry.cent();
430-
float posiZ= pairEntry.zv();
426+
431427
float deltaEta = pairEntry.deltaEta();
432428
double ptLc = std::abs(pairEntry.ptLc());
433429
double ptHadron = std::abs(pairEntry.ptHadron());
@@ -496,7 +492,7 @@ struct HfTaskCorrelationLcHadrons {
496492
if (fillSign) {
497493
registry.fill(HIST("hCorrel2DVsPtSignSignalRegion"), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin, efficiencyWeight);
498494
} else {
499-
registry.fill(HIST("hCorrel2DVsPtSignalRegion"), posiZ,deltaPhi, deltaEta, ptLc, ptHadron, centr, poolBin, efficiencyWeight);
495+
registry.fill(HIST("hCorrel2DVsPtSignalRegion"), deltaPhi, deltaEta, ptLc, ptHadron, centr, poolBin, efficiencyWeight);
500496
}
501497
registry.fill(HIST("hCorrel2DPtIntSignalRegion"), deltaPhi, deltaEta, efficiencyWeight);
502498
registry.fill(HIST("hDeltaEtaPtIntSignalRegion"), deltaEta, efficiencyWeight);
@@ -507,11 +503,11 @@ struct HfTaskCorrelationLcHadrons {
507503
if (fillSign) {
508504
registry.fill(HIST("hCorrel2DVsPtSignSidebandLeft"), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin, efficiencyWeight);
509505
} else {
510-
registry.fill(HIST("hCorrel2DVsPtSidebandLeft"), posiZ, deltaPhi, deltaEta, ptLc, ptHadron,centr,poolBin, efficiencyWeight);
506+
registry.fill(HIST("hCorrel2DVsPtSidebandLeft"), deltaPhi, deltaEta, ptLc, ptHadron,centr,poolBin, efficiencyWeight);
511507
}
512508
registry.fill(HIST("hDeltaEtaPtIntSidebandLeft"), deltaEta, efficiencyWeight);
513509
registry.fill(HIST("hDeltaPhiPtIntSidebandLeft"), deltaPhi, efficiencyWeight);
514-
registry.fill(HIST("hCorrel2DVsPtSidebands"),posiZ, deltaPhi, deltaEta, ptLc, ptHadron, centr, poolBin, efficiencyWeight);
510+
registry.fill(HIST("hCorrel2DVsPtSidebands"), deltaPhi, deltaEta, ptLc, ptHadron, centr, poolBin, efficiencyWeight);
515511
registry.fill(HIST("hCorrel2DPtIntSidebands"), deltaPhi, deltaEta, efficiencyWeight);
516512
registry.fill(HIST("hDeltaEtaPtIntSidebands"), deltaEta, efficiencyWeight);
517513
registry.fill(HIST("hDeltaPhiPtIntSidebands"), deltaPhi, efficiencyWeight);
@@ -521,11 +517,11 @@ struct HfTaskCorrelationLcHadrons {
521517
if (fillSign) {
522518
registry.fill(HIST("hCorrel2DVsPtSignSidebandRight"), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin, efficiencyWeight);
523519
} else {
524-
registry.fill(HIST("hCorrel2DVsPtSidebandRight"), posiZ, deltaPhi, deltaEta, ptLc, ptHadron, centr, poolBin, efficiencyWeight);
520+
registry.fill(HIST("hCorrel2DVsPtSidebandRight"), deltaPhi, deltaEta, ptLc, ptHadron, centr, poolBin, efficiencyWeight);
525521
}
526522
registry.fill(HIST("hDeltaEtaPtIntSidebandRight"), deltaEta, efficiencyWeight);
527523
registry.fill(HIST("hDeltaPhiPtIntSidebandRight"), deltaPhi, efficiencyWeight);
528-
registry.fill(HIST("hCorrel2DVsPtSidebands"), posiZ,deltaPhi, deltaEta, ptLc, ptHadron, centr, poolBin, efficiencyWeight);
524+
registry.fill(HIST("hCorrel2DVsPtSidebands"), deltaPhi, deltaEta, ptLc, ptHadron, centr, poolBin, efficiencyWeight);
529525
registry.fill(HIST("hCorrel2DPtIntSidebands"), deltaPhi, deltaEta, efficiencyWeight);
530526
registry.fill(HIST("hDeltaEtaPtIntSidebands"), deltaEta, efficiencyWeight);
531527
registry.fill(HIST("hDeltaPhiPtIntSidebands"), deltaPhi, efficiencyWeight);

0 commit comments

Comments
 (0)