Skip to content
Snippets Groups Projects
Commit 198087f6 authored by Ruud Overeem's avatar Ruud Overeem
Browse files

Bug 1306: Updated the test programs also.

parent 1fdefe50
No related branches found
No related tags found
No related merge requests found
......@@ -40,10 +40,10 @@ int main (int argc, char* argv[])
RCUCables RC1("tRCUCables.in_CableAtts", "tRCUCables.in_1");
// Note: test it in 4 loops iso 1 because the results are easier to interpret than.
for (int rcuMode = 0; rcuMode <= 7; rcuMode++) {
LOG_DEBUG_STR("Smallest delay for mode " << rcuMode << ": " << RC1.getSmallestDelay(rcuMode));
LOG_DEBUG_STR("Largest delay for mode " << rcuMode << ": " << RC1.getLargestDelay(rcuMode));
}
for (int rcuMode = 0; rcuMode <= 7; rcuMode++) {
LOG_DEBUG_STR("Smallest atten for mode " << rcuMode << ": " << RC1.getSmallestAtt (rcuMode));
LOG_DEBUG_STR("Largest atten for mode " << rcuMode << ": " << RC1.getLargestAtt (rcuMode));
}
for (int rcuMode = 0; rcuMode <= 7; rcuMode++) {
LOG_DEBUG_STR("Delay for RCU 5 in mode " << rcuMode << ": " << RC1.getDelay(5, rcuMode));
......
......@@ -13,24 +13,24 @@ DEBUG LCS.ApplCommon - 8 x 5
[CableAttenuation.cc:103]
DEBUG LCS.ApplCommon - Reading cable-delays from file: ./tRCUCables.in_1 [RCUCables.cc:52]
DEBUG LCS.ApplCommon - Found cable specs for 191 RCUs [RCUCables.cc:108]
DEBUG LCS.ApplCommon - Shortest LBA cable is 50m [RCUCables.cc:109]
DEBUG LCS.ApplCommon - Shortest LBA cable is 80m [RCUCables.cc:109]
DEBUG LCS.ApplCommon - Shortest HBA cable is 115m [RCUCables.cc:110]
DEBUG LCS.ApplCommon - Smallest delay for mode 0: 0 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon - Smallest delay for mode 1: 199.257 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon - Smallest delay for mode 2: 199.257 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon - Smallest delay for mode 3: 199.257 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon - Smallest delay for mode 4: 199.257 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon - Smallest delay for mode 5: 465.525 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon - Smallest delay for mode 6: 465.525 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon - Smallest delay for mode 7: 465.525 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon - Smallest atten for mode 0: 0 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon - Smallest atten for mode 1: -2.05 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon - Smallest atten for mode 2: -2.05 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon - Smallest atten for mode 3: -2.05 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon - Smallest atten for mode 4: -2.05 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon - Smallest atten for mode 5: -8.35 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon - Smallest atten for mode 6: -9.7 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon - Smallest atten for mode 7: -10.18 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon - Largest delay for mode 0: 0 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon - Largest delay for mode 1: 326.964 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon - Largest delay for mode 2: 326.964 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon - Largest delay for mode 3: 326.964 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon - Largest delay for mode 4: 326.964 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon - Largest delay for mode 5: 465.525 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon - Largest delay for mode 6: 465.525 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon - Largest delay for mode 7: 465.525 [tRCUCables.cc:43]
DEBUG LCS.ApplCommon - Largest atten for mode 0: 0 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon - Largest atten for mode 1: -3.32 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon - Largest atten for mode 2: -3.32 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon - Largest atten for mode 3: -3.32 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon - Largest atten for mode 4: -3.32 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon - Largest atten for mode 5: -8.35 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon - Largest atten for mode 6: -9.7 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon - Largest atten for mode 7: -10.18 [tRCUCables.cc:46]
DEBUG LCS.ApplCommon - Delay for RCU 5 in mode 0: 0 [tRCUCables.cc:49]
DEBUG LCS.ApplCommon - Delay for RCU 5 in mode 1: 199.257 [tRCUCables.cc:49]
DEBUG LCS.ApplCommon - Delay for RCU 5 in mode 2: 199.257 [tRCUCables.cc:49]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment