Skip to content

Commit

Permalink
Merge pull request cms-sw#40210 from smuzaffar/lto-warn1
Browse files Browse the repository at this point in the history
[LTO] Add default initialization to fix LTO build warnings
  • Loading branch information
cmsbuild authored Dec 7, 2022
2 parents 7302937 + 1e69f77 commit ef8487a
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions RecoLocalTracker/SiPixelRecHits/interface/PixelCPEGenericBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@ class PixelCPEGenericBase : public PixelCPEBase {
// individual pixel signals. It should be applied to all pixels in the
// cluster [signal_i = fminf(signal_i, pixmax)] before the column and row
// sums are made. Morris
int pixmx;
int pixmx{};

// These are errors predicted by PIXELAV
float sigmay; // CPE Generic y-error for multi-pixel cluster
float sigmax; // CPE Generic x-error for multi-pixel cluster
float sy1; // CPE Generic y-error for single single-pixel
float sy2; // CPE Generic y-error for single double-pixel cluster
float sx1; // CPE Generic x-error for single single-pixel cluster
float sx2; // CPE Generic x-error for single double-pixel cluster
float sigmay{}; // CPE Generic y-error for multi-pixel cluster
float sigmax{}; // CPE Generic x-error for multi-pixel cluster
float sy1{}; // CPE Generic y-error for single single-pixel
float sy2{}; // CPE Generic y-error for single double-pixel cluster
float sx1{}; // CPE Generic x-error for single single-pixel cluster
float sx2{}; // CPE Generic x-error for single double-pixel cluster

// These are irradiation bias corrections
float deltay; // CPE Generic y-bias for multi-pixel cluster
float deltax; // CPE Generic x-bias for multi-pixel cluster
float dy1; // CPE Generic y-bias for single single-pixel cluster
float dy2; // CPE Generic y-bias for single double-pixel cluster
float dx1; // CPE Generic x-bias for single single-pixel cluster
float dx2; // CPE Generic x-bias for single double-pixel cluster
float deltay{}; // CPE Generic y-bias for multi-pixel cluster
float deltax{}; // CPE Generic x-bias for multi-pixel cluster
float dy1{}; // CPE Generic y-bias for single single-pixel cluster
float dy2{}; // CPE Generic y-bias for single double-pixel cluster
float dx1{}; // CPE Generic x-bias for single single-pixel cluster
float dx2{}; // CPE Generic x-bias for single double-pixel cluster
};

PixelCPEGenericBase(edm::ParameterSet const& conf,
Expand Down

0 comments on commit ef8487a

Please sign in to comment.