Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 30, 2024
1 parent 0201b35 commit 5c06dec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inc/TRestDetectorSignalToRawSignalProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions src/TRestDetectorSignalToRawSignalProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5c06dec

Please sign in to comment.