Skip to content
Snippets Groups Projects
Commit 50c576d0 authored by Walter Lampl's avatar Walter Lampl Committed by Johannes Elmsheuser
Browse files

LArStripsCrossTalkCorrector: Profit from C++20 std::to_array

LArStripsCrossTalkCorrector: Profit from C++20 std::to_array
parent a2c76ada
No related branches found
No related tags found
No related merge requests found
......@@ -83,8 +83,8 @@ class ATLAS_NOT_THREAD_SAFE LArStripsCrossTalkCorrector : public AthAlgorithm
const LArEM_ID* m_emId{nullptr};
unsigned int m_event_counter=0;
//Ranges for eta and phi indices for barrel(0) and endcap(1)
const std::array<unsigned,2> m_MAXeta{448,208};
const std::array<unsigned,2> m_MINeta{1,0};
static constexpr auto m_MAXeta=std::to_array<unsigned>({448,208});
static constexpr auto m_MINeta=std::to_array<unsigned>({1,0});
const unsigned int m_MAXphi=64;
int m_nStrips=-1;
//Algorithm-Properties:
......
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