If you've got a more specific question, feel free to send more email. Cosmic rays are particles - the nuclei of elements in the periodic table. They have nothing to do with the cosmic microwave background. Please visit the COBE home page for more on the cosmic background. I worry from your question that you don't really understand what cosmic rays are.
Cosmic rays are sub-atomic particles that are moving at a good fraction of the speed of light.
The velocity of cosmic rays can go from a small fraction of the speed of light up to about .999999999999 times the speed of light. They also cannot escape from the event horizon of black holes, but it looks as if black holes can generate relativistic jets of material out along their poles. This is a pretty extensive topic. There are basically two ways to weigh subatomic particles that are moving at a substantial fraction of the speed of light. It has a pair of superconducting magnets that generate a magnetic field that is more than 1 Tesla in strength.