Commit ce97f87c authored by J.Dudouet [IPNL/CSNSM]'s avatar J.Dudouet [IPNL/CSNSM]
Browse files

Correction of the definition of the Channel id


git-svn-id: svn+ssh://anonsvn.in2p3.fr/agata/gammaware/trunk@2248 c3abf467-7ff2-0310-b516-c5fb849bdde0
parent 7a22eaee
......@@ -72,7 +72,7 @@ void DIAMANTWatchers::Exec(Option_t * /*option*/)
fMFMTimestamp = mfmframe->GetTimeStamp();
fBoardID = mfmframe->GetBoardId();
fChannelID = mfmframe->GetChannelId();
fChannelID = mfmframe->GetTGCristalId();
fStatPerBoard[fBoardID][MaxChannel]++;
fStatPerBoard[fBoardID][fChannelID]++;
......@@ -84,7 +84,7 @@ void DIAMANTWatchers::Exec(Option_t * /*option*/)
cout<<"ADF and MFM timestamps not equal !"<<endl;
cout<<"ADF : "<<fADFTimestamp<<endl;
cout<<"MFM : "<<fMFMTimestamp<<endl;
cout<<"Board id : "<<mfmframe->GetBoardId()<<" ; Channel id : "<<mfmframe->GetChannelId()<<endl;
cout<<"Board id : "<<fBoardID<<" ; Channel id : "<<fChannelID<<endl;
fBashColor->ResetColor();
}
......
......@@ -49,6 +49,7 @@ using namespace Gw;
*/
class DIAMANTWatchers : public WatcherWithTag
{
protected:
static const Int_t MaxDIAMANT = 100;
static const Int_t MaxChannel = 16;
......
......@@ -86,7 +86,7 @@ void NEDAWatchers::Exec(Option_t * /*option*/)
cout<<"ADF and MFM timestamps not equal !"<<endl;
cout<<"ADF : "<<fADFTimestamp<<endl;
cout<<"MFM : "<<fMFMTimestamp<<endl;
cout<<"Board id : "<<mfmframe->GetBoardId()<<" ; Channel id : "<<mfmframe->GetChannelId()<<endl;
cout<<"Board id : "<<fBoardID<<" ; Channel id : "<<fChannelID<<endl;
fBashColor->ResetColor();
}
......
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