Skip to content

bugfix: protection for non-existing data source in CbmMCDataArray

Sergey Gorbunov requested to merge se.gorbunov/cbmroot:CbmMCDataArray into master

Protection for non-existing data source in CbmMCDataArray.

The following code crashes when the "MvdPoint" branch is not present in the data:

CbmMCDataArray *points = CbmMCDataManager::InitBranch("MvdPoint"); // OK, points !=nullptr

points->Size(file, event); // crash

Edited by Sergey Gorbunov

Merge request reports