Skip to content

Commit

Permalink
Fix CMSSW warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
VourMa committed May 31, 2024
1 parent 8ced0f1 commit 83cc530
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion RecoTracker/LSTCore/interface/alpaka/Constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ namespace SDL {
ALPAKA_STATIC_ACC_MEM_GLOBAL const float pt_betaMax = 7.0;
ALPAKA_STATIC_ACC_MEM_GLOBAL const float magnetic_field = 3.8112;
// Since C++ can't represent infinity, SDL_INF = 123456789 was used to represent infinity in the data table
ALPAKA_STATIC_ACC_MEM_GLOBAL const float SDL_INF = 123456789;
ALPAKA_STATIC_ACC_MEM_GLOBAL const float SDL_INF = 123456789.0;
} //namespace SDL

namespace T5DNN {
Expand Down
2 changes: 0 additions & 2 deletions RecoTracker/LSTCore/src/alpaka/Triplet.h
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,6 @@ namespace SDL {
float zGeom1 = SDL::copysignf(zGeom, zIn);
float rtLo = rtIn * (1.f + (zOut - zIn - zGeom1) / (zIn + zGeom1 + dLum) / dzDrtScale) -
rtGeom1; //slope correction only on the lower end
zOut = zOut;
rtOut = rtOut;

//Cut #1: rt condition
float zInForHi = zIn - zGeom1 - dLum;
Expand Down

0 comments on commit 83cc530

Please sign in to comment.