Skip to content

Commit fbd726c

Browse files
authored
fix non-constexpr key in configurable class definition
1 parent ae89dd4 commit fbd726c

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

Detectors/Upgrades/ALICE3/IOTOF/simulation/include/IOTOFSimulation/DPLDigitizerParam.h

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ namespace iotof
2323
{
2424
struct DPLDigitizerParam : public o2::conf::ConfigurableParamHelper<DPLDigitizerParam> {
2525

26-
static constexpr std::string_view getParamName()
27-
{
28-
return ParamName[0];
29-
}
30-
3126
bool continuous = true; ///< flag for continuous simulation
3227
float noisePerPixel = DEFNoisePerPixel(); ///< ALPIDE Noise per channel
3328

@@ -40,19 +35,16 @@ struct DPLDigitizerParam : public o2::conf::ConfigurableParamHelper<DPLDigitizer
4035
std::string noiseFilePath{}; ///< optional noise masks file path. FIXME to be removed once switch to CCDBFetcher
4136

4237
// boilerplate stuff + make principal key
43-
O2ParamDef(DPLDigitizerParam, getParamName().data());
38+
O2ParamDef(DPLDigitizerParam, "TF3DigitizerParam");
4439

4540
private:
4641
static constexpr float DEFNoisePerPixel()
4742
{
4843
return 1e-8; // ITS/MFT values here!!
4944
}
5045

51-
static constexpr std::string_view ParamName[1] = {"TF3DigitizerParam"};
5246
};
5347

54-
DPLDigitizerParam DPLDigitizerParam::sInstance;
55-
5648
} // namespace iotof
5749
} // namespace o2
5850

0 commit comments

Comments
 (0)