diff --git a/inc/TRestDetectorSignalToRawSignalProcess.h b/inc/TRestDetectorSignalToRawSignalProcess.h index 43193e3..85b62b8 100644 --- a/inc/TRestDetectorSignalToRawSignalProcess.h +++ b/inc/TRestDetectorSignalToRawSignalProcess.h @@ -83,7 +83,7 @@ class TRestDetectorSignalToRawSignalProcess : public TRestEventProcess { /// avoid artifacts in the signal (e.g. signals not getting cut when they should) Double_t fShapingTime = 0.0; // us - //Noise level + // Noise level Double_t fNoiseLevel = 0.0; public: diff --git a/src/TRestDetectorSignalToRawSignalProcess.cxx b/src/TRestDetectorSignalToRawSignalProcess.cxx index 6ec8556..6046c6b 100644 --- a/src/TRestDetectorSignalToRawSignalProcess.cxx +++ b/src/TRestDetectorSignalToRawSignalProcess.cxx @@ -548,8 +548,7 @@ void TRestDetectorSignalToRawSignalProcess::InitFromConfigFile() { Get2DVectorParameterWithUnits("calibrationEnergy" + typeCamelCase, parameters.calibrationEnergy); parameters.calibrationRange = Get2DVectorParameterWithUnits("calibrationRange" + typeCamelCase, parameters.calibrationRange); - parameters.noiseLevel = - GetDblParameterWithUnits("noiseLevel" + typeCamelCase, parameters.noiseLevel); + parameters.noiseLevel = GetDblParameterWithUnits("noiseLevel" + typeCamelCase, parameters.noiseLevel); const bool isLinearCalibration = (parameters.calibrationEnergy.Mod() != 0 && parameters.calibrationRange.Mod() != 0);