Commit 4f0e65c7 authored by LEGEARD Luc's avatar LEGEARD Luc
Browse files

remove a bug in ReaGenericFrame , in filling vector for GRU TTree

parent 73ad1e6f
......@@ -253,7 +253,7 @@ void MFMReaGenericFrame::SetTabValues(){
fTabValueTimeStamp = GetTimeStamp();
fBoardIndex = fConvertNoBoardIndex[fBoardNumber];
if (fInitTabValuesDone==false)return;
if ((fNumberOfBoards>fBoardIndex)and ( fNumberOfBoards >fChannel)){
if ((fNumberOfBoards>fBoardIndex)and ( NUMEXO_NB_CHANNELS >fChannel)){
fEnergy[fBoardIndex][fChannel] = GetEnergy();
fTime[fBoardIndex][fChannel] = GetTime();
fTypeTNS[fBoardIndex][fChannel] = GetTypeTns();
......@@ -262,7 +262,7 @@ void MFMReaGenericFrame::SetTabValues(){
} else {
cout << "Warning , index of card or No Channel to big \n";
cout <<dec <<" BoardIndex = "<<fBoardIndex << " <-> NumberOfBoards = "<<fNumberOfBoards<<"\n";
cout <<" ChannelIndex = "<<fChannel << " <-> NUMEXO_NB_CHANNELS = "<<NUMEXO_NB_CHANNELS<<"\n";
cout <<" ChannelIndex = "<<fChannel << " <-> NUMEXO_NB_CHANNELS = "<<NUMEXO_NB_CHANNELS<<"\n";
}
}
//_______________________________________________________________________________
......
#define MFM_VERSION "v21.07.28"
#define MFM_VERSION "v21.09.14"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment