Modify the mass of particles and use the new mass in the whole simulation

We plan to modify the mass of particles like “eta^0” through the src functions to do the calorimeter simulation and use the new mass values globally in all the simulation of calorimeter. But seems the mass values is a basic property associated with the the particles, so how to do that?