From 63ebe51904c6fcd43ddc122f8d25a9465552d117 Mon Sep 17 00:00:00 2001 From: Pascal Raisig <praisig@ikf.uni-frankfurt.de> Date: Fri, 16 Jul 2021 10:36:17 +0200 Subject: [PATCH] Remove unused dpbidx in PsdAlgo --- reco/detectors/psd/unpack/CbmPsdUnpackAlgo.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/reco/detectors/psd/unpack/CbmPsdUnpackAlgo.cxx b/reco/detectors/psd/unpack/CbmPsdUnpackAlgo.cxx index 0e6de6b104..36a2a1d93d 100644 --- a/reco/detectors/psd/unpack/CbmPsdUnpackAlgo.cxx +++ b/reco/detectors/psd/unpack/CbmPsdUnpackAlgo.cxx @@ -150,8 +150,7 @@ bool CbmPsdUnpackAlgo::unpack(const fles::Timeslice* ts, std::uint16_t icomp, UI if (0 == fvbMaskedComponents.size()) fvbMaskedComponents.resize(ts->num_components(), kFALSE); - auto dpbid = static_cast<uint16_t>(eqid & 0xFFFF); - UInt_t dpbidx = 0; + auto dpbid = static_cast<uint16_t>(eqid & 0xFFFF); /// Check if this sDPB ID was declared in parameter file and stop there if not auto it = fGdpbIdIndexMap.find(dpbid); @@ -173,8 +172,6 @@ bool CbmPsdUnpackAlgo::unpack(const fles::Timeslice* ts, std::uint16_t icomp, UI return kFALSE; } // if( it == fGdpbIdIndexMap.end() ) - else - dpbidx = fGdpbIdIndexMap[dpbid]; // assert(dpbid == 0); // mCBM201: only one GPDB -- GitLab