From f2b4fc130014f63266f97ac12622641ba69d2c5b Mon Sep 17 00:00:00 2001 From: Norbert Herrmann <n.herrmann@physi.uni-heidelberg.de> Date: Tue, 5 Jul 2022 13:31:08 +0200 Subject: [PATCH] [TOF] Fix init with wrong data type in CbmTofDigiBdfPar::GetTrackingStation --- core/detectors/tof/CbmTofDigiBdfPar.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/detectors/tof/CbmTofDigiBdfPar.cxx b/core/detectors/tof/CbmTofDigiBdfPar.cxx index 773b9386bc..f5ffe762b8 100644 --- a/core/detectors/tof/CbmTofDigiBdfPar.cxx +++ b/core/detectors/tof/CbmTofDigiBdfPar.cxx @@ -578,10 +578,10 @@ Int_t CbmTofDigiBdfPar::GetTrackingStation(Int_t iSmType, Int_t iSm, Int_t iRpc) if (iSmType < fiNbSmTypes) { if (iSm < fiNbSm[iSmType] && iRpc < fiNbRpc[iSmType]) return fiTrkStation[iSmType][iSm * fiNbRpc[iSmType] + iRpc]; else - return 0.0; + return 0; } // if( iSmType < fiNbSmTypes ) else - return 0.0; + return 0; } Int_t CbmTofDigiBdfPar::GetNbChan(Int_t iSmType, Int_t iRpc) const { -- GitLab