***Break**** Segmentation violation

You could try debugging your macro as suggested here Coding in ROOT with the horsepower of an F1 - ROOT