The "daily" shootouts are almost entirely in the favelas (slums), which are in many locations throughout the city. No guarantees, but if you are sticking to the popular tourist areas, such as Copacabana, Ipanema and Urca (Pao de Açucar), your biggest crime problem is likely to be a pickpocket. When I'm there I don't carry more money than I can afford to lose, and am careful about carrying (or at least showing) my digital camera (similar prcautions are wise in many places). The police try to keep the tourists safe. Don't be paranoid, just cautious. Enjoy your trip.