#include ClassImp(TFwdDetDataBlock) //______________________________________________________________________________ void TFwdDetDataBlock::Streamer(TBuffer &R__b) { // Stream an object of class TFwdDetDataBlock - this is the only // non-trivial method of this class if (R__b.IsReading()) { Version_t R__v = R__b.ReadVersion(); if (R__v) { } R__b.ReadStaticArray(fBscData); R__b.ReadStaticArray(fRptData); for (int il=0; il= 0) && (ch < 8)) return 'E'; else if ((ch >= 8) && (ch < 18)) return 'W'; return ' '; } //_____________________________________________________________________________ int TFwdDetDataBlock::GetBscStation(int ch) { if ((ch >= 0) && (ch < 4)) return 1; else if ((ch >= 4) && (ch < 6)) return 2; else if ((ch >= 6) && (ch < 8)) return 3; else if ((ch >= 8) && (ch < 12)) return 1; else if ((ch >= 12) && (ch < 14)) return 2; else if ((ch >= 14) && (ch < 16)) return 3; else if ((ch >= 16) && (ch < 18)) return 4; return 0; } //_____________________________________________________________________________ int TFwdDetDataBlock::GetBscCounter(int ch) { if ((ch >= 0) && (ch < 4)) return (ch+1); else if ((ch >= 4) && (ch < 6)) return (ch-3); else if ((ch >= 6) && (ch < 8)) return (ch-5); else if ((ch >= 8) && (ch < 12)) return (ch-7); else if ((ch >= 12) && (ch < 14)) return (ch-11); else if ((ch >= 14) && (ch < 16)) return (ch-13); else if ((ch >= 16) && (ch < 18)) return (ch-15); return 0; }