Skip to content
Snippets Groups Projects
Commit 938fc19e authored by Scott Snyder's avatar Scott Snyder Committed by Frank Winklmeier
Browse files

TrigConfStorage: Fix thread-safety checker warnings.

TrigConfStorage: Fix thread-safety checker warnings.

Fix some new thread-safety checker warnings.
parent 703969ff
No related branches found
No related tags found
16 merge requests!59674InDetPerformanceMonitoring with LumiBlock selection,!59383cppcheck in trigger code: Prefer prefix ++/-- operators for non-primitive types.,!58990Draft:Fixing bug in FTF config when running with Reco_tf,!58835DataQualityConfigurations: Modify L1Calo config for web display,!58791DataQualityConfigurations: Modify L1Calo config for web display,!58373Modification of V2.3 processing to work well with all clients,!58289New NVSI calibration,!58286New NVSI calibration,!58106Update NVSI example algorithm,!57937Draft: New nighlty test for trigger with a Run 4 single muon RDO,!57841Edits to ZDC signal processing in preparation for analysis of data from LHCf run,!57590Fixing LAr DT dumper,!57584Draft: LAr DB fixes,!57316ATR-26311 and ATR-25754 moving one dimuon and few egamma chains from dev to phys or MC,!57132TrigConfStorage: Fix thread-safety checker warnings.,!57090ATLASRECTS-7305: fixes for large cluster building
...@@ -243,7 +243,7 @@ LogicExpression::totalNumberOfElements() const { ...@@ -243,7 +243,7 @@ LogicExpression::totalNumberOfElements() const {
void void
LogicExpression::printError(const std::string& message, int i) const { LogicExpression::printError(const std::string& message, int i) {
std::string m="Error while parsing : "; std::string m="Error while parsing : ";
std::string s=""; std::string s="";
int n = m.size(); int n = m.size();
...@@ -256,7 +256,7 @@ LogicExpression::printError(const std::string& message, int i) const { ...@@ -256,7 +256,7 @@ LogicExpression::printError(const std::string& message, int i) const {
void void
LogicExpression::printCurrentState() const { LogicExpression::printCurrentState() {
char aaa[100]; char aaa[100];
sprintf(aaa, "Current state: State=%c Nsublogics=%d Element=%s", sprintf(aaa, "Current state: State=%c Nsublogics=%d Element=%s",
m_State, (int)subLogics().size(), m_Element.c_str()); m_State, (int)subLogics().size(), m_Element.c_str());
...@@ -265,7 +265,7 @@ LogicExpression::printCurrentState() const { ...@@ -265,7 +265,7 @@ LogicExpression::printCurrentState() const {
void void
LogicExpression::print(const std::string& indent) const { LogicExpression::print(const std::string& indent) {
std::string s=indent; std::string s=indent;
if (m_State == kELEMENT) { if (m_State == kELEMENT) {
m_ostream << indent << m_Element << std::endl; m_ostream << indent << m_Element << std::endl;
......
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
*/ */
#ifndef TrigConf_LogicExpression #ifndef TrigConf_LogicExpression
...@@ -70,9 +70,9 @@ namespace TrigConf { ...@@ -70,9 +70,9 @@ namespace TrigConf {
void markPlaceHolder(); void markPlaceHolder();
void normalize(); void normalize();
void printError(const std::string& message, int i) const; void printError(const std::string& message, int i);
void printCurrentState() const; void printCurrentState();
void print(const std::string& indent="") const; void print(const std::string& indent="");
void clear(); void clear();
protected: protected:
......
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