Skip to content

Commit bb079c8

Browse files
Refactor DPLDigitizerParam structure
Removed template parameter from DPLDigitizerParam structure and adjusted inheritance.
1 parent 3d912cb commit bb079c8

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

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

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ namespace o2
2121
{
2222
namespace iotof
2323
{
24-
template <int N>
25-
struct DPLDigitizerParam : public o2::conf::ConfigurableParamHelper<DPLDigitizerParam<N>> {
26-
static_assert(N == o2::detectors::DetID::TF3, "only DetID::TF3 is allowed");
24+
struct DPLDigitizerParam : public o2::conf::ConfigurableParamHelper<DPLDigitizerParam> {
2725

2826
static constexpr std::string_view getParamName()
2927
{
@@ -32,20 +30,13 @@ struct DPLDigitizerParam : public o2::conf::ConfigurableParamHelper<DPLDigitizer
3230

3331
bool continuous = true; ///< flag for continuous simulation
3432
float noisePerPixel = DEFNoisePerPixel(); ///< ALPIDE Noise per channel
35-
float strobeFlatTop = 20.; ///< strobe shape flat top
36-
float strobeMaxRiseTime = 0.; ///< strobe max rise time
37-
float strobeQRiseTime0 = 0.; ///< q @ which strobe rise time is 0
3833

3934
double timeOffset = 0.; ///< time offset (in seconds!) to calculate ROFrame from hit time
4035
int chargeThreshold = 75; ///< charge threshold in Nelectrons
4136
int minChargeToAccount = 7; ///< minimum charge contribution to account
4237
int nSimSteps = 475; ///< number of steps in response simulation
4338
float energyToNElectrons = 1. / 3.6e-9; // conversion of eloss to Nelectrons
4439

45-
float Vbb = 0.0; ///< back bias absolute value for MFT (in Volt)
46-
float IBVbb = 0.0; ///< back bias absolute value for ITS Inner Barrel (in Volt)
47-
float OBVbb = 0.0; ///< back bias absolute value for ITS Outter Barrel (in Volt)
48-
4940
std::string noiseFilePath{}; ///< optional noise masks file path. FIXME to be removed once switch to CCDBFetcher
5041

5142
// boilerplate stuff + make principal key

0 commit comments

Comments
 (0)