Skip to content

Commit

Permalink
warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed May 7, 2024
1 parent 19cb9dd commit ab93f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TRestDetectorHitsReadoutAnalysisProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TRestEvent* TRestDetectorHitsReadoutAnalysisProcess::ProcessEvent(TRestEvent* in
vector<double> hitEnergy;
double energyInFiducial = 0;

for (int hitIndex = 0; hitIndex < fInputHitsEvent->GetNumberOfHits(); hitIndex++) {
for (int hitIndex = 0; hitIndex < static_cast<int>(fInputHitsEvent->GetNumberOfHits()); hitIndex++) {
const auto position = fInputHitsEvent->GetPosition(hitIndex);
const auto energy = fInputHitsEvent->GetEnergy(hitIndex);
const auto time = fInputHitsEvent->GetTime(hitIndex);
Expand Down

0 comments on commit ab93f20

Please sign in to comment.