8 #include "sumTriggerPatchChannels.hh"
9 #include "DSMAlgo_BW003_2009.hh"
11 void DSMAlgo_BW003_2009::operator()(
DSM& dsm)
33 int highTowerBitsJP1 = 0;
35 int highEtaSumJP1 = 0;
39 sumTriggerPatchChannels(dsm, 1, 3, 2, 1, lowEtaSumJP1, highTowerBitsJP1);
40 sumTriggerPatchChannels(dsm, 5, 9, 2, 1, highEtaSumJP1, highTowerBitsJP1);
44 int highTowerBitsJP6 = 0;
46 int highEtaSumJP6 = 0;
50 sumTriggerPatchChannels(dsm, 0, 2, 2, 1, lowEtaSumJP6, highTowerBitsJP6);
51 sumTriggerPatchChannels(dsm, 4, 8, 2, 1, highEtaSumJP6, highTowerBitsJP6);
72 out |= highEtaSumJP1 << 6;
73 out |= highTowerBitsJP1 << 12;
77 out |= lowEtaSumJP6 << 16;
78 out |= highEtaSumJP6 << 22;
79 out |= highTowerBitsJP6 << 28;