Skip to content

BoundarySurfaces pass by const ref

Following !29873 (merged)

class BoundaryCheck
0051 {
     ..............
0063 
0064   bool checkLoc1; //!< check local 1 coordinate
0065   bool checkLoc2; //!< check local 2 coordinate
0066 
0067   double toleranceLoc1; //!< absolute tolerance in local 1 coordinate
0068   double toleranceLoc2; //!< absolute tolerance in local 2 coordinate
0069 
0070   int nSigmas;                 //!< allowed sigmas for chi2 boundary check
0071   AmgSymMatrix(2) lCovariance; //!< local covariance matrix
0072 
0073   BoundaryCheckType bcType;
...........

It seems to carry a bit of non trivial payload. Pass it around by reference rather than copy.

Merge request reports

Loading