memory access error in larana/CosmicRemoval/BeamFlashTrackMatchTaggerAlg.cxx
The problem appears as a result of investigating memory problem while running uboone reco_stage_2.
In line 465 in larana/CosmicRemoval/BeamFlashTrackMatchTaggerAlg.cxx, there was an error of "couldn't access memory".
The code is: PEbyOpDet[o] += flashPointer->PE;
When the code fails, the size of PEbyOpDet is 32, and o=32, i.e. it tries to increment a value at index 32, which obviously is incorrect.
Why the value of o is greater than the last index of PEbyOpDet? It needs to be investigated.