Fix compilation warnings on clang introduced by MR 747 ( "Improvements to UT front end simulation based on 2024 data")
The following discussion from !747 (merged) should be addressed:
-
@cattanem started a discussion: (+1 comment)
@hawu this gives the following compilation warning with clang:
../UT/UTCheckers/src/UTDigitMonitor.cpp:88:73: warning: implicit conversion from 'double' to 'unsigned long' changes value from 764.8 to 764 [-Wliteral-conversion] plot2D( hitX, hitY, "UTDigits X vs. Y", 4, -908.6, 908.6, -764.8, 764.8, 76, 32 ); ~~~~~~ ^~~~~
Are you sure the arguments of plot2D are correct? I think the ID argument (4) should be before the title?