How to plot mca data(channel vs counts)

ROOT Version: 6.24/06
Platform: ubuntu 20.04
Compiler: gcc

Hi @pijushjana ,
and welcome to the ROOT forum.
I’m sorry to see this question fell through the cracks, however there is very little to go on for us to be able to help.

How does the data look like? Do you want to put it in a histogram? Have you looked at the manual and the tutorials, and did they help?