added plot and analyze macro from CERN