Skip to content

Commit 2b4629b

Browse files
committed
Fixing compiling issues
1 parent 2199b44 commit 2b4629b

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

DPG/Tasks/ITS/itsImpParStudies.cxx

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -470,15 +470,9 @@ struct ItsImpactParStudies {
470470
/// loop over tracks
471471
float pt = -999.f;
472472
float p = -999.f;
473-
float eta = -999.f;
474-
float phi = -999.f;
475-
int8_t sign = -1;
476473
bool isPvContributor = false;
477-
int nContributors = -1;
478474
float impParRPhi = -999.f;
479475
float impParZ = -999.f;
480-
float impParRPhiSigma = 999.f;
481-
float impParZSigma = 999.f;
482476
float tpcNSigmaPion = -999.f;
483477
float tpcNSigmaKaon = -999.f;
484478
float tpcNSigmaProton = -999.f;
@@ -641,8 +635,6 @@ struct ItsImpactParStudies {
641635
// value calculated wrt global PV (not recalculated) ---> coming from trackextension workflow
642636
impParRPhi = toMicrometers * track.dcaXY(); // dca.getY();
643637
impParZ = toMicrometers * track.dcaZ(); // dca.getY();
644-
impParRPhiSigma = toMicrometers * std::sqrt(track.sigmaDcaXY2());
645-
impParZSigma = toMicrometers * std::sqrt(track.sigmaDcaZ2());
646638
// updated value after PV recalculation
647639
if (recalc_imppar) {
648640
if (fEnablePulls) {
@@ -651,12 +643,10 @@ struct ItsImpactParStudies {
651643
if (o2::base::Propagator::Instance()->propagateToDCABxByBz(PVbase_recalculated, trackParCov, 2.f, matCorr, &dcaInfoCov)) {
652644
impParRPhi = dcaInfoCov.getY() * toMicrometers;
653645
impParZ = dcaInfoCov.getZ() * toMicrometers;
654-
impParRPhiSigma = std::sqrt(dcaInfoCov.getSigmaY2()) * toMicrometers;
655-
impParZSigma = std::sqrt(dcaInfoCov.getSigmaZ2()) * toMicrometers;
656646
}
657647
} else {
658648
auto trackPar = getTrackPar(track);
659-
o2::gpu::gpustd::array<float, 2> dcaInfo{-999., -999.};
649+
std::array<float, 2> dcaInfo{-999., -999.};
660650
if (o2::base::Propagator::Instance()->propagateToDCABxByBz({PVbase_recalculated.getX(), PVbase_recalculated.getY(), PVbase_recalculated.getZ()}, trackPar, 2.f, matCorr, &dcaInfo)) {
661651
impParRPhi = dcaInfo[0] * toMicrometers;
662652
impParZ = dcaInfo[1] * toMicrometers;
@@ -683,10 +673,6 @@ struct ItsImpactParStudies {
683673
// downsampling - do not consider the current track
684674
continue;
685675
}
686-
eta = track.eta();
687-
phi = track.phi();
688-
sign = track.sign();
689-
nContributors = collision.numContrib();
690676

691677
if (addTrackIUinfo) {
692678
histograms.fill(HIST("Reco/h4ClusterSizeIU"), p, impParRPhi, trackIuPosX, trackIuPosY, trackIuPosZ, clusterSizeInLayer0);

0 commit comments

Comments
 (0)