diff --git a/core/detectors/tof/CbmTofDigiBdfPar.cxx b/core/detectors/tof/CbmTofDigiBdfPar.cxx index 773b9386bcc6cb4707aa54ab099612da2e7ef1ab..f5ffe762b8b77ddc3cd3813e97597b2c882830a1 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 {