Skip to content
Snippets Groups Projects
Commit bb8abe1d authored by Jochen Meyer's avatar Jochen Meyer
Browse files

fixing tube counting for mezz type 50 and 60

parent 25e79c55
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ bool MdtAmtMap::initMap(const MdtMezzanineType* mezType, uint8_t chanZero, int l
else {
layer = 4-chan%4 ;
}
if ( tubeZero == 1) {
if ( (tubeZero-1)%6 == 0) {
tube = tubeZero + int ( chan/4 );
}
else {
......@@ -123,7 +123,7 @@ bool MdtAmtMap::initMap(const MdtMezzanineType* mezType, uint8_t chanZero, int l
else {
layer = 4-chan%4 ;
}
if ( tubeZero == 1) {
if ( (tubeZero-1)%6 == 0) {
tube = tubeZero + int ( chan/4 );
}
else {
......
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