When getting the value of switches in the local board use the proper AliMpLocalBoard enum value rather than the hard-wired number.
(Diego)
{
// not quite sure about this
Int_t offset = 0;
- if (iCath && localBoard->GetSwitch(6)) offset = -8;
+ if (iCath && localBoard->GetSwitch(AliMpLocalBoard::kZeroAllYLSB)) offset = -8;
AliMpPad pad = seg->PadByLocation(nBoard,ibitxy+offset,kTRUE);
// get pad from electronics
Int_t offset = 0;
- if (cath && localBoard->GetSwitch(6)) offset = -8;
+ if (cath && localBoard->GetSwitch(AliMpLocalBoard::kZeroAllYLSB)) offset = -8;
AliMpPad pad = seg[cath]->PadByLocation(iBoard,iStrip+offset,kFALSE);
if (b)
{
- if (cathode && b->GetSwitch(6)) ibitxy += 8;
+ if (cathode && b->GetSwitch(AliMpLocalBoard::kZeroAllYLSB)) ibitxy += 8;
b->SetbitM(ibitxy,cathode,ichamber-10);
}