add missing namespaces or includes

This pull request is purely technical, and signatures should be bypassed.
When compiling CMSSW against ROOT 6, these packages or files did not compile because of either missing "std::" qualifiers or a missing iostream header.  This pull request adds them.

The file in FastSimulation looks like it was totally modified, but that is just because it was formerly in DOS format.  The only change was changing ifstream to std::ifstream in one place.

It would be very helpful to the ROOT6 effort if this request was merged in a timely manner.