Skip to content
Snippets Groups Projects
Commit f2b4fc13 authored by Norbert Herrmann's avatar Norbert Herrmann Committed by Pierre-Alain Loizeau
Browse files

[TOF] Fix init with wrong data type in CbmTofDigiBdfPar::GetTrackingStation

parent e5c0f34c
No related branches found
No related tags found
1 merge request!878Changes from mCBM 2022 prod to TOF unpack, reco and tracking
...@@ -578,10 +578,10 @@ Int_t CbmTofDigiBdfPar::GetTrackingStation(Int_t iSmType, Int_t iSm, Int_t iRpc) ...@@ -578,10 +578,10 @@ Int_t CbmTofDigiBdfPar::GetTrackingStation(Int_t iSmType, Int_t iSm, Int_t iRpc)
if (iSmType < fiNbSmTypes) { if (iSmType < fiNbSmTypes) {
if (iSm < fiNbSm[iSmType] && iRpc < fiNbRpc[iSmType]) return fiTrkStation[iSmType][iSm * fiNbRpc[iSmType] + iRpc]; if (iSm < fiNbSm[iSmType] && iRpc < fiNbRpc[iSmType]) return fiTrkStation[iSmType][iSm * fiNbRpc[iSmType] + iRpc];
else else
return 0.0; return 0;
} // if( iSmType < fiNbSmTypes ) } // if( iSmType < fiNbSmTypes )
else else
return 0.0; return 0;
} }
Int_t CbmTofDigiBdfPar::GetNbChan(Int_t iSmType, Int_t iRpc) const Int_t CbmTofDigiBdfPar::GetNbChan(Int_t iSmType, Int_t iRpc) const
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment