We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5471469 commit 4a6aeb5Copy full SHA for 4a6aeb5
1 file changed
sbndcode/OpDetSim/DigiPMTSBNDAlg.cc
@@ -620,7 +620,7 @@ namespace opdet {
620
int waveBins = wave.size();
621
int currentSize = 0;
622
623
- // Llenar el vector de ruido hasta igualar la longitud del waveform
+ // Fill noise vector until it matches the waveform length
624
while (currentSize < waveBins) {
625
int noiseWformIdx = static_cast<int>(fEngine->flat() * keylist.size());
626
TH1 *noiseHist = (TH1*)keylist[noiseWformIdx]->ReadObj();
@@ -633,7 +633,7 @@ namespace opdet {
633
delete noiseHist;
634
}
635
636
- // Agregar ruido al waveform
+ // Add noise to the waveform
637
for (size_t i = 0; i < wave.size(); i++) {
638
wave[i] += noise_wform[i];
639
0 commit comments