Skip to content

Commit a3b2422

Browse files
Fixed the error related unused vars
1 parent 24c1816 commit a3b2422

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

PWGHF/TableProducer/treeCreatorTccToD0D0Pi.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ struct HfTreeCreatorTccToD0D0Pi {
300300
void runCandCreatorData(CollType const& collision,
301301
CandType const& candidates,
302302
aod::TrackAssoc const& trackIndices,
303-
TrkType const& track, aod::BCs const&)
303+
TrkType const&, aod::BCs const&)
304304
{
305305

306306
auto primaryVertex = getPrimaryVertex(collision);
@@ -427,7 +427,6 @@ struct HfTreeCreatorTccToD0D0Pi {
427427
trackD2.getPxPyPzGlo(pVecD2New); // momentum of D2 at the Tcc vertex
428428
trackParCovPi.getPxPyPzGlo(pVecSoftPi); // momentum of pi at the Tcc vertex
429429

430-
const auto& secVertexTcc = dfTcc.getPCACandidate();
431430
auto chi2PCA = dfTcc.getChi2AtPCACandidate();
432431
auto covMatrixPCA = dfTcc.calcPCACovMatrixFlat();
433432
hCovSVXX->Fill(covMatrixPCA[0]);

0 commit comments

Comments
 (0)