Skip to content

Commit

Permalink
implemented Javier's suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
KonradAltenmueller committed May 19, 2022
1 parent ceaa1f7 commit ae412df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TRestRawSignalRecoverChannelsProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ TRestEvent* TRestRawSignalRecoverChannelsProcess::ProcessEvent(TRestEvent* evInp
// cout << "Channel id : " << fChannelIds[x] << " Left : " << idL << " Right
// : " << idR << endl;

fOutputSignalEvent->RemoveSignalWithId(fChannelIds[x]);
if( fOutputSignalEvent->GetSignalIndex(fChannelIds[x])> 0 ) fOutputSignalEvent->RemoveSignalWithId(fChannelIds[x]);

if (idL == -1 || idR == -1) continue;

Expand Down

0 comments on commit ae412df

Please sign in to comment.