Skip to content
Snippets Groups Projects
Commit 5d2b19bb authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

PixelConditionsData: Update for thread-safety checker const changes.

    
The thread-safety checker is getting more strict on const checks.
Fix resulting warnings.
parent 2c3b2d28
No related branches found
No related tags found
5 merge requests!69091Fix correlated smearing bug in JER in JetUncertainties in 22.0,!58791DataQualityConfigurations: Modify L1Calo config for web display,!51674Fixing hotSpotInHIST for Run3 HIST,!50012RecExConfig: Adjust log message levels from GetRunNumber and GetLBNumber,!48479PixelConditionsData: Update for thread-safety checker const changes.
/*
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
///////////////////////////////////////////////////////////////////
......@@ -56,8 +56,8 @@ class PixelClusterErrorData {
int getBarrelBin(double eta, int etaClusterSize, int phiClusterSize) const;
// assuming phi and eta parametrizations have the same number of bins...
int getNumberOfBarrelBins(){ return m_barrelphierror.size(); }
int getNumberOfEndcapBins(){ return m_endcapphierror.size(); }
int getNumberOfBarrelBins() const { return m_barrelphierror.size(); }
int getNumberOfEndcapBins() const { return m_endcapphierror.size(); }
void Print(const std::string& file) const;
void Load(const std::string& file);
......
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