Skip to content

Commit 4a6aeb5

Browse files
Translate comments on the code
1 parent 5471469 commit 4a6aeb5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sbndcode/OpDetSim/DigiPMTSBNDAlg.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ namespace opdet {
620620
int waveBins = wave.size();
621621
int currentSize = 0;
622622

623-
// Llenar el vector de ruido hasta igualar la longitud del waveform
623+
// Fill noise vector until it matches the waveform length
624624
while (currentSize < waveBins) {
625625
int noiseWformIdx = static_cast<int>(fEngine->flat() * keylist.size());
626626
TH1 *noiseHist = (TH1*)keylist[noiseWformIdx]->ReadObj();
@@ -633,7 +633,7 @@ namespace opdet {
633633
delete noiseHist;
634634
}
635635

636-
// Agregar ruido al waveform
636+
// Add noise to the waveform
637637
for (size_t i = 0; i < wave.size(); i++) {
638638
wave[i] += noise_wform[i];
639639
}

0 commit comments

Comments
 (0)