Skip to content
Snippets Groups Projects
Commit 8361362d authored by Scott Snyder's avatar Scott Snyder Committed by Walter Lampl
Browse files

TrigT1CaloCalibConditions: Fix cppcheck warning.

TrigT1CaloCalibConditions: Fix cppcheck warning.

Pass vector by const reference, not by value.
parent 523734ce
No related merge requests found
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
#include "TrigT1CaloCalibConditions/L1CaloPprConditionsRun2.h"
......@@ -74,7 +74,7 @@ L1CaloPprConditionsRun2::L1CaloPprConditionsRun2(unsigned short extBcidThreshold
namespace {
unsigned short getLutOffset(double pedMean, unsigned short firStartBit,
std::vector<short int> firCoeff,
const std::vector<short int>& firCoeff,
unsigned short lutSlope,
unsigned short lutStrategy) {
unsigned short lutOffset = 0;
......
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