Skip to content

Commit

Permalink
Solve type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JPorron committed Nov 8, 2024
1 parent 369e2b1 commit 76e4d8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/TRestTrack2DAnalysisProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ TRestEvent* TRestTrack2DAnalysisProcess::ProcessEvent(TRestEvent* inputEvent) {
SetObservableValue("MaxTrack_XZ_MeanZ", XZ_MeanZ[energiesX0FirstKey]);
SetObservableValue("MaxTrack_XZ_SkewZ", XZ_SkewZ[energiesX0FirstKey]);
} else {
SetObservableValue("MaxTrack_XZ_NHitsX", 0.);
SetObservableValue("MaxTrack_XZ_NHitsX", 0);
SetObservableValue("MaxTrack_XZ_EnergyX", 0.);
SetObservableValue("MaxTrack_XZ_SigmaX", 0.);
SetObservableValue("MaxTrack_XZ_SigmaZ", 0.);
Expand Down Expand Up @@ -471,7 +471,7 @@ TRestEvent* TRestTrack2DAnalysisProcess::ProcessEvent(TRestEvent* inputEvent) {
SetObservableValue("MaxTrack_YZ_MeanZ", YZ_MeanZ[energiesY0FirstKey]);
SetObservableValue("MaxTrack_YZ_SkewZ", YZ_SkewZ[energiesY0FirstKey]);
} else {
SetObservableValue("MaxTrack_YZ_NHitsY", 0.);
SetObservableValue("MaxTrack_YZ_NHitsY", 0);
SetObservableValue("MaxTrack_YZ_EnergyY", 0.);
SetObservableValue("MaxTrack_YZ_SigmaY", 0.);
SetObservableValue("MaxTrack_YZ_SigmaZ", 0.);
Expand Down Expand Up @@ -527,7 +527,7 @@ TRestEvent* TRestTrack2DAnalysisProcess::ProcessEvent(TRestEvent* inputEvent) {
SetObservableValue("SecondMaxTrack_XZ_MeanZ", XZ_MeanZ[energiesX1FirstKey]);
SetObservableValue("SecondMaxTrack_XZ_SkewZ", XZ_SkewZ[energiesX1FirstKey]);
} else {
SetObservableValue("SecondMaxTrack_XZ_NHitsX", 0.);
SetObservableValue("SecondMaxTrack_XZ_NHitsX", 0);
SetObservableValue("SecondMaxTrack_XZ_EnergyX", 0.);
SetObservableValue("SecondMaxTrack_XZ_SigmaX", 0.);
SetObservableValue("SecondMaxTrack_XZ_SigmaZ", 0.);
Expand Down Expand Up @@ -557,7 +557,7 @@ TRestEvent* TRestTrack2DAnalysisProcess::ProcessEvent(TRestEvent* inputEvent) {
SetObservableValue("SecondMaxTrack_YZ_MeanZ", YZ_MeanZ[energiesY1FirstKey]);
SetObservableValue("SecondMaxTrack_YZ_SkewZ", YZ_SkewZ[energiesY1FirstKey]);
} else {
SetObservableValue("SecondMaxTrack_YZ_NHitsY", 0.);
SetObservableValue("SecondMaxTrack_YZ_NHitsY", 0);
SetObservableValue("SecondMaxTrack_YZ_EnergyY", 0.);
SetObservableValue("SecondMaxTrack_YZ_SigmaY", 0.);
SetObservableValue("SecondMaxTrack_YZ_SigmaZ", 0.);
Expand Down

0 comments on commit 76e4d8b

Please sign in to comment.