You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for (unsignedint wordNum = 0; wordNum < numCICADAWords; ++wordNum) {
49
-
unsignedshort wordLocation = processedBXs*nFramesPerEvent + wordNum; //Calculate the location of the needed CICADA word based on how many BXs we have already handled, and how many words of CICADA we have already grabbed.
48
+
unsignedshort wordLocation =
49
+
processedBXs * nFramesPerEvent +
50
+
wordNum; //Calculate the location of the needed CICADA word based on how many BXs we have already handled, and how many words of CICADA we have already grabbed.
50
51
//Frame 0 of a bx are the most significant integer bits
51
52
//Frame 1 of a bx are the least significant integer bits
52
53
//Frame 2 of a bx are the most significant decimal bits
53
54
//Frame 3 of a bx are the lest significant decimal bits
54
55
//Frames 4&5 are unused (by CICADA), they are reserved.
28; //The 28 shifts the extracted bits over to the start of the 32 bit result data for easier working with later
58
+
(cicadaBitsPattern & raw_data) >>
59
+
28; //The 28 shifts the extracted bits over to the start of the 32 bit result data for easier working with later
59
60
}
60
-
res_->push_back(bx, processBitsToScore(cicadaBits)); //Now we insert CICADA into the proper BX, after a quick utility constructs a number from the 4 sets of bits.
61
-
++processedBXs; //index BXs
61
+
res_->push_back(
62
+
bx,
63
+
processBitsToScore(
64
+
cicadaBits)); //Now we insert CICADA into the proper BX, after a quick utility constructs a number from the 4 sets of bits.
0 commit comments