Skip to content
Snippets Groups Projects
Commit b4af0591 authored by Jure Bericic's avatar Jure Bericic
Browse files

Modified warning messeges for hitlist.

Corrected warning message for missing refchan to correctly display reference channel.
Modified warningg message for missing refindex to include information about reference channel.
parent ffc3dfc3
No related branches found
No related tags found
No related merge requests found
......@@ -193,7 +193,7 @@ Int_t THcHitList::DecodeToHitList( const THaEvData& evdata ) {
Int_t reftime = evdata.GetData(d->crate, d->slot, d->refchan, 0);
rawhit->SetReference(signal, reftime);
} else {
cout << "HitList: refchan " << d->refindex <<
cout << "HitList: refchan " << d->refchan <<
" missing for (" << d->crate << ", " << d->slot <<
", " << chan << ")" << endl;
}
......@@ -203,6 +203,9 @@ Int_t THcHitList::DecodeToHitList( const THaEvData& evdata ) {
rawhit->SetReference(signal, fRefIndexMaps[d->refindex].reftime);
} else {
cout << "HitList: refindex " << d->refindex <<
" (" << fRefIndexMaps[d->refindex].crate <<
", " << fRefIndexMaps[d->refindex].slot <<
", " << fRefIndexMaps[d->refindex].channel << ")" <<
" missing for (" << d->crate << ", " << d->slot <<
", " << chan << ")" << endl;
}
......
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