CacheBuffer.cxx File Reference

#include "CacheBuffer.h"

Go to the source code of this file.

Namespaces

namespace  MuELoss
 

Bethe-Bloch model for Muon Ionization as described in: W.Lohmann, R.Kopp and R.Voss, Energy Loss of Muons in the Energy Range 1-10000 GeV, CERN 85-03.


Functions

ostream & operator<< (ostream &stream, const CacheBuffer &buffer)

Function Documentation

ostream& operator<< ( ostream &  stream,
const CacheBuffer buffer 
)

Definition at line 20 of file CacheBuffer.cxx.

00021 {
00022   map<double, double>::const_iterator cache_iter;
00023   for(cache_iter = buffer.fCache.begin(); cache_iter != buffer.fCache.end(); ++cache_iter) 
00024        stream << "    E = " << cache_iter->first << " MeV "
00025               << "--> dE/dx = " << cache_iter->second << " MeV cm^2 / gr" << endl;
00026 
00027   return stream;  
00028 }


Generated on 3 Dec 2018 for loon by  doxygen 1.6.1