Skip to content

Commit 379ea4f

Browse files
authored
[ALICE3] Fix compilation warnings (#8378)
1 parent 937f4d9 commit 379ea4f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ALICE3/TableProducer/alice3-multicharm.cxx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -499,15 +499,14 @@ struct alice3multicharm {
499499
continue; // do not take if radius too small, likely a primary combination
500500

501501
o2::dataformats::DCA dcaInfo;
502-
float xicdcaXY = 1e+10, xicdcaZ = 1e+10;
502+
float xicdcaXY = 1e+10;
503503
o2::track::TrackParCov xicTrackCopy(xicTrack); // paranoia
504504

505505
o2::vertexing::PVertex primaryVertex;
506506
primaryVertex.setXYZ(collision.posX(), collision.posY(), collision.posZ());
507507

508508
if (xicTrackCopy.propagateToDCA(primaryVertex, magneticField, &dcaInfo)) {
509509
xicdcaXY = dcaInfo.getY();
510-
xicdcaZ = dcaInfo.getZ();
511510
}
512511

513512
histos.fill(HIST("hMassXiC"), thisXiCcandidate.mass);
@@ -543,10 +542,9 @@ struct alice3multicharm {
543542

544543
o2::track::TrackParCov xiccTrack(thisXiCCcandidate.xyz, momentumCC, thisXiCCcandidate.parentTrackCovMatrix, +2);
545544

546-
float xiccdcaXY = 1e+10, xiccdcaZ = 1e+10;
545+
float xiccdcaXY = 1e+10;
547546
if (xiccTrack.propagateToDCA(primaryVertex, magneticField, &dcaInfo)) {
548547
xiccdcaXY = dcaInfo.getY();
549-
xiccdcaZ = dcaInfo.getZ();
550548
}
551549

552550
// produce multi-charm table for posterior analysis

0 commit comments

Comments
 (0)