Use pointer to event from evdata->GetRawDataBuffer() instead of making a local copy of the event before scanning it for scaler data