From d304a00a369d622674db00e363a207790b5aac3f Mon Sep 17 00:00:00 2001 From: Jonas Rembser Date: Sun, 31 Jan 2021 15:46:41 +0100 Subject: [PATCH] include in CSCDBL1TPParametersExtended.cc --- .../CSCObjects/src/CSCDBL1TPParametersExtended.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/CondFormats/CSCObjects/src/CSCDBL1TPParametersExtended.cc b/CondFormats/CSCObjects/src/CSCDBL1TPParametersExtended.cc index a20637e4fc7b1..2723dcee92f42 100644 --- a/CondFormats/CSCObjects/src/CSCDBL1TPParametersExtended.cc +++ b/CondFormats/CSCObjects/src/CSCDBL1TPParametersExtended.cc @@ -1,5 +1,7 @@ #include "CondFormats/CSCObjects/interface/CSCDBL1TPParametersExtended.h" +#include + CSCDBL1TPParametersExtended::CSCDBL1TPParametersExtended() { paramsInt_.resize(paramNamesInt_.size()); paramsBool_.resize(paramNamesBool_.size()); @@ -8,21 +10,21 @@ CSCDBL1TPParametersExtended::CSCDBL1TPParametersExtended() { CSCDBL1TPParametersExtended::~CSCDBL1TPParametersExtended() {} int CSCDBL1TPParametersExtended::getValueInt(const std::string& s) const { - const int index = find(paramNamesInt_.begin(), paramNamesInt_.end(), s) - paramNamesInt_.begin(); + const int index = std::find(paramNamesInt_.begin(), paramNamesInt_.end(), s) - paramNamesInt_.begin(); return paramsInt_[index]; } bool CSCDBL1TPParametersExtended::getValueBool(const std::string& s) const { - const int index = find(paramNamesBool_.begin(), paramNamesBool_.end(), s) - paramNamesBool_.begin(); + const int index = std::find(paramNamesBool_.begin(), paramNamesBool_.end(), s) - paramNamesBool_.begin(); return paramsBool_[index]; } void CSCDBL1TPParametersExtended::setValue(const std::string& s, int v) { - const int index = find(paramNamesInt_.begin(), paramNamesInt_.end(), s) - paramNamesInt_.begin(); + const int index = std::find(paramNamesInt_.begin(), paramNamesInt_.end(), s) - paramNamesInt_.begin(); paramsInt_[index] = v; } void CSCDBL1TPParametersExtended::setValue(const std::string& s, bool v) { - const int index = find(paramNamesBool_.begin(), paramNamesBool_.end(), s) - paramNamesBool_.begin(); + const int index = std::find(paramNamesBool_.begin(), paramNamesBool_.end(), s) - paramNamesBool_.begin(); paramsBool_[index] = v; }