Skip to content

Commit 5da9acc

Browse files
authored
Merge d0f5f53 into b4bfe49
2 parents b4bfe49 + d0f5f53 commit 5da9acc

3 files changed

Lines changed: 11 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: 10 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);
@@ -109,6 +108,9 @@ DECLARE_SOA_COLUMN(DecLenCascade, decLenCascade, double);
109108
DECLARE_SOA_COLUMN(DecLenV0, decLenV0, double);
110109
DECLARE_SOA_COLUMN(ErrorDecayLengthCharmBaryon, errorDecayLengthCharmBaryon, float);
111110
DECLARE_SOA_COLUMN(ErrorDecayLengthXYCharmBaryon, errorDecayLengthXYCharmBaryon, float);
111+
DECLARE_SOA_COLUMN(NormImpParCascade, normImpParCascade, double);
112+
DECLARE_SOA_COLUMN(NormImpParPiFromCharmBar, normImpParPiFromCharmBar, double);
113+
DECLARE_SOA_COLUMN(NormDecayLenCharmBar, normDecayLenCharmBar, double);
112114
// from creator - MC
113115
DECLARE_SOA_COLUMN(FlagMcMatchRec, flagMcMatchRec, int8_t); // reconstruction level
114116
DECLARE_SOA_COLUMN(DebugMcRec, debugMcRec, int8_t); // debug flag for mis-association reconstruction level
@@ -135,11 +137,11 @@ DECLARE_SOA_COLUMN(TofNSigmaPrFromLambda, tofNSigmaPrFromLambda, float);
135137
} // namespace full
136138

137139
DECLARE_SOA_TABLE(HfToXiPiFulls, "AOD", "HFTOXIPIFULL",
138-
full::XPv, full::YPv, full::ZPv, collision::NumContrib,
140+
full::XPv, full::YPv, full::ZPv, collision::NumContrib, collision::Chi2,
139141
full::XDecayVtxCharmBaryon, full::YDecayVtxCharmBaryon, full::ZDecayVtxCharmBaryon,
140142
full::XDecayVtxCascade, full::YDecayVtxCascade, full::ZDecayVtxCascade,
141143
full::XDecayVtxV0, full::YDecayVtxV0, full::ZDecayVtxV0,
142-
full::SignDecay, full::Chi2PCACharmBaryon,
144+
full::SignDecay,
143145
full::CovVtxCharmBaryonXX, full::CovVtxCharmBaryonYY, full::CovVtxCharmBaryonZZ,
144146
full::PxCharmBaryon, full::PyCharmBaryon, full::PzCharmBaryon,
145147
full::PxCasc, full::PyCasc, full::PzCasc,
@@ -160,6 +162,7 @@ DECLARE_SOA_TABLE(HfToXiPiFulls, "AOD", "HFTOXIPIFULL",
160162
full::DcaZToPvV0Dau0, full::DcaZToPvV0Dau1, full::DcaZToPvCascDau,
161163
full::DcaCascDau, full::DcaV0Dau, full::DcaCharmBaryonDau,
162164
full::DecLenCharmBaryon, full::DecLenCascade, full::DecLenV0, full::ErrorDecayLengthCharmBaryon, full::ErrorDecayLengthXYCharmBaryon,
165+
full::NormImpParCascade, full::NormImpParPiFromCharmBar, full::NormDecayLenCharmBar,
163166
full::StatusPidLambda, full::StatusPidCascade, full::StatusPidCharmBaryon,
164167
full::StatusInvMassLambda, full::StatusInvMassCascade, full::StatusInvMassCharmBaryon, full::ResultSelections, full::PidTpcInfoStored, full::PidTofInfoStored,
165168
full::TpcNSigmaPiFromCharmBaryon, full::TpcNSigmaPiFromCasc, full::TpcNSigmaPiFromLambda, full::TpcNSigmaPrFromLambda,
@@ -185,6 +188,7 @@ struct HfTreeCreatorToXiPi {
185188
candidate.yPv(),
186189
candidate.zPv(),
187190
candidate.collision().numContrib(),
191+
candidate.collision().chi2(),
188192
candidate.xDecayVtxCharmBaryon(),
189193
candidate.yDecayVtxCharmBaryon(),
190194
candidate.zDecayVtxCharmBaryon(),
@@ -195,7 +199,6 @@ struct HfTreeCreatorToXiPi {
195199
candidate.yDecayVtxV0(),
196200
candidate.zDecayVtxV0(),
197201
candidate.signDecay(),
198-
candidate.chi2PCACharmBaryon(),
199202
candidate.covVtxCharmBaryon0(),
200203
candidate.covVtxCharmBaryon3(),
201204
candidate.covVtxCharmBaryon5(),
@@ -260,6 +263,9 @@ struct HfTreeCreatorToXiPi {
260263
candidate.decLenV0(),
261264
candidate.errorDecayLengthCharmBaryon(),
262265
candidate.errorDecayLengthXYCharmBaryon(),
266+
candidate.impactParCascXY()/candidate.errImpactParCascXY(),
267+
candidate.impactParPiFromCharmBaryonXY()/candidate.errImpactParPiFromCharmBaryonXY(),
268+
candidate.decLenCharmBaryon()/candidate.errorDecayLengthCharmBaryon(),
263269
candidate.statusPidLambda(),
264270
candidate.statusPidCascade(),
265271
candidate.statusPidCharmBaryon(),

0 commit comments

Comments
 (0)