Hello,
I have a MC generated root file which contains a TTree object containing collision events. One of the variables provided for the analysis of events is the (pdgid) of particles. Now I am supposed to get the value of charge of a particle using its (pdgid).
What root library should I include in my analysis program so as to get the charge of a particle as a function of particle’s PDG ID?
