Skip to content

Commit 03fc4fa

Browse files
committed
Remove variable
1 parent f2a1f35 commit 03fc4fa

3 files changed

Lines changed: 4 additions & 8 deletions

File tree

PWGHF/DataModel/CandidateReconstructionTables.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,6 @@ DECLARE_SOA_COLUMN(XDecayVtxV0, xDecayVtxV0, float);
994994
DECLARE_SOA_COLUMN(YDecayVtxV0, yDecayVtxV0, float);
995995
DECLARE_SOA_COLUMN(ZDecayVtxV0, zDecayVtxV0, float);
996996
DECLARE_SOA_COLUMN(SignDecay, signDecay, int8_t); // sign of pi <- xi
997-
DECLARE_SOA_COLUMN(Chi2PCACharmBaryon, chi2PCACharmBaryon, float);
998997
DECLARE_SOA_COLUMN(CovVtxCharmBaryon0, covVtxCharmBaryon0, float);
999998
DECLARE_SOA_COLUMN(CovVtxCharmBaryon1, covVtxCharmBaryon1, float);
1000999
DECLARE_SOA_COLUMN(CovVtxCharmBaryon2, covVtxCharmBaryon2, float);
@@ -1092,7 +1091,6 @@ DECLARE_SOA_TABLE(HfCandToXiPi, "AOD", "HFCANDTOXIPI",
10921091
hf_cand_toxipi::XDecayVtxCascade, hf_cand_toxipi::YDecayVtxCascade, hf_cand_toxipi::ZDecayVtxCascade,
10931092
hf_cand_toxipi::XDecayVtxV0, hf_cand_toxipi::YDecayVtxV0, hf_cand_toxipi::ZDecayVtxV0,
10941093
hf_cand_toxipi::SignDecay, // charge pi<-cascade (neg -> omegac, pos -> antiomegac)
1095-
hf_cand_toxipi::Chi2PCACharmBaryon,
10961094
hf_cand_toxipi::CovVtxCharmBaryon0, hf_cand_toxipi::CovVtxCharmBaryon1, hf_cand_toxipi::CovVtxCharmBaryon2, hf_cand_toxipi::CovVtxCharmBaryon3, hf_cand_toxipi::CovVtxCharmBaryon4, hf_cand_toxipi::CovVtxCharmBaryon5,
10971095
hf_cand_toxipi::PxCharmBaryon, hf_cand_toxipi::PyCharmBaryon, hf_cand_toxipi::PzCharmBaryon,
10981096
hf_cand_toxipi::PxCasc, hf_cand_toxipi::PyCasc, hf_cand_toxipi::PzCasc,

PWGHF/TableProducer/candidateCreatorToXiPi.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ struct HfCandidateCreatorToXiPi {
209209
hFitterStatus->Fill(0);
210210
hCandidateCounter->Fill(2);
211211
auto vertexCharmBaryonFromFitter = df.getPCACandidate();
212-
auto chi2PCACharmBaryon = df.getChi2AtPCACandidate();
213212
std::array<float, 3> pVecCascAsD;
214213
std::array<float, 3> pVecPionFromCharmBaryon;
215214
df.propagateTracksToVertex();
@@ -301,7 +300,7 @@ struct HfCandidateCreatorToXiPi {
301300
vertexCasc[0], vertexCasc[1], vertexCasc[2],
302301
vertexV0[0], vertexV0[1], vertexV0[2],
303302
trackXiDauCharged.sign(),
304-
chi2PCACharmBaryon, covVtxCharmBaryon[0], covVtxCharmBaryon[1], covVtxCharmBaryon[2], covVtxCharmBaryon[3], covVtxCharmBaryon[4], covVtxCharmBaryon[5],
303+
covVtxCharmBaryon[0], covVtxCharmBaryon[1], covVtxCharmBaryon[2], covVtxCharmBaryon[3], covVtxCharmBaryon[4], covVtxCharmBaryon[5],
305304
pVecCharmBaryon[0], pVecCharmBaryon[1], pVecCharmBaryon[2],
306305
pVecCasc[0], pVecCasc[1], pVecCasc[2],
307306
pVecPionFromCharmBaryon[0], pVecPionFromCharmBaryon[1], pVecPionFromCharmBaryon[2],

PWGHF/TableProducer/treeCreatorToXiPi.cxx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ DECLARE_SOA_COLUMN(XDecayVtxV0, xDecayVtxV0, float);
4444
DECLARE_SOA_COLUMN(YDecayVtxV0, yDecayVtxV0, float);
4545
DECLARE_SOA_COLUMN(ZDecayVtxV0, zDecayVtxV0, float);
4646
DECLARE_SOA_COLUMN(SignDecay, signDecay, int8_t); // sign of pi <- xi
47-
DECLARE_SOA_COLUMN(Chi2PCACharmBaryon, chi2PCACharmBaryon, float);
4847
DECLARE_SOA_COLUMN(CovVtxCharmBaryonXX, covVtxCharmBaryonXX, float);
4948
DECLARE_SOA_COLUMN(CovVtxCharmBaryonYY, covVtxCharmBaryonYY, float);
5049
DECLARE_SOA_COLUMN(CovVtxCharmBaryonZZ, covVtxCharmBaryonZZ, float);
@@ -135,11 +134,11 @@ DECLARE_SOA_COLUMN(TofNSigmaPrFromLambda, tofNSigmaPrFromLambda, float);
135134
} // namespace full
136135

137136
DECLARE_SOA_TABLE(HfToXiPiFulls, "AOD", "HFTOXIPIFULL",
138-
full::XPv, full::YPv, full::ZPv, collision::NumContrib,
137+
full::XPv, full::YPv, full::ZPv, collision::NumContrib, collision::Chi2,
139138
full::XDecayVtxCharmBaryon, full::YDecayVtxCharmBaryon, full::ZDecayVtxCharmBaryon,
140139
full::XDecayVtxCascade, full::YDecayVtxCascade, full::ZDecayVtxCascade,
141140
full::XDecayVtxV0, full::YDecayVtxV0, full::ZDecayVtxV0,
142-
full::SignDecay, full::Chi2PCACharmBaryon,
141+
full::SignDecay,
143142
full::CovVtxCharmBaryonXX, full::CovVtxCharmBaryonYY, full::CovVtxCharmBaryonZZ,
144143
full::PxCharmBaryon, full::PyCharmBaryon, full::PzCharmBaryon,
145144
full::PxCasc, full::PyCasc, full::PzCasc,
@@ -185,6 +184,7 @@ struct HfTreeCreatorToXiPi {
185184
candidate.yPv(),
186185
candidate.zPv(),
187186
candidate.collision().numContrib(),
187+
candidate.collision().chi2(),
188188
candidate.xDecayVtxCharmBaryon(),
189189
candidate.yDecayVtxCharmBaryon(),
190190
candidate.zDecayVtxCharmBaryon(),
@@ -195,7 +195,6 @@ struct HfTreeCreatorToXiPi {
195195
candidate.yDecayVtxV0(),
196196
candidate.zDecayVtxV0(),
197197
candidate.signDecay(),
198-
candidate.chi2PCACharmBaryon(),
199198
candidate.covVtxCharmBaryon0(),
200199
candidate.covVtxCharmBaryon3(),
201200
candidate.covVtxCharmBaryon5(),

0 commit comments

Comments
 (0)