7 : theLinkBoardInputNum(
num), theChamber(
chamber), theFeb(feb), theAlgo(0), theRawId(0) {}
15 pinAlgo = pinAlgo - 4;
19 if (pinNumber < pinAlgo)
21 if (!pinAlgo && (pinNumber < 2))
23 if (pinAlgo && (pinNumber > pinAlgo +
nStrips - 1))
25 if (!pinAlgo && (pinNumber >
nStrips + 2 || pinNumber == 9))
27 int chamberStripNumber = -1;
30 chamberStripNumber = firstChamberStrip +
slope * (pinNumber - pinAlgo);
31 else if (pinNumber < 9)
32 chamberStripNumber = firstChamberStrip +
slope * (pinNumber - 2);
34 chamberStripNumber = firstChamberStrip +
slope * (pinNumber - 3);
42 if (istrip < 0 || istrip >
nStrips - 1)
46 int theStrip = firstChamberStrip + istrip;
48 theStrip = firstChamberStrip - istrip;
54 if (istrip < 0 || istrip >
nStrips - 1)
58 pinAlgo = pinAlgo - 4;
59 bool holeatpin9 = (pinAlgo == 0 && istrip > 6);
60 int thePin = istrip + pinAlgo + holeatpin9 + 2 * (pinAlgo == 0);
72 std::ostringstream
str;
75 str << aDet << std::endl;
80 for (
int istrip = 0; istrip <
nStrips; istrip++) {